Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
inet_frag.h File Reference

Go to the source code of this file.

Data Structures

struct  netns_frags
 
struct  inet_frag_queue
 
struct  inet_frags
 

Macros

#define INET_FRAG_COMPLETE   4
 
#define INET_FRAG_FIRST_IN   2
 
#define INET_FRAG_LAST_IN   1
 
#define INETFRAGS_HASHSZ   64
 

Functions

void inet_frags_init (struct inet_frags *)
 
void inet_frags_fini (struct inet_frags *)
 
void inet_frags_init_net (struct netns_frags *nf)
 
void inet_frags_exit_net (struct netns_frags *nf, struct inet_frags *f)
 
void inet_frag_kill (struct inet_frag_queue *q, struct inet_frags *f)
 
void inet_frag_destroy (struct inet_frag_queue *q, struct inet_frags *f, int *work)
 
int inet_frag_evictor (struct netns_frags *nf, struct inet_frags *f, bool force)
 
struct inet_frag_queueinet_frag_find (struct netns_frags *nf, struct inet_frags *f, void *key, unsigned int hash) __releases(&f-> lock)
 

Macro Definition Documentation

#define INET_FRAG_COMPLETE   4

Definition at line 29 of file inet_frag.h.

#define INET_FRAG_FIRST_IN   2

Definition at line 30 of file inet_frag.h.

#define INET_FRAG_LAST_IN   1

Definition at line 31 of file inet_frag.h.

#define INETFRAGS_HASHSZ   64

Definition at line 36 of file inet_frag.h.

Function Documentation

void inet_frag_destroy ( struct inet_frag_queue q,
struct inet_frags f,
int work 
)

Definition at line 131 of file inet_fragment.c.

int inet_frag_evictor ( struct netns_frags nf,
struct inet_frags f,
bool  force 
)

Definition at line 161 of file inet_fragment.c.

struct inet_frag_queue* inet_frag_find ( struct netns_frags nf,
struct inet_frags f,
void key,
unsigned int  hash 
) -> lock)
read

Definition at line 273 of file inet_fragment.c.

void inet_frag_kill ( struct inet_frag_queue q,
struct inet_frags f 
)

Definition at line 106 of file inet_fragment.c.

void inet_frags_exit_net ( struct netns_frags nf,
struct inet_frags f 
)

Definition at line 87 of file inet_fragment.c.

void inet_frags_fini ( struct inet_frags )

Definition at line 81 of file inet_fragment.c.

void inet_frags_init ( struct inet_frags )

Definition at line 54 of file inet_fragment.c.

void inet_frags_init_net ( struct netns_frags nf)

Definition at line 73 of file inet_fragment.c.