Home
last modified time | relevance | path

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

/third_party/libnl/include/netlink/route/
Droute.h35 struct rtnl_route;
51 extern struct rtnl_route * rtnl_route_alloc(void);
52 extern void rtnl_route_put(struct rtnl_route *);
56 extern void rtnl_route_get(struct rtnl_route *);
58 extern int rtnl_route_parse(struct nlmsghdr *, struct rtnl_route **);
59 extern int rtnl_route_build_msg(struct nl_msg *, struct rtnl_route *);
61 extern int rtnl_route_build_add_request(struct rtnl_route *, int,
63 extern int rtnl_route_add(struct nl_sock *, struct rtnl_route *, int);
64 extern int rtnl_route_build_del_request(struct rtnl_route *, int,
66 extern int rtnl_route_delete(struct nl_sock *, struct rtnl_route *, int);
[all …]
/third_party/libnl/include/netlink/cli/
Droute.h17 extern struct rtnl_route *nl_cli_route_alloc(void);
21 extern void nl_cli_route_parse_family(struct rtnl_route *, char *);
22 extern void nl_cli_route_parse_dst(struct rtnl_route *, char *);
23 extern void nl_cli_route_parse_src(struct rtnl_route *, char *);
24 extern void nl_cli_route_parse_pref_src(struct rtnl_route *, char *);
25 extern void nl_cli_route_parse_metric(struct rtnl_route *, char *);
26 extern void nl_cli_route_parse_nexthop(struct rtnl_route *, char *, struct nl_cache *);
27 extern void nl_cli_route_parse_table(struct rtnl_route *, char *);
28 extern void nl_cli_route_parse_prio(struct rtnl_route *, char *);
29 extern void nl_cli_route_parse_scope(struct rtnl_route *, char *);
[all …]
/third_party/libnl/lib/route/
Droute_obj.c72 struct rtnl_route *r = (struct rtnl_route *) c; in route_constructor()
86 struct rtnl_route *r = (struct rtnl_route *) c; in route_free_data()
104 struct rtnl_route *dst = (struct rtnl_route *) _dst; in route_clone()
105 struct rtnl_route *src = (struct rtnl_route *) _src; in route_clone()
137 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_line()
214 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_details()
292 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats()
310 struct rtnl_route *route = (struct rtnl_route *) obj; in route_keygen()
358 struct rtnl_route *route = (struct rtnl_route *)obj; in route_id_attrs_get()
372 struct rtnl_route *a = (struct rtnl_route *) _a; in route_compare()
[all …]
Droute.c34 struct rtnl_route *route; in route_msg_parser()
109 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, in build_route_msg()
127 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_add_request()
134 int rtnl_route_add(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_add()
150 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_del_request()
156 int rtnl_route_delete(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_delete()
/third_party/libnl/src/lib/
Droute.c23 struct rtnl_route *nl_cli_route_alloc(void) in nl_cli_route_alloc()
25 struct rtnl_route *route; in nl_cli_route_alloc()
48 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family()
56 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst()
69 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_src()
82 void nl_cli_route_parse_pref_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_pref_src()
95 void nl_cli_route_parse_metric(struct rtnl_route *route, char *subopts) in nl_cli_route_parse_metric()
138 void nl_cli_route_parse_nexthop(struct rtnl_route *route, char *subopts, in nl_cli_route_parse_nexthop()
212 void nl_cli_route_parse_table(struct rtnl_route *route, char *arg) in nl_cli_route_parse_table()
230 void nl_cli_route_parse_prio(struct rtnl_route *route, char *arg) in nl_cli_route_parse_prio()
[all …]
/third_party/libnl/src/
Dnl-route-delete.c66 struct rtnl_route *route = (struct rtnl_route *) obj; in delete_cb()
90 struct rtnl_route *route; in main()
Dnl-route-list.c57 struct rtnl_route *route; in main()
Dnl-route-add.c58 struct rtnl_route *route; in main()
/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c192 static void rtnl_route(int iface, struct addrinfo *dst, struct addrinfo *gw, in rtnl_route() function
290 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run()
293 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run()
/third_party/libnl/include/netlink-private/
Dtypes.h329 struct rtnl_route struct