Searched refs:rtnl_nexthop (Results 1 – 6 of 6) sorted by relevance
/external/libnl/include/netlink/route/ |
D | nexthop.h | 22 struct rtnl_nexthop; 31 extern struct rtnl_nexthop * rtnl_route_nh_alloc(void); 32 extern struct rtnl_nexthop * rtnl_route_nh_clone(struct rtnl_nexthop *); 33 extern void rtnl_route_nh_free(struct rtnl_nexthop *); 35 extern int rtnl_route_nh_compare(struct rtnl_nexthop *, 36 struct rtnl_nexthop *, 39 extern void rtnl_route_nh_dump(struct rtnl_nexthop *, 42 extern void rtnl_route_nh_set_weight(struct rtnl_nexthop *, uint8_t); 43 extern uint8_t rtnl_route_nh_get_weight(struct rtnl_nexthop *); 44 extern void rtnl_route_nh_set_ifindex(struct rtnl_nexthop *, int); [all …]
|
D | route.h | 95 struct rtnl_nexthop *); 97 struct rtnl_nexthop *); 102 void (*cb)(struct rtnl_nexthop *, void *), 105 extern struct rtnl_nexthop * rtnl_route_nexthop_n(struct rtnl_route *r, int n);
|
/external/libnl/lib/route/ |
D | nexthop.c | 37 struct rtnl_nexthop *rtnl_route_nh_alloc(void) in rtnl_route_nh_alloc() 39 struct rtnl_nexthop *nh; in rtnl_route_nh_alloc() 50 struct rtnl_nexthop *rtnl_route_nh_clone(struct rtnl_nexthop *src) in rtnl_route_nh_clone() 52 struct rtnl_nexthop *nh; in rtnl_route_nh_clone() 75 void rtnl_route_nh_free(struct rtnl_nexthop *nh) in rtnl_route_nh_free() 83 int rtnl_route_nh_compare(struct rtnl_nexthop *a, struct rtnl_nexthop *b, in rtnl_route_nh_compare() 107 static void nh_dump_line(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_line() 133 static void nh_dump_details(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_details() 169 static void nh_dump_env(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_env() 205 void rtnl_route_nh_dump(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in rtnl_route_nh_dump() [all …]
|
D | route_obj.c | 80 struct rtnl_nexthop *nh, *tmp; in route_free_data() 99 struct rtnl_nexthop *nh, *new; in route_clone() 160 struct rtnl_nexthop *nh; in route_dump_line() 247 struct rtnl_nexthop *nh; in route_dump_details() 344 struct rtnl_nexthop *nh; in route_dump_env() 362 struct rtnl_nexthop *nh_a, *nh_b; in route_compare() 746 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop() 753 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_remove_nexthop() 770 void (*cb)(struct rtnl_nexthop *, void *), in rtnl_route_foreach_nexthop() argument 773 struct rtnl_nexthop *nh; in rtnl_route_foreach_nexthop() [all …]
|
/external/libnl/src/lib/ |
D | route.c | 151 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop()
|
/external/libnl/include/ |
D | netlink-types.h | 241 struct rtnl_nexthop struct
|