mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
This commit is contained in:
parent
d09f611410
commit
527f2f9057
20177 changed files with 0 additions and 1312061 deletions
24
drivers/network/tcpip/include/tilists.h
Normal file
24
drivers/network/tcpip/include/tilists.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#define TIPASTE(x,y) x ## y
|
||||
|
||||
#define IF_LIST_ITER(n) \
|
||||
PLIST_ENTRY TIPASTE(n,Entry); \
|
||||
PIP_INTERFACE n;
|
||||
|
||||
#define ForEachInterface(n) \
|
||||
TIPASTE(n,Entry) = InterfaceListHead.Flink; \
|
||||
while (TIPASTE(n,Entry) != &InterfaceListHead) { \
|
||||
TI_DbgPrint \
|
||||
(MAX_TRACE,( # n ": %x\n", \
|
||||
TIPASTE(n,Entry))); \
|
||||
ASSERT(TIPASTE(n,Entry)); \
|
||||
n = CONTAINING_RECORD(TIPASTE(n,Entry), IP_INTERFACE, \
|
||||
ListEntry); \
|
||||
ASSERT(n);
|
||||
|
||||
#define EndFor(n) \
|
||||
TI_DbgPrint(MAX_TRACE,("Next " # n " %x\n", \
|
||||
TIPASTE(n,Entry->Flink))); \
|
||||
TIPASTE(n,Entry) = TIPASTE(n,Entry)->Flink; \
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue