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

Data Structures

struct  stack
 
struct  stack_item
 

Functions

struct stack_itemstack_item_alloc (int type, size_t data_len)
 
void stack_item_free (struct stack_item *e)
 
void stack_item_push (struct stack *s, struct stack_item *e)
 
struct stack_itemstack_item_pop (struct stack *s, int type)
 

Function Documentation

struct stack_item* stack_item_alloc ( int  type,
size_t  data_len 
)
void stack_item_free ( struct stack_item e)
struct stack_item* stack_item_pop ( struct stack s,
int  type 
)
void stack_item_push ( struct stack s,
struct stack_item e 
)

References stack_item::head, and stack::list.