Home
last modified time | relevance | path

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

/external/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.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.c37 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()
136 static void nh_dump_details(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_details()
175 void rtnl_route_nh_dump(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in rtnl_route_nh_dump()
198 void rtnl_route_nh_set_weight(struct rtnl_nexthop *nh, uint8_t weight) in rtnl_route_nh_set_weight()
[all …]
Droute_obj.c82 struct rtnl_nexthop *nh, *tmp; in route_free_data()
101 struct rtnl_nexthop *nh, *new; in route_clone()
162 struct rtnl_nexthop *nh; in route_dump_line()
249 struct rtnl_nexthop *nh; in route_dump_details()
351 struct rtnl_nexthop *nh_a, *nh_b; in route_compare()
453 struct rtnl_nexthop *new_nh; in route_update()
488 struct rtnl_nexthop *cloned_nh; in route_update()
505 struct rtnl_nexthop *old_nh; in route_update()
834 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop()
841 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_remove_nexthop()
[all …]
/external/libnl/src/lib/
Droute.c151 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop()
/external/libnl/include/netlink-private/
Dtypes.h264 struct rtnl_nexthop struct