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
27 sysctl -w net.ipv4.conf.veth0.ndisc_evict_nocarrier=1 >/dev/null 2>&1
28 sysctl -w net.ipv4.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1
35 ip netns del ${n} 2>/dev/null
55 ip netns exec me sysctl -w $1 >/dev/null 2>&1
57 # Establish an ND cache entry
58 ip netns exec me ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1
59 # Should have the veth1 entry in ND table
60 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
82 sysctl -w "$1" >/dev/null 2>&1
85 ping -c1 -I veth0 $V4_ADDR1 -q >/dev/null 2>&1
87 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
102 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
104 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1
105 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1
114 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
131 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
147 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
163 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
179 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
195 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1