Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

Neighbour Tables
[Routing Family]


Classes

struct  rtnl_neightbl

Allocation/Freeing

struct rtnl_neightblrtnl_neightbl_alloc (void)
void rtnl_neightbl_put (struct rtnl_neightbl *neightbl)

Neighbour Table Cache Management

int rtnl_neightbl_alloc_cache (struct nl_sock *sk, struct nl_cache **result)
struct rtnl_neightblrtnl_neightbl_get (struct nl_cache *cache, const char *name, int ifindex)

Neighbour Table Modifications

int rtnl_neightbl_build_change_request (struct rtnl_neightbl *old, struct rtnl_neightbl *tmpl, struct nl_msg **result)
int rtnl_neightbl_change (struct nl_sock *sk, struct rtnl_neightbl *old, struct rtnl_neightbl *tmpl)

Attribute Modification

void rtnl_neightbl_set_anycast_delay (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_app_probes (struct rtnl_neightbl *ntbl, int probes)
void rtnl_neightbl_set_base_reachable_time (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_delay_probe_time (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_dev (struct rtnl_neightbl *ntbl, int ifindex)
void rtnl_neightbl_set_family (struct rtnl_neightbl *ntbl, int family)
void rtnl_neightbl_set_gc_interval (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_gc_stale_time (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_gc_tresh1 (struct rtnl_neightbl *ntbl, int thresh)
void rtnl_neightbl_set_gc_tresh2 (struct rtnl_neightbl *ntbl, int thresh)
void rtnl_neightbl_set_gc_tresh3 (struct rtnl_neightbl *ntbl, int thresh)
void rtnl_neightbl_set_locktime (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_mcast_probes (struct rtnl_neightbl *ntbl, int probes)
void rtnl_neightbl_set_name (struct rtnl_neightbl *ntbl, const char *name)
void rtnl_neightbl_set_proxy_delay (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_proxy_queue_len (struct rtnl_neightbl *ntbl, int len)
void rtnl_neightbl_set_queue_len (struct rtnl_neightbl *ntbl, int len)
void rtnl_neightbl_set_retrans_time (struct rtnl_neightbl *ntbl, uint64_t ms)
void rtnl_neightbl_set_ucast_probes (struct rtnl_neightbl *ntbl, int probes)

Functions

static int neightbl_compare (struct nl_object *_a, struct nl_object *_b, uint32_t attrs, int flags)
static void neightbl_dump_details (struct nl_object *arg, struct nl_dump_params *p)
static void neightbl_dump_line (struct nl_object *arg, struct nl_dump_params *p)
static void neightbl_dump_stats (struct nl_object *arg, struct nl_dump_params *p)
static void __exit neightbl_exit (void)
static void __init neightbl_init (void)
static int neightbl_msg_parser (struct nl_cache_ops *ops, struct sockaddr_nl *who, struct nlmsghdr *n, struct nl_parser_param *pp)
static int neightbl_request_update (struct nl_cache *c, struct nl_sock *h)

Variables

static struct nl_object_ops neightbl_obj_ops
static struct nla_policy neightbl_policy [NDTA_MAX+1]
static struct nl_cache_ops rtnl_neightbl_ops


Generated by  Doxygen 1.6.0   Back to index