Main Page | Class List | File List | Class Members | File Members

fib_table Struct Reference

#include <ip_fib.h>

List of all members.

Public Attributes

unsigned char tb_id
unsigned tb_stamp
int(* tb_lookup )(struct fib_table *tb, const struct rt_key *key, struct fib_result *res)
int(* tb_insert )(struct fib_table *table, struct rtmsg *r, struct kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
int(* tb_delete )(struct fib_table *table, struct rtmsg *r, struct kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
int(* tb_dump )(struct fib_table *table, struct sk_buff *skb, struct netlink_callback *cb)
int(* tb_flush )(struct fib_table *table)
int(* tb_get_info )(struct fib_table *table, char *buf, int first, int count)
void(* tb_select_default )(struct fib_table *table, const struct rt_key *key, struct fib_result *res)
unsigned char tb_data [0]


Detailed Description

Look at Figure 16-7 on page 315 of The Linux Networking Architecture book. It contains a pointer (off tb_data) to an fn_zone structure for each potential prefix length (0..32)

Definition at line 120 of file ip_fib.h.


Member Data Documentation

unsigned char fib_table::tb_data[0]
 

Definition at line 139 of file ip_fib.h.

Referenced by fib_hash_init(), fn_hash_delete(), fn_hash_dump(), fn_hash_flush(), fn_hash_insert(), fn_hash_lookup(), and fn_hash_select_default().

int(* fib_table::tb_delete)(struct fib_table *table, struct rtmsg *r, struct kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
 

Referenced by fib_hash_init().

int(* fib_table::tb_dump)(struct fib_table *table, struct sk_buff *skb, struct netlink_callback *cb)
 

Referenced by fib_hash_init().

int(* fib_table::tb_flush)(struct fib_table *table)
 

Referenced by fib_flush(), and fib_hash_init().

int(* fib_table::tb_get_info)(struct fib_table *table, char *buf, int first, int count)
 

Referenced by fib_hash_init().

unsigned char fib_table::tb_id
 

Definition at line 122 of file ip_fib.h.

Referenced by fib_hash_init(), fn_hash_delete(), fn_hash_dump_bucket(), and fn_hash_insert().

int(* fib_table::tb_insert)(struct fib_table *table, struct rtmsg *r, struct kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req)
 

Referenced by fib_hash_init().

int(* fib_table::tb_lookup)(struct fib_table *tb, const struct rt_key *key, struct fib_result *res)
 

Referenced by fib_hash_init(), fib_lookup(), inet_addr_type(), and ip_dev_find().

void(* fib_table::tb_select_default)(struct fib_table *table, const struct rt_key *key, struct fib_result *res)
 

Referenced by fib_hash_init(), and fib_select_default().

unsigned fib_table::tb_stamp
 

Definition at line 123 of file ip_fib.h.


The documentation for this struct was generated from the following file:
Generated on Wed Dec 1 21:25:42 2004 for Linux 2.4.23 Networking by doxygen 1.3.8