/external/libnl/src/ |
nl-link-name2ifindex.c | 24 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])))
|
nl-link-release.c | 19 struct nl_cache *link_cache; local 30 link_cache = nl_cli_link_alloc_cache(sock); 32 if (!(slave = rtnl_link_get_by_name(link_cache, argv[1]))) {
|
nl-link-enslave.c | 19 struct nl_cache *link_cache; local 30 link_cache = nl_cli_link_alloc_cache(sock); 32 if (!(master = rtnl_link_get_by_name(link_cache, argv[1]))) { 37 if (!(slave = rtnl_link_get_by_name(link_cache, argv[2]))) {
|
nl-link-ifindex2name.c | 24 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)))
|
nl-neightbl-list.c | 31 struct nl_cache *link_cache, *neightbl_cache; local 39 link_cache = nl_cli_link_alloc_cache(sock);
|
nl-link-list.c | 39 struct nl_cache *link_cache; local 92 link_cache = nl_cli_link_alloc_cache_family(sock, 95 nl_cache_dump_filter(link_cache, ¶ms, OBJ_CAST(link));
|
nl-monitor.c | 38 struct nl_cache *link_cache; local 95 link_cache = nl_cli_link_alloc_cache(sock);
|
nl-neigh-add.c | 48 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;
|
nl-neigh-list.c | 40 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;
|
nl-route-get.c | 46 struct nl_cache *link_cache, *route_cache; local 55 link_cache = nl_cli_link_alloc_cache(sock);
|
nl-rule-list.c | 37 struct nl_cache *link_cache, *rule_cache; local 45 link_cache = nl_cli_link_alloc_cache(sock);
|
nf-log.c | 55 struct nl_cache *link_cache; local 119 link_cache = nl_cli_link_alloc_cache(rt_sock);
|
nf-queue.c | 63 struct nl_cache *link_cache; local 119 link_cache = nl_cli_link_alloc_cache(rt_sock);
|
nl-addr-add.c | 47 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;
|
nl-class-delete.c | 72 struct nl_cache *link_cache, *class_cache; local 76 link_cache = nl_cli_link_alloc_cache(sock); 110 case 'd': nl_cli_tc_parse_dev(tc, link_cache, optarg); break;
|
nl-class-list.c | 66 struct nl_cache *link_cache; local 71 link_cache = nl_cli_link_alloc_cache(sock); 104 case 'd': nl_cli_tc_parse_dev(tc, link_cache, optarg); break; 114 nl_cache_foreach(link_cache, dump_class, class);
|
nl-link-set.c | 72 struct nl_cache *link_cache; local 78 link_cache = nl_cli_link_alloc_cache(sock); 134 nl_cache_foreach_filter(link_cache, OBJ_CAST(link), set_cb, change);
|
/external/libnl/tests/ |
test-create-ip6tnl.c | 6 struct nl_cache *link_cache; local 18 err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache); 24 if_index = rtnl_link_name2i(link_cache, "ens33");
|
test-create-ipgre.c | 6 struct nl_cache *link_cache; local 18 err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache); 24 if_index = rtnl_link_name2i(link_cache, "eno16777736");
|
test-create-ipip.c | 6 struct nl_cache *link_cache; local 18 err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache); 24 if_index = rtnl_link_name2i(link_cache, "eno16777736");
|
test-create-ipvti.c | 6 struct nl_cache *link_cache; local 18 err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache); 24 if_index = rtnl_link_name2i(link_cache, "ens33");
|
test-create-macvlan.c | 8 struct nl_cache *link_cache; local 19 if ((err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache)) < 0) { 24 if (!(master_index = rtnl_link_name2i(link_cache, "eth0"))) {
|
test-create-sit.c | 6 struct nl_cache *link_cache; local 18 err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache); 24 if_index = rtnl_link_name2i(link_cache, "eno16777736");
|
test-create-vlan.c | 8 struct nl_cache *link_cache; local 18 if ((err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache)) < 0) { 23 if (!(master_index = rtnl_link_name2i(link_cache, "eth0"))) {
|
test-create-bridge.c | 8 int create_bridge(struct nl_sock *sk, struct nl_cache *link_cache, const char *name) { 30 struct nl_cache *link_cache; local 40 if ((err = rtnl_link_alloc_cache(sk, AF_UNSPEC, &link_cache)) < 0) { 45 if ((err = create_bridge(sk, link_cache, TEST_BRIDGE_NAME)) < 0) { 50 nl_cache_refill(sk, link_cache); 52 link = rtnl_link_get_by_name(link_cache, TEST_BRIDGE_NAME); 53 struct rtnl_link *ltap = rtnl_link_get_by_name(link_cache, TEST_INTERFACE_NAME); 76 nl_cache_free(link_cache);
|