Home
last modified time | relevance | path

Searched refs:neigh (Results 1 – 18 of 18) sorted by relevance

/external/libnl/lib/route/
Dneigh.c178 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/
Dneigh.c24 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/
Dnl-neigh-delete.c44 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()
Dnl-neigh-list.c39 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, &params, OBJ_CAST(neigh)); in main()
Dnl-neigh-add.c47 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.gitignore21 nl-neigh-add
22 nl-neigh-delete
23 nl-neigh-list
/external/bcc/tools/
Ddcsnoop_example.txt17 0.003180 1643 snmpd M net/ipv4/neigh/eth0/retrans_time_ms
18 0.003192 1643 snmpd M ipv4/neigh/eth0/retrans_time_ms
19 0.003197 1643 snmpd M neigh/eth0/retrans_time_ms
22 0.003245 1643 snmpd M ipv6/neigh/eth0/retrans_time_ms
23 0.003249 1643 snmpd M neigh/eth0/retrans_time_ms
69 0.015937 1643 snmpd R proc/sys/net/ipv6/neigh/lo/base_reachable_time_ms
70 0.015937 1643 snmpd R sys/net/ipv6/neigh/lo/base_reachable_time_ms
71 0.015938 1643 snmpd R net/ipv6/neigh/lo/base_reachable_time_ms
72 0.015939 1643 snmpd R ipv6/neigh/lo/base_reachable_time_ms
73 0.015940 1643 snmpd R neigh/lo/base_reachable_time_ms
Dopensnoop_example.txt12 1576 snmpd 11 0 /proc/sys/net/ipv4/neigh/eth0/retrans_time_ms
13 1576 snmpd 11 0 /proc/sys/net/ipv6/neigh/eth0/retrans_time_ms
15 1576 snmpd 11 0 /proc/sys/net/ipv6/neigh/eth0/base_reachable_time_ms
16 1576 snmpd 11 0 /proc/sys/net/ipv4/neigh/lo/retrans_time_ms
17 1576 snmpd 11 0 /proc/sys/net/ipv6/neigh/lo/retrans_time_ms
19 1576 snmpd 11 0 /proc/sys/net/ipv6/neigh/lo/base_reachable_time_ms
/external/ltp/testcases/network/iproute/
Dip_tests.sh147 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable
156 ip neigh show $taddr | head -n1 > tst_ip.out 2>&1
170 ip neigh del $taddr dev $tdev
176 ip neigh show | grep $taddr | grep -v ' FAILED$' > /dev/null
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_learn.c26 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/linux-kselftest/tools/testing/selftests/net/forwarding/
Dmirror_gre_neigh.sh67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
70 ip neigh del dev $swp3 $addr
/external/libnl/include/
DMakefile.am106 netlink/cli/neigh.h \
/external/bcc/docs/
Dtutorial.md73 1603 snmpd 11 0 /proc/sys/net/ipv4/neigh/eth0/retrans_time_ms
74 1603 snmpd 11 0 /proc/sys/net/ipv6/neigh/eth0/retrans_time_ms
/external/strace/
DNEWS280 mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages
DChangeLog12828 tests: check decoding of rtnetlink neigh messages.
12833 netlink: add a basic rtnetlink parser of neigh messages.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA.txt113753 neigh %25386 ne
Dinternal_raw_IPA-old.txt135311 neigh %9578 ne