Lines Matching +full:2 +full:nd
7 # an entry in the ARP/ND table. Depending on the test set sysctl option to
9 # carrier state. Depending on the test check the ARP/ND table:
11 # {arp,ndisc}_evict_nocarrier=1 should contain no ARP/ND after no carrier
12 # {arp,ndisc}_evict_nocarrer=0 should still contain the single ARP/ND entry
19 readonly V6_ADDR1=2001:db8:91::2
28 sysctl -w net.ipv6.conf.veth1.ndisc_evict_nocarrier=1 >/dev/null 2>&1
29 sysctl -w net.ipv6.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1
36 ip netns del ${n} 2>/dev/null
56 ip netns exec me sysctl -w $1 >/dev/null 2>&1
58 # Establish an ND cache entry
59 ip netns exec me ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1
60 # Should have the veth1 entry in ND table
61 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
83 sysctl -w "$1" >/dev/null 2>&1
86 ping -c1 -I veth0 $V4_ADDR1 -q >/dev/null 2>&1
88 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
103 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
105 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1
106 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1
115 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
133 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
150 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
166 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
183 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
200 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1