Home
last modified time | relevance | path

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

/external/libnl/include/netlink/route/
Dnexthop.h16 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 …]
Droute.h99 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/
Dnexthop.c35 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 …]
Droute_obj.c80 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 …]
Dnh_encap_mpls.c52 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()
Dnexthop_encap.c73 struct rtnl_nexthop *rtnh) in nh_encap_parse_msg()
/external/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);
/external/libnl/include/netlink-private/
Dnl-auto.h67 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);
Dtypes.h310 struct rtnl_nexthop struct
/external/libnl/src/lib/
Droute.c147 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop()