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

Nexthop
[Route Object]


Nexthop Flags Translations

static struct trans_tbl nh_flags []
char * rtnl_route_nh_flags2str (int flags, char *buf, size_t len)
int rtnl_route_nh_str2flags (const char *name)

Allocation/Freeing

struct rtnl_nexthop * rtnl_route_nh_alloc (void)
struct rtnl_nexthop * rtnl_route_nh_clone (struct rtnl_nexthop *src)
void rtnl_route_nh_free (struct rtnl_nexthop *nh)

Attributes

unsigned int rtnl_route_nh_get_flags (struct rtnl_nexthop *nh)
struct nl_addr * rtnl_route_nh_get_gateway (struct rtnl_nexthop *nh)
int rtnl_route_nh_get_ifindex (struct rtnl_nexthop *nh)
uint32_t rtnl_route_nh_get_realms (struct rtnl_nexthop *nh)
uint8_t rtnl_route_nh_get_weight (struct rtnl_nexthop *nh)
void rtnl_route_nh_set_flags (struct rtnl_nexthop *nh, unsigned int flags)
void rtnl_route_nh_set_gateway (struct rtnl_nexthop *nh, struct nl_addr *addr)
void rtnl_route_nh_set_ifindex (struct rtnl_nexthop *nh, int ifindex)
void rtnl_route_nh_set_realms (struct rtnl_nexthop *nh, uint32_t realms)
void rtnl_route_nh_set_weight (struct rtnl_nexthop *nh, uint8_t weight)
void rtnl_route_nh_unset_flags (struct rtnl_nexthop *nh, unsigned int flags)

Functions

static void nh_dump_details (struct rtnl_nexthop *nh, struct nl_dump_params *dp)
static void nh_dump_env (struct rtnl_nexthop *nh, struct nl_dump_params *dp)
static void nh_dump_line (struct rtnl_nexthop *nh, struct nl_dump_params *dp)
int rtnl_route_nh_compare (struct rtnl_nexthop *a, struct rtnl_nexthop *b, uint32_t attrs, int loose)
void rtnl_route_nh_dump (struct rtnl_nexthop *nh, struct nl_dump_params *dp)


Generated by  Doxygen 1.6.0   Back to index