/external/libnl/lib/route/ |
D | neigh.c | 178 struct rtnl_neigh *neigh = nl_object_priv(c); in neigh_free_data() local 180 if (!neigh) in neigh_free_data() 183 nl_addr_put(neigh->n_lladdr); in neigh_free_data() 184 nl_addr_put(neigh->n_dst); in neigh_free_data() 206 struct rtnl_neigh *neigh = (struct rtnl_neigh *) obj; in neigh_keygen() local 218 if (neigh->n_family == AF_BRIDGE) { in neigh_keygen() 219 if (neigh->n_lladdr) in neigh_keygen() 220 addr = neigh->n_lladdr; in neigh_keygen() 221 } else if (neigh->n_dst) { in neigh_keygen() 222 addr = neigh->n_dst; in neigh_keygen() [all …]
|
/external/libnl/src/lib/ |
D | neigh.c | 24 struct rtnl_neigh *neigh; in nl_cli_neigh_alloc() local 26 neigh = rtnl_neigh_alloc(); in nl_cli_neigh_alloc() 27 if (!neigh) in nl_cli_neigh_alloc() 30 return neigh; in nl_cli_neigh_alloc() 33 void nl_cli_neigh_parse_dst(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_dst() argument 38 a = nl_cli_addr_parse(arg, rtnl_neigh_get_family(neigh)); in nl_cli_neigh_parse_dst() 39 if ((err = rtnl_neigh_set_dst(neigh, a)) < 0) in nl_cli_neigh_parse_dst() 46 void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_lladdr() argument 51 rtnl_neigh_set_lladdr(neigh, a); in nl_cli_neigh_parse_lladdr() 55 void nl_cli_neigh_parse_dev(struct rtnl_neigh *neigh, in nl_cli_neigh_parse_dev() argument [all …]
|
/external/libnl/src/ |
D | nl-neigh-delete.c | 44 struct rtnl_neigh *neigh = nl_object_priv(obj); in delete_cb() local 54 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0) in delete_cb() 68 struct rtnl_neigh *neigh; in main() local 75 neigh = nl_cli_neigh_alloc(); in main() 108 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main() 109 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main() 110 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main() 111 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main() 112 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main() 116 nl_cache_foreach_filter(neigh_cache, OBJ_CAST(neigh), delete_cb, NULL); in main()
|
D | nl-neigh-list.c | 39 struct rtnl_neigh *neigh; in main() local 50 neigh = nl_cli_neigh_alloc(); in main() 78 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main() 79 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main() 80 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main() 81 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main() 82 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main() 86 nl_cache_dump_filter(neigh_cache, ¶ms, OBJ_CAST(neigh)); in main()
|
D | nl-neigh-add.c | 47 struct rtnl_neigh *neigh; in main() local 58 neigh = nl_cli_neigh_alloc(); in main() 90 case 'a': ok++; nl_cli_neigh_parse_dst(neigh, optarg); break; in main() 91 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main() 92 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main() 93 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main() 100 if ((err = rtnl_neigh_add(sock, neigh, nlflags)) < 0) in main() 106 nl_object_dump(OBJ_CAST(neigh), &dp); in main()
|
D | .gitignore | 21 nl-neigh-add 22 nl-neigh-delete 23 nl-neigh-list
|
/external/ltp/testcases/network/iproute/ |
D | ip_tests.sh | 144 ip neigh replace 127.6.6.6 lladdr 00:00:00:00:00:00 dev lo nud reachable 155 ip neigh show 127.6.6.6 | head -n1 > tst_ip.out 2>&1 169 ip neigh del 127.6.6.6 dev lo 175 ip neigh show | grep 127.6.6.6 | grep -v ' FAILED$' > /dev/null
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | bgscan_learn.c | 26 u8 *neigh; /* num_neigh * ETH_ALEN buffer */ member 47 os_free(bss->neigh); in bss_free() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() 187 MAC2STR(bss->neigh + i * ETH_ALEN)); in bgscan_learn_save()
|
/external/libnl/include/ |
D | Makefile.am | 106 netlink/cli/neigh.h \
|
/external/strace/ |
D | NEWS | 127 mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages
|
D | ChangeLog | 5266 tests: check decoding of rtnetlink neigh messages. 5271 netlink: add a basic rtnetlink parser of neigh messages.
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|