netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
slist.h File Reference
#include "linuxlist.h"
Include dependency graph for slist.h:

Data Structures

struct  slist_head
 

Macros

#define INIT_SLIST_HEAD(ptr)   ((ptr).next = NULL)
 
#define slist_entry(ptr, type, member)   container_of(ptr,type,member)
 
#define slist_for_each(pos, head)
 
#define slist_for_each_safe(pos, prev, next, head)
 

Macro Definition Documentation

#define INIT_SLIST_HEAD (   ptr)    ((ptr).next = NULL)
#define slist_entry (   ptr,
  type,
  member 
)    container_of(ptr,type,member)
#define slist_for_each (   pos,
  head 
)
Value:
for (pos = (head)->next; pos; \
pos = pos->next)
u8 pos
Definition: ip_set_hash_gen.h:187
#define slist_for_each_safe (   pos,
  prev,
  next,
  head 
)
Value:
for (pos = (head)->next, prev = (head); \
pos && ({ next = pos->next; 1; }); \
({ prev = (prev->next != next) ? prev->next : prev; }), pos = next)
u8 pos
Definition: ip_set_hash_gen.h:187