struct nl_cache* rtnl_neightbl_alloc_cache | ( | struct nl_handle * | handle | ) | [read] |
handle | netlink handle |
Definition at line 407 of file neightbl.c.
References nl_cache_alloc(), nl_cache_free(), and nl_cache_refill().
struct rtnl_neightbl* rtnl_neightbl_get | ( | struct nl_cache * | cache, | |
const char * | name, | |||
int | ifindex | |||
) | [read] |
cache | neighbour table cache | |
name | name of table | |
ifindex | optional interface index |
Definition at line 436 of file neightbl.c.
References nl_object_get().
struct nl_msg* rtnl_neightbl_build_change_request | ( | struct rtnl_neightbl * | old, | |
struct rtnl_neightbl * | tmpl | |||
) | [read] |
old | neighbour table to change | |
tmpl | template with requested changes |
rtnl_neightbl_set_*
functions.
Definition at line 478 of file neightbl.c.
References nla_put_nested(), nla_put_string(), nla_put_u32(), nla_put_u64(), nlmsg_alloc(), nlmsg_alloc_simple(), nlmsg_append(), and nlmsg_free().
Referenced by rtnl_neightbl_change().
int rtnl_neightbl_change | ( | struct nl_handle * | handle, | |
struct rtnl_neightbl * | old, | |||
struct rtnl_neightbl * | tmpl | |||
) |
handle | netlink handle | |
old | neighbour table to be changed | |
tmpl | template with requested changes |
Definition at line 578 of file neightbl.c.
References nl_send_auto_complete(), nl_wait_for_ack(), nlmsg_free(), and rtnl_neightbl_build_change_request().
void rtnl_neightbl_set_queue_len | ( | struct rtnl_neightbl * | ntbl, | |
int | len | |||
) |
ntbl | neighbour table to change | |
len | new queue len |
Definition at line 648 of file neightbl.c.
void rtnl_neightbl_set_proxy_queue_len | ( | struct rtnl_neightbl * | ntbl, | |
int | len | |||
) |
ntbl | neighbour table to change | |
len | new queue len |
Definition at line 660 of file neightbl.c.
void rtnl_neightbl_set_app_probes | ( | struct rtnl_neightbl * | ntbl, | |
int | probes | |||
) |
ntbl | neighbour table to change | |
probes | new probes value |
Definition at line 672 of file neightbl.c.
void rtnl_neightbl_set_ucast_probes | ( | struct rtnl_neightbl * | ntbl, | |
int | probes | |||
) |
ntbl | neighbour table to change | |
probes | new probes value |
Definition at line 684 of file neightbl.c.
void rtnl_neightbl_set_mcast_probes | ( | struct rtnl_neightbl * | ntbl, | |
int | probes | |||
) |
ntbl | neighbour table to change | |
probes | new probes value |
Definition at line 696 of file neightbl.c.
void rtnl_neightbl_set_base_reachable_time | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new base reachable time in milliseconds |
Definition at line 708 of file neightbl.c.
void rtnl_neightbl_set_retrans_time | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new retransmit time |
Definition at line 721 of file neightbl.c.
void rtnl_neightbl_set_gc_stale_time | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new gc stale time in milliseconds |
Definition at line 733 of file neightbl.c.
void rtnl_neightbl_set_delay_probe_time | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new first probe delay time in milliseconds |
Definition at line 745 of file neightbl.c.
void rtnl_neightbl_set_anycast_delay | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new anycast delay in milliseconds |
Definition at line 757 of file neightbl.c.
void rtnl_neightbl_set_proxy_delay | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new proxy delay in milliseconds |
Definition at line 769 of file neightbl.c.
void rtnl_neightbl_set_locktime | ( | struct rtnl_neightbl * | ntbl, | |
uint64_t | ms | |||
) |
ntbl | neighbour table to change | |
ms | new locktime in milliseconds |
Definition at line 781 of file neightbl.c.