Home
last modified time | relevance | path

Searched refs:rtnl_nexthop (Results 1 – 9 of 9) sorted by relevance

/third_party/libnl/include/netlink/route/
Dnexthop.h22 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 …]
Droute.h102 struct rtnl_nexthop *);
104 struct rtnl_nexthop *);
109 void (*cb)(struct rtnl_nexthop *, void *),
112 extern struct rtnl_nexthop * rtnl_route_nexthop_n(struct rtnl_route *r, int n);
/third_party/libnl/lib/route/
Dnexthop.c42 struct rtnl_nexthop *rtnl_route_nh_alloc(void) in rtnl_route_nh_alloc()
44 struct rtnl_nexthop *nh; in rtnl_route_nh_alloc()
55 struct rtnl_nexthop *rtnl_route_nh_clone(struct rtnl_nexthop *src) in rtnl_route_nh_clone()
57 struct rtnl_nexthop *nh; in rtnl_route_nh_clone()
99 void rtnl_route_nh_free(struct rtnl_nexthop *nh) in rtnl_route_nh_free()
115 int rtnl_route_nh_compare(struct rtnl_nexthop *a, struct rtnl_nexthop *b, in rtnl_route_nh_compare()
145 static void nh_dump_line(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_line()
185 static void nh_dump_details(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_details()
235 void rtnl_route_nh_dump(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in rtnl_route_nh_dump()
253 void nh_set_encap(struct rtnl_nexthop *nh, struct rtnl_nh_encap *rtnh_encap) in nh_set_encap()
[all …]
Droute_obj.c87 struct rtnl_nexthop *nh, *tmp; in route_free_data()
106 struct rtnl_nexthop *nh, *new; in route_clone()
167 struct rtnl_nexthop *nh; in route_dump_line()
259 struct rtnl_nexthop *nh; in route_dump_details()
374 struct rtnl_nexthop *nh_a, *nh_b; in route_compare()
479 struct rtnl_nexthop *new_nh; in route_update()
514 struct rtnl_nexthop *cloned_nh; in route_update()
531 struct rtnl_nexthop *old_nh; in route_update()
865 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop()
872 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_remove_nexthop()
[all …]
Dnh_encap_mpls.c52 static int mpls_encap_parse_msg(struct nlattr *nla, struct rtnl_nexthop *nh) in mpls_encap_parse_msg()
102 int rtnl_route_nh_encap_mpls(struct rtnl_nexthop *nh, in rtnl_route_nh_encap_mpls()
Dnexthop_encap.c70 struct rtnl_nexthop *rtnh) in nh_encap_parse_msg()
/third_party/libnl/include/netlink-private/route/
Dnexthop-encap.h8 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);
/third_party/libnl/src/lib/
Droute.c154 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop()
/third_party/libnl/include/netlink-private/
Dtypes.h313 struct rtnl_nexthop struct