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

12

/external/libnl/src/
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-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-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-neightbl-list.c31 struct nl_cache *link_cache, *neightbl_cache; local
39 link_cache = nl_cli_link_alloc_cache(sock);
H A Dnl-rule-list.c37 struct nl_cache *link_cache, *rule_cache; local
45 link_cache = nl_cli_link_alloc_cache(sock);
H A Dnl-route-add.c17 static struct nl_cache *link_cache, *route_cache; variable in typeref:struct:nl_cache
64 link_cache = nl_cli_link_alloc_cache(sock);
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break;
H A Dnl-route-list.c53 struct nl_cache *link_cache, *route_cache; local
63 link_cache = nl_cli_link_alloc_cache(sock);
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); 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-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-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);
H A Dnl-link-stats.c82 struct nl_cache *link_cache; local
87 link_cache = nl_cli_link_alloc_cache(sock);
115 nl_cache_foreach_filter(link_cache, OBJ_CAST(link), dump_stats, argv);
H A Dnl-neigh-add.c48 struct nl_cache *link_cache; local
57 link_cache = nl_cli_link_alloc_cache(sock);
92 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break;
H A Dnl-neigh-delete.c69 struct nl_cache *link_cache, *neigh_cache; local
73 link_cache = nl_cli_link_alloc_cache(sock);
110 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break;
H A Dnl-neigh-list.c40 struct nl_cache *link_cache, *neigh_cache; local
48 link_cache = nl_cli_link_alloc_cache(sock);
80 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break;
H A Dnl-qdisc-delete.c67 struct nl_cache *link_cache, *qdisc_cache; local
71 link_cache = nl_cli_link_alloc_cache(sock);
103 case 'd': nl_cli_qdisc_parse_dev(qdisc, link_cache, optarg); break;
H A Dnl-qdisc-list.c41 struct nl_cache *link_cache, *qdisc_cache; local
49 link_cache = nl_cli_link_alloc_cache(sock);
80 case 'd': nl_cli_qdisc_parse_dev(qdisc, 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-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-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-route-delete.c86 struct nl_cache *link_cache, *route_cache; local
92 link_cache = nl_cli_link_alloc_cache(sock);
142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break;
H A Dnl-route-get.c46 struct nl_cache *link_cache, *route_cache; local
55 link_cache = nl_cli_link_alloc_cache(sock);
/external/libnl/src/lib/
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 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
/external/libnl/lib/route/
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...]

Completed in 354 milliseconds

12