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
20 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
43 ip netns exec ${me} sysctl -w $1 >/dev/null 2>&1
45 # Establish an ND cache entry
46 ip netns exec ${me} ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1
47 # Should have the veth1 entry in ND table
48 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
70 sysctl -w "$1" >/dev/null 2>&1
73 ping -c1 -I veth0 $V4_ADDR1 -q >/dev/null 2>&1
75 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
91 sysctl -w net.ipv4.conf.veth0.arp_evict_nocarrier=1 >/dev/null 2>&1
92 sysctl -w net.ipv4.conf.all.arp_evict_nocarrier=1 >/dev/null 2>&1
101 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
119 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
136 ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
152 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
169 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
186 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1