Home
last modified time | relevance | path

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

/external/libnl/include/netlink/route/
Droute.h29 struct rtnl_route;
45 extern struct rtnl_route * rtnl_route_alloc(void);
46 extern void rtnl_route_put(struct rtnl_route *);
50 extern void rtnl_route_get(struct rtnl_route *);
52 extern int rtnl_route_parse(struct nlmsghdr *, struct rtnl_route **);
53 extern int rtnl_route_build_msg(struct nl_msg *, struct rtnl_route *);
56 struct rtnl_route **result);
58 extern int rtnl_route_build_add_request(struct rtnl_route *, int,
60 extern int rtnl_route_add(struct nl_sock *, struct rtnl_route *, int);
61 extern int rtnl_route_build_del_request(struct rtnl_route *, int,
[all …]
/external/libnl/include/netlink/cli/
Droute.h15 extern struct rtnl_route *nl_cli_route_alloc(void);
19 extern void nl_cli_route_parse_family(struct rtnl_route *, char *);
20 extern void nl_cli_route_parse_dst(struct rtnl_route *, char *);
21 extern void nl_cli_route_parse_src(struct rtnl_route *, char *);
22 extern void nl_cli_route_parse_pref_src(struct rtnl_route *, char *);
23 extern void nl_cli_route_parse_metric(struct rtnl_route *, char *);
24 extern void nl_cli_route_parse_nexthop(struct rtnl_route *, char *, struct nl_cache *);
25 extern void nl_cli_route_parse_table(struct rtnl_route *, char *);
26 extern void nl_cli_route_parse_prio(struct rtnl_route *, char *);
27 extern void nl_cli_route_parse_scope(struct rtnl_route *, char *);
[all …]
/external/libnl/lib/route/
Droute_obj.c65 struct rtnl_route *r = (struct rtnl_route *) c; in route_constructor()
79 struct rtnl_route *r = (struct rtnl_route *) c; in route_free_data()
97 struct rtnl_route *dst = (struct rtnl_route *) _dst; in route_clone()
98 struct rtnl_route *src = (struct rtnl_route *) _src; in route_clone()
135 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_line()
213 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_details()
287 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats()
305 struct rtnl_route *route = (struct rtnl_route *) obj; in route_keygen()
351 struct rtnl_route *route = (struct rtnl_route *)obj; in route_id_attrs_get()
365 struct rtnl_route *a = (struct rtnl_route *) _a; in route_compare()
[all …]
Droute.c28 struct rtnl_route *route; in route_msg_parser()
103 static int build_route_msg(struct rtnl_route *tmpl, int cmd, int flags, in build_route_msg()
121 int rtnl_route_build_add_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_add_request()
129 struct rtnl_route **result) in rtnl_route_lookup()
132 _nl_auto_rtnl_route struct rtnl_route *tmpl = NULL; in rtnl_route_lookup()
149 *result = (struct rtnl_route *)obj; in rtnl_route_lookup()
154 int rtnl_route_add(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_add()
170 int rtnl_route_build_del_request(struct rtnl_route *tmpl, int flags, in rtnl_route_build_del_request()
176 int rtnl_route_delete(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_delete()
/external/libnl/src/lib/
Droute.c16 struct rtnl_route *nl_cli_route_alloc(void) in nl_cli_route_alloc()
18 struct rtnl_route *route; in nl_cli_route_alloc()
41 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family()
49 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst()
62 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_src()
75 void nl_cli_route_parse_pref_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_pref_src()
88 void nl_cli_route_parse_metric(struct rtnl_route *route, char *subopts) in nl_cli_route_parse_metric()
131 void nl_cli_route_parse_nexthop(struct rtnl_route *route, char *subopts, in nl_cli_route_parse_nexthop()
205 void nl_cli_route_parse_table(struct rtnl_route *route, char *arg) in nl_cli_route_parse_table()
223 void nl_cli_route_parse_prio(struct rtnl_route *route, char *arg) in nl_cli_route_parse_prio()
[all …]
/external/libnl/include/netlink-private/
Dnl-auto.h57 struct rtnl_route;
58 void rtnl_route_put(struct rtnl_route *);
60 _NL_AUTO_DEFINE_FCN_TYPED0(struct rtnl_route *, _nl_auto_rtnl_route_fcn, rtnl_route_put);
Dtypes.h326 struct rtnl_route struct
/external/libnl/src/
Dnl-route-delete.c59 struct rtnl_route *route = (struct rtnl_route *) obj; in delete_cb()
83 struct rtnl_route *route; in main()
Dnl-route-list.c50 struct rtnl_route *route; in main()
Dnl-route-add.c51 struct rtnl_route *route; in main()
/external/ltp/testcases/network/stress/route/
Droute-change-netlink.c190 static void rtnl_route(int iface, struct addrinfo *dst, struct addrinfo *gw, in rtnl_route() function
288 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run()
291 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run()
/external/strace/
DAndroid.bp184 "rtnl_route.c",
DMakefile.in367 rtnl_route.c rtnl_rule.c rtnl_tc.c rtnl_tc_action.c s390.c \
474 strace-rtnl_nsid.$(OBJEXT) strace-rtnl_route.$(OBJEXT) \
1393 rtnl_route.c rtnl_rule.c rtnl_tc.c rtnl_tc_action.c s390.c \
2455 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-rtnl_route.Po@am__quote@
6096 strace-rtnl_route.o: rtnl_route.c
6097 …strace-rtnl_route.o -MD -MP -MF $(DEPDIR)/strace-rtnl_route.Tpo -c -o strace-rtnl_route.o `test -f…
6098 …__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strace-rtnl_route.Tpo $(DEPDIR)/strace-rtnl_route.…
6101 …) $(strace_CFLAGS) $(CFLAGS) -c -o strace-rtnl_route.o `test -f 'rtnl_route.c' || echo '$(srcdir)/…
6103 strace-rtnl_route.obj: rtnl_route.c
6104 …trace_CFLAGS) $(CFLAGS) -MT strace-rtnl_route.obj -MD -MP -MF $(DEPDIR)/strace-rtnl_route.Tpo -c -…
[all …]
DMakefile.am291 rtnl_route.c \
DChangeLog1000 rtnl_route: decode new RTA_* attributes.
1001 * rtnl_route.c (rtmsg_nla_decoders): Add entries for RTA_IP_PROTO,
2382 * rtnl_route.c (decode_nla_rt_proto): Likewise.
3424 * rtnl_route.c (decode_rta_multipath): Likewise.
8533 * rtnl_route.c (decode_rtmsg): Likewise.
11825 rtnl_route: enhance RTA_TABLE decoding.
11830 * rtnl_route.c (decode_nla_rt_class): New function.
12153 rtnl_route: decode rtmsg netlink attributes.
12158 * rtnl_route.c (decode_route_addr, decode_rta_metrics,
12597 * rtnl_route.c: Include "nlattr.h" and "xlat/rtnl_route_attrs.h".
[all …]