Searched refs:link_cache (Results 1 - 25 of 39) sorted by path

12

/external/libnl/lib/netfilter/
H A Dlog_msg_obj.c76 struct nl_cache *link_cache; local
79 link_cache = nl_cache_mngt_require("route/link");
87 if (link_cache)
89 rtnl_link_i2name(link_cache,
97 if (link_cache)
99 rtnl_link_i2name(link_cache,
107 if (link_cache)
109 rtnl_link_i2name(link_cache,
117 if (link_cache)
119 rtnl_link_i2name(link_cache,
[all...]
H A Dqueue_msg_obj.c66 struct nl_cache *link_cache; local
69 link_cache = nl_cache_mngt_require("route/link");
77 if (link_cache)
79 rtnl_link_i2name(link_cache,
87 if (link_cache)
89 rtnl_link_i2name(link_cache,
97 if (link_cache)
99 rtnl_link_i2name(link_cache,
107 if (link_cache)
109 rtnl_link_i2name(link_cache,
[all...]
/external/libnl/lib/route/
H A Daddr.c310 struct nl_cache *link_cache; local
313 link_cache = nl_cache_mngt_require("route/link");
327 if (link_cache)
329 rtnl_link_i2name(link_cache, addr->a_ifindex,
406 struct nl_cache *link_cache; local
436 link_cache = nl_cache_mngt_require("route/link");
439 if (link_cache)
441 rtnl_link_i2name(link_cache, addr->a_ifindex,
H A Dneigh.c335 struct nl_cache *link_cache; local
338 link_cache = nl_cache_mngt_require("route/link");
342 if (link_cache)
344 rtnl_link_i2name(link_cache, n->n_ifindex,
403 struct nl_cache *link_cache; local
407 link_cache = nl_cache_mngt_require("route/link");
408 if (link_cache)
410 rtnl_link_i2name(link_cache,
H A Dneightbl.c238 struct nl_cache *link_cache; local
240 link_cache = nl_cache_mngt_require("route/link");
242 if (link_cache) {
245 rtnl_link_i2name(link_cache,
H A Dnexthop.c109 struct nl_cache *link_cache; local
112 link_cache = nl_cache_mngt_require("route/link");
121 if (link_cache) {
123 rtnl_link_i2name(link_cache,
135 struct nl_cache *link_cache; local
138 link_cache = nl_cache_mngt_require("route/link");
147 if (link_cache) {
149 rtnl_link_i2name(link_cache,
171 struct nl_cache *link_cache; local
174 link_cache
[all...]
H A Droute_obj.c128 struct nl_cache *link_cache; local
132 link_cache = nl_cache_mngt_require("route/link");
208 struct nl_cache *link_cache; local
212 link_cache = nl_cache_mngt_require("route/link");
233 if (link_cache) {
235 rtnl_link_i2name(link_cache, r->rt_iif,
295 struct nl_cache *link_cache; local
298 link_cache = nl_cache_mngt_require("route/link");
316 if (link_cache) {
318 rtnl_link_i2name(link_cache, rout
[all...]
H A Dtc.c190 struct nl_cache *link_cache; local
192 link_cache = nl_cache_mngt_require("route/link");
196 if (link_cache) {
199 rtnl_link_i2name(link_cache, g->tc_ifindex,
/external/libnl/src/cls/
H A Dutils.c24 void parse_dev(struct rtnl_cls *cls, struct nl_cache *link_cache, char *arg) argument
28 if (!(ival = rtnl_link_name2i(link_cache, arg)))
/external/libnl/src/lib/
H A Daddr.c54 void nl_cli_addr_parse_dev(struct rtnl_addr *addr, struct nl_cache *link_cache, argument
59 if (!(ival = rtnl_link_name2i(link_cache, arg)))
H A Dneigh.c56 struct nl_cache *link_cache, char *arg)
60 if (!(ival = rtnl_link_name2i(link_cache, arg)))
55 nl_cli_neigh_parse_dev(struct rtnl_neigh *neigh, struct nl_cache *link_cache, char *arg) argument
H A Dqdisc.c33 void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *qdisc, struct nl_cache *link_cache, char *arg) argument
37 if (!(ival = rtnl_link_name2i(link_cache, arg)))
H A Droute.c138 struct nl_cache *link_cache)
171 if (!(ival = rtnl_link_name2i(link_cache, arg)))
260 void nl_cli_route_parse_iif(struct rtnl_route *route, char *arg, struct nl_cache *link_cache) argument
264 if (!(ival = rtnl_link_name2i(link_cache, arg)))
137 nl_cli_route_parse_nexthop(struct rtnl_route *route, char *subopts, struct nl_cache *link_cache) argument
/external/libnl/src/
H A Dnf-log.c55 struct nl_cache *link_cache; local
119 link_cache = nl_cli_link_alloc_cache(rt_sock);
H A Dnf-queue.c86 struct nl_cache *link_cache; local
142 link_cache = nl_cli_link_alloc_cache(rt_sock);
H A Dnl-addr-add.c47 struct nl_cache *link_cache; local
56 link_cache = nl_cli_link_alloc_cache(sock);
99 case 'd': nl_cli_addr_parse_dev(addr, link_cache, optarg); break;
H A Dnl-addr-delete.c74 struct nl_cache *link_cache, *addr_cache; local
78 link_cache = nl_cli_link_alloc_cache(sock);
123 case 'd': nl_cli_addr_parse_dev(addr, link_cache, optarg); break;
H A Dnl-addr-list.c54 struct nl_cache *link_cache; local
68 link_cache = nl_cache_mngt_require("route/link");
69 if (link_cache)
71 rtnl_link_i2name(link_cache,
115 struct nl_cache *link_cache, *addr_cache; local
125 link_cache = nl_cli_link_alloc_cache(sock);
175 case 'd': nl_cli_addr_parse_dev(addr, link_cache, optarg); break;
H A Dnl-cls-add.c39 struct nl_cache *link_cache; local
51 link_cache = nlt_alloc_link_cache(sock);
82 case 'd': parse_dev(cls, link_cache, optarg); break;
H A Dnl-cls-delete.c66 struct nl_cache *link_cache, *cls_cache; local
72 link_cache = nlt_alloc_link_cache(sock);
107 case 'd': nf++; parse_dev(cls, link_cache, optarg); break;
H A Dnl-cls-list.c62 struct nl_cache *link_cache; local
68 link_cache = nlt_alloc_link_cache(sock);
99 case 'd': dev = 1; parse_dev(cls, link_cache, optarg); break;
108 nl_cache_foreach(link_cache, print_cls, NULL);
H A Dnl-link-ifindex2name.c24 struct nl_cache *link_cache; local
33 link_cache = nl_cli_link_alloc_cache(sock);
37 if (!rtnl_link_i2name(link_cache, ifindex, name, sizeof(name)))
H A Dnl-link-list.c53 struct nl_cache *link_cache; local
62 link_cache = nl_cli_link_alloc_cache(sock);
103 nl_cache_dump_filter(link_cache, &params, OBJ_CAST(link));
H A Dnl-link-name2ifindex.c24 struct nl_cache *link_cache; local
32 link_cache = nl_cli_link_alloc_cache(sock);
34 if (!(ifindex = rtnl_link_name2i(link_cache, argv[1])))
H A Dnl-link-set.c70 struct nl_cache *link_cache; local
76 link_cache = nl_cli_link_alloc_cache(sock);
121 nl_cache_foreach_filter(link_cache, OBJ_CAST(link), set_cb, change);

Completed in 274 milliseconds

12