Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
neigh_table Struct Reference

#include <neighbour.h>

Data Fields

struct neigh_tablenext
 
int family
 
int entry_size
 
int key_len
 
__u32(* hash )(const void *pkey, const struct net_device *dev, __u32 *hash_rnd)
 
int(* constructor )(struct neighbour *)
 
int(* pconstructor )(struct pneigh_entry *)
 
void(* pdestructor )(struct pneigh_entry *)
 
void(* proxy_redo )(struct sk_buff *skb)
 
charid
 
struct neigh_parms parms
 
int gc_interval
 
int gc_thresh1
 
int gc_thresh2
 
int gc_thresh3
 
unsigned long last_flush
 
struct delayed_work gc_work
 
struct timer_list proxy_timer
 
struct sk_buff_head proxy_queue
 
atomic_t entries
 
rwlock_t lock
 
unsigned long last_rand
 
struct neigh_statistics __percpustats
 
struct neigh_hash_table __rcunht
 
struct pneigh_entry ** phash_buckets
 

Detailed Description

Definition at line 152 of file neighbour.h.

Field Documentation

int(* constructor)(struct neighbour *)

Definition at line 160 of file neighbour.h.

atomic_t entries

Definition at line 175 of file neighbour.h.

int entry_size

Definition at line 155 of file neighbour.h.

int family

Definition at line 154 of file neighbour.h.

int gc_interval

Definition at line 167 of file neighbour.h.

int gc_thresh1

Definition at line 168 of file neighbour.h.

int gc_thresh2

Definition at line 169 of file neighbour.h.

int gc_thresh3

Definition at line 170 of file neighbour.h.

Definition at line 172 of file neighbour.h.

__u32(* hash)(const void *pkey, const struct net_device *dev, __u32 *hash_rnd)

Definition at line 157 of file neighbour.h.

char* id

Definition at line 164 of file neighbour.h.

int key_len

Definition at line 156 of file neighbour.h.

unsigned long last_flush

Definition at line 171 of file neighbour.h.

unsigned long last_rand

Definition at line 177 of file neighbour.h.

rwlock_t lock

Definition at line 176 of file neighbour.h.

Definition at line 153 of file neighbour.h.

Definition at line 179 of file neighbour.h.

Definition at line 165 of file neighbour.h.

int(* pconstructor)(struct pneigh_entry *)

Definition at line 161 of file neighbour.h.

void(* pdestructor)(struct pneigh_entry *)

Definition at line 162 of file neighbour.h.

struct pneigh_entry** phash_buckets

Definition at line 180 of file neighbour.h.

struct sk_buff_head proxy_queue

Definition at line 174 of file neighbour.h.

void(* proxy_redo)(struct sk_buff *skb)

Definition at line 163 of file neighbour.h.

struct timer_list proxy_timer

Definition at line 173 of file neighbour.h.

Definition at line 178 of file neighbour.h.


The documentation for this struct was generated from the following file: