Searched refs:rtnl_nexthop (Results 1 – 10 of 10) sorted by relevance
/external/libnl/include/netlink/route/ |
D | nexthop.h | 16 struct rtnl_nexthop; 25 extern struct rtnl_nexthop * rtnl_route_nh_alloc(void); 26 extern struct rtnl_nexthop * rtnl_route_nh_clone(struct rtnl_nexthop *); 27 extern void rtnl_route_nh_free(struct rtnl_nexthop *); 29 extern int rtnl_route_nh_compare(struct rtnl_nexthop *, 30 struct rtnl_nexthop *, 33 extern void rtnl_route_nh_dump(struct rtnl_nexthop *, 36 extern void rtnl_route_nh_set_weight(struct rtnl_nexthop *, uint8_t); 37 extern uint8_t rtnl_route_nh_get_weight(struct rtnl_nexthop *); 38 extern void rtnl_route_nh_set_ifindex(struct rtnl_nexthop *, int); [all …]
|
D | route.h | 99 struct rtnl_nexthop *); 101 struct rtnl_nexthop *); 106 void (*cb)(struct rtnl_nexthop *, void *), 109 extern struct rtnl_nexthop * rtnl_route_nexthop_n(struct rtnl_route *r, int n);
|
/external/libnl/lib/route/ |
D | nexthop.c | 35 struct rtnl_nexthop *rtnl_route_nh_alloc(void) in rtnl_route_nh_alloc() 37 struct rtnl_nexthop *nh; in rtnl_route_nh_alloc() 48 struct rtnl_nexthop *rtnl_route_nh_clone(struct rtnl_nexthop *src) in rtnl_route_nh_clone() 50 struct rtnl_nexthop *nh; in rtnl_route_nh_clone() 92 void rtnl_route_nh_free(struct rtnl_nexthop *nh) in rtnl_route_nh_free() 108 int rtnl_route_nh_compare(struct rtnl_nexthop *a, struct rtnl_nexthop *b, in rtnl_route_nh_compare() 138 static void nh_dump_line(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_line() 178 static void nh_dump_details(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_details() 228 void rtnl_route_nh_dump(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in rtnl_route_nh_dump() 246 void nh_set_encap(struct rtnl_nexthop *nh, struct rtnl_nh_encap *rtnh_encap) in nh_set_encap() [all …]
|
D | route_obj.c | 80 struct rtnl_nexthop *nh, *tmp; in route_free_data() 99 struct rtnl_nexthop *nh, *new; in route_clone() 165 struct rtnl_nexthop *nh; in route_dump_line() 257 struct rtnl_nexthop *nh; in route_dump_details() 367 struct rtnl_nexthop *nh_a, *nh_b; in route_compare() 472 struct rtnl_nexthop *new_nh; in route_update() 507 struct rtnl_nexthop *cloned_nh; in route_update() 508 struct rtnl_nexthop *old_nh; in route_update() 534 struct rtnl_nexthop *old_nh; in route_update() 868 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop() [all …]
|
D | nh_encap_mpls.c | 52 static int mpls_encap_parse_msg(struct nlattr *nla, struct rtnl_nexthop *nh) in mpls_encap_parse_msg() 101 int rtnl_route_nh_encap_mpls(struct rtnl_nexthop *nh, in rtnl_route_nh_encap_mpls() 132 struct nl_addr *rtnl_route_nh_get_encap_mpls_dst(struct rtnl_nexthop *nh) in rtnl_route_nh_get_encap_mpls_dst() 146 uint8_t rtnl_route_nh_get_encap_mpls_ttl(struct rtnl_nexthop *nh) in rtnl_route_nh_get_encap_mpls_ttl()
|
D | nexthop_encap.c | 73 struct rtnl_nexthop *rtnh) in nh_encap_parse_msg()
|
/external/libnl/include/netlink-private/route/ |
D | nexthop-encap.h | 8 int (*parse_msg)(struct nlattr *nla, struct rtnl_nexthop *rtnh); 21 void nh_set_encap(struct rtnl_nexthop *nh, struct rtnl_nh_encap *rtnh_encap); 24 struct rtnl_nexthop *rtnh);
|
/external/libnl/include/netlink-private/ |
D | nl-auto.h | 67 struct rtnl_nexthop; 68 void rtnl_route_nh_free(struct rtnl_nexthop *); 70 _NL_AUTO_DEFINE_FCN_TYPED0(struct rtnl_nexthop *, _nl_auto_rtnl_nexthop_fcn, rtnl_route_nh_free);
|
D | types.h | 310 struct rtnl_nexthop struct
|
/external/libnl/src/lib/ |
D | route.c | 147 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop()
|