Home
last modified time | relevance | path

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

12

/external/libnl/lib/route/
Dneigh.c181 struct rtnl_neigh *neigh = nl_object_priv(c); in neigh_free_data() local
183 if (!neigh) in neigh_free_data()
186 nl_addr_put(neigh->n_lladdr); in neigh_free_data()
187 nl_addr_put(neigh->n_dst); in neigh_free_data()
209 struct rtnl_neigh *neigh = (struct rtnl_neigh *) obj; in neigh_keygen() local
222 if (neigh->n_family == AF_BRIDGE) { in neigh_keygen()
223 if (neigh->n_lladdr) in neigh_keygen()
224 addr = neigh->n_lladdr; in neigh_keygen()
225 } else if (neigh->n_dst) { in neigh_keygen()
226 addr = neigh->n_dst; in neigh_keygen()
[all …]
/external/libnl/src/lib/
Dneigh.c25 struct rtnl_neigh *neigh; in nl_cli_neigh_alloc() local
27 neigh = rtnl_neigh_alloc(); in nl_cli_neigh_alloc()
28 if (!neigh) in nl_cli_neigh_alloc()
31 return neigh; in nl_cli_neigh_alloc()
34 void nl_cli_neigh_parse_dst(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_dst() argument
39 a = nl_cli_addr_parse(arg, rtnl_neigh_get_family(neigh)); in nl_cli_neigh_parse_dst()
40 if ((err = rtnl_neigh_set_dst(neigh, a)) < 0) in nl_cli_neigh_parse_dst()
47 void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *neigh, char *arg) in nl_cli_neigh_parse_lladdr() argument
52 rtnl_neigh_set_lladdr(neigh, a); in nl_cli_neigh_parse_lladdr()
56 void nl_cli_neigh_parse_dev(struct rtnl_neigh *neigh, in nl_cli_neigh_parse_dev() argument
[all …]
/external/libnl/src/
Dnl-neigh-delete.c47 struct rtnl_neigh *neigh = nl_object_priv(obj); in delete_cb() local
57 if ((err = rtnl_neigh_delete(sock, neigh, 0)) < 0) in delete_cb()
71 struct rtnl_neigh *neigh; in main() local
78 neigh = nl_cli_neigh_alloc(); in main()
111 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
112 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
113 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
114 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
115 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
119 nl_cache_foreach_filter(neigh_cache, OBJ_CAST(neigh), delete_cb, NULL); in main()
Dnl-neigh-list.c42 struct rtnl_neigh *neigh; in main() local
53 neigh = nl_cli_neigh_alloc(); in main()
81 case 'a': nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
82 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
83 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
84 case ARG_FAMILY: nl_cli_neigh_parse_family(neigh, optarg); break; in main()
85 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
89 nl_cache_dump_filter(neigh_cache, &params, OBJ_CAST(neigh)); in main()
91 rtnl_neigh_put(neigh); in main()
Dnl-neigh-add.c50 struct rtnl_neigh *neigh; in main() local
61 neigh = nl_cli_neigh_alloc(); in main()
93 case 'a': ok++; nl_cli_neigh_parse_dst(neigh, optarg); break; in main()
94 case 'l': nl_cli_neigh_parse_lladdr(neigh, optarg); break; in main()
95 case 'd': nl_cli_neigh_parse_dev(neigh, link_cache, optarg); break; in main()
96 case ARG_STATE: nl_cli_neigh_parse_state(neigh, optarg); break; in main()
103 if ((err = rtnl_neigh_add(sock, neigh, nlflags)) < 0) in main()
109 nl_object_dump(OBJ_CAST(neigh), &dp); in main()
D.gitignore33 nl-neigh-add
34 nl-neigh-delete
35 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/linux-kselftest/tools/testing/selftests/net/forwarding/
Dvxlan_asymmetric.sh117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
131 ip neigh del $gw_ip dev $if_name
404 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
406 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
478 ip neigh del 10.1.1.102 dev vlan10
479 ip neigh del 10.1.2.102 dev vlan20
483 ip neigh replace 10.1.1.102 lladdr $(in_ns ns1 mac_get w2) nud noarp \
485 ip neigh replace 10.1.2.102 lladdr $(in_ns ns1 mac_get w4) nud noarp \
522 ip neigh del 10.1.1.102 dev vlan10
535 ip neigh del 10.1.1.102 dev vlan10 &> /dev/null
[all …]
Dmirror_gre_neigh.sh67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
70 ip neigh del dev $swp3 $addr
Dvxlan_symmetric.sh127 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
141 ip neigh del $gw_ip dev $if_name
447 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
449 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
475 ip neigh add $vtep_ip lladdr $mac nud noarp dev vlan4001 extern_learn
Dmirror_gre_bridge_1q_lag.sh235 ip neigh flush dev br1
/external/ltp/testcases/network/iproute/
Dip_tests.sh131 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable
140 ip neigh show $taddr | head -n1 > tst_ip.out 2>&1
154 ip neigh del $taddr dev $tdev
160 ip neigh show | grep $taddr | grep -v ' FAILED$' > /dev/null
/external/linux-kselftest/tools/testing/selftests/net/
Dfib_nexthops.sh806 $IP neigh sh | grep -q "${lladdr} dev veth1"
809 $IP neigh sh | grep 'dev veth1'
812 $IP neigh sh | grep -q "172.16.101.1 dev eth1"
815 $IP neigh sh | grep 'dev veth1'
834 $IP neigh sh | grep -q "${lladdr} dev veth1"
837 $IP neigh sh | grep 'dev veth1'
840 $IP neigh sh | grep -q "172.16.101.1 dev eth1"
843 $IP neigh sh | grep 'dev veth1'
Drtnetlink.sh1130 ip neigh help 2>&1 |grep -q 'ip neigh get'
1137 ip neigh add $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1139 ip neigh get $dstip dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1141 ip neigh del $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1145 ip neigh add proxy $dstip dev "$devdummy" > /dev/null
1147 ip neigh get proxy $dstip dev "$devdummy" 2>/dev/null | grep -q "$dstip"
1149 ip neigh del proxy $dstip dev "$devdummy" > /dev/null
1153 ip neigh add $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1155 ip neigh get $dstip6 dev "$devdummy" 2> /dev/null | grep -q "$dstmac"
1157 ip neigh del $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
[all …]
Dfcnal-test.sh3244 run_cmd ip neigh flush all
3248 run_cmd ip neigh flush all
3252 run_cmd ip neigh flush all
3256 run_cmd ip neigh flush all
3262 run_cmd ip neigh flush all
3266 run_cmd ip neigh flush all
3270 run_cmd ip neigh flush all
3274 run_cmd ip neigh flush all
3293 run_cmd ip neigh flush all
3297 run_cmd ip neigh flush all
[all …]
/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/drivers/net/mlxsw/
Drtnetlink.sh594 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
595 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
598 ip -4 neigh show dev $swp1 | grep 192.0.2.2 | grep -q offload
600 ip -6 neigh show dev $swp1 | grep 2001:db8:1::2 | grep -q offload
605 ip -6 neigh del 2001:db8:1::2 dev $swp1
606 ip -4 neigh del 192.0.2.2 dev $swp1
Ddevlink_trap_l3_exceptions.sh382 ip neigh flush dev $rp2
/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/libnl/
DMakefile.am206 include/netlink/cli/neigh.h \
/external/strace/
DNEWS280 mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz
Dospd.txt.gz
/external/jline/src/src/test/resources/jline/example/
Denglish.gz

12