Home | History | Annotate | Download | only in arp

Lines Matching refs:arp

52 	$DEBUG && rump.arp -n -a
67 rump.sysctl -w net.inet.arp.nd_reachable=$keep
78 $DEBUG && rump.arp -n -a
80 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4SRC
81 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
87 local timeout=$(env RUMP_SERVER=$SOCKSRC rump.arp -n $addr |grep $addr|awk '{print $7;}')
106 atf_check -s exit:0 -o ignore rump.arp -s $IP4SRC $macaddr
115 $DEBUG && rump.arp -n -a
116 atf_check -s not-exit:0 -o ignore -e match:'no entry' rump.arp -n $IP4SRC
118 atf_check -s exit:0 -o not-match:'permanent' rump.arp -n $IP4DST
124 $DEBUG && rump.arp -n -a
125 atf_check -s not-exit:0 -o ignore -e match:'no entry' rump.arp -n $IP4SRC
127 atf_check -s exit:0 -o match:"$ONEDAYISH" rump.arp -n $IP4DST
139 atf_check -s exit:0 -o match:"$mac" rump.arp -n $ip
141 atf_check -s exit:0 -o match:'permanent' rump.arp -n $ip
144 atf_check -s exit:0 -o not-match:'permanent' rump.arp -n $ip
163 $DEBUG && rump.arp -n -a
164 atf_check -s exit:0 -o ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:10
165 $DEBUG && rump.arp -n -a
168 atf_check -s exit:0 -o ignore rump.arp -d 10.0.1.10
169 $DEBUG && rump.arp -n -a
171 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.10
182 $DEBUG && rump.arp -n -a
184 atf_check -s exit:0 -o ignore rump.arp -f ./list
185 $DEBUG && rump.arp -n -a
193 # Test arp -a
194 atf_check -s exit:0 -o match:'10.0.1.11' rump.arp -n -a
195 atf_check -s exit:0 -o match:'10.0.1.12' rump.arp -n -a
196 atf_check -s exit:0 -o match:'10.0.1.13' rump.arp -n -a
197 atf_check -s exit:0 -o match:'10.0.1.14' rump.arp -n -a
198 atf_check -s exit:0 -o match:'10.0.1.15' rump.arp -n -a
201 $DEBUG && rump.arp -n -a
203 atf_check -s exit:0 -o ignore rump.arp -d -a
204 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.11
205 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.12
206 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.13
207 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.14
208 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.15
209 atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.1
217 $DEBUG && rump.arp -n -a
218 atf_check -s exit:0 -o ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:10 temp
219 $DEBUG && rump.arp -n -a
225 #$DEBUG && rump.arp -n -a
227 #atf_check -s not-exit:0 -e ignore rump.arp -n 10.0.1.10
236 pkt="> ff:ff:ff:ff:ff:ff, ethertype ARP \(0x0806\), length 42:"
376 atf_check -s exit:0 rump.arp -s $IP4DST b2:a0:20:00:00:ff
377 $DEBUG && rump.arp -n -a
379 rump.arp -s $IP4DST b2:a0:20:00:00:fe
381 atf_check -s exit:0 rump.arp -d $IP4DST
384 $DEBUG && rump.arp -n -a
386 atf_check -s exit:0 -o ignore rump.arp -s $IP4DST b2:a0:20:00:00:00
387 $DEBUG && rump.arp -n -a
388 atf_check -s exit:0 -o match:'b2:a0:20:00:00:00' rump.arp -n $IP4DST
389 atf_check -s exit:0 -o match:'permanent' rump.arp -n $IP4DST
391 atf_check -s exit:0 -o ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:10 temp
392 $DEBUG && rump.arp -n -a
393 atf_check -s exit:0 -o match:'b2:a0:20:00:00:10' rump.arp -n 10.0.1.10
394 atf_check -s exit:0 -o not-match:'permanent' rump.arp -n 10.0.1.10
396 atf_check -s exit:0 -o ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:ff
397 atf_check -s exit:0 -o match:'b2:a0:20:00:00:ff' rump.arp -n 10.0.1.10
398 $DEBUG && rump.arp -n -a
407 pkt="ethertype ARP (0x0806), length 42: "
417 pkt="$mac > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),"
446 # Test#1: First setup an endpoint then create proxy arp entry
453 # Try to ping (should fail w/o proxy arp)
457 # Remove ARP entry as it may hang around in WAITDELETE a few seconds
458 atf_check -s ignore rump.arp -d $IP4DST_PROXYARP1
463 # Set up proxy ARP entry
466 rump.arp -s $IP4DST_PROXYARP1 $macaddr_dst $opts
467 atf_check -s exit:0 -o match:"$title" rump.arp -n $IP4DST_PROXYARP1
481 # Test#2: Create proxy arp entry then set up an endpoint
485 rump.arp -s $IP4DST_PROXYARP2 $macaddr_dst $opts
486 atf_check -s exit:0 -o match:"$title" rump.arp -n $IP4DST_PROXYARP2
493 # Remove ARP entry as it may hang around in WAITDELETE a few seconds
494 atf_check -s ignore rump.arp -d $IP4DST_PROXYARP2
499 # ARP reply should be sent
576 # Set a (valid) static ARP entry for the src server
578 $DEBUG && rump.arp -n -a
579 atf_check -s exit:0 -o ignore rump.arp -s $IP4SRC $macaddr_src
580 $DEBUG && rump.arp -n -a
582 # Test receiving an ARP request with the static ARP entry (as spa/sha)
650 # Test arp -d and resulting routing messages (RTM_DELETE)
654 atf_check -s exit:0 -o ignore rump.arp -d $IP4DST
683 $DEBUG && rump.arp -na
687 $DEBUG && rump.arp -na
689 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
705 $DEBUG && rump.arp -na
709 $DEBUG && rump.arp -na
712 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
728 atf_check -s exit:0 -o match:'shmif0' rump.arp -n $IP4DST
733 $DEBUG && rump.arp -na
735 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
757 $DEBUG && rump.arp -na
758 atf_check -s exit:0 -o match:'shmif0' rump.arp -n $IP4DST
759 atf_check -s exit:0 -o not-match:'shmif1' rump.arp -n $IP4DST
762 atf_check -s exit:0 -o ignore rump.arp -da
763 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
768 $DEBUG && rump.arp -na
769 atf_check -s exit:0 -o match:'shmif0' rump.arp -n $IP4DST
770 # ARP reply goes back via shmif1, so a cache is created on shmif1
771 atf_check -s exit:0 -o match:'shmif1' rump.arp -n $IP4DST
773 # Clean up by arp -da
774 atf_check -s exit:0 -o ignore rump.arp -da
775 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
780 atf_check -s exit:0 -o match:'shmif0' rump.arp -n $IP4DST
781 # ARP reply doen't come
782 atf_check -s exit:0 -o not-match:'shmif1' rump.arp -n $IP4DST
786 atf_check -s exit:0 -o ignore rump.arp -da
792 atf_check -s exit:0 -o match:'shmif0' rump.arp -n $IP4DST
793 # ARP reply goes back via shmif1
794 atf_check -s exit:0 -o match:'shmif1' rump.arp -n $IP4DST
796 # Clean up by arp -d <ip>
797 atf_check -s exit:0 -o ignore rump.arp -d $IP4DST
799 atf_check -s not-exit:0 -e match:'no entry' rump.arp -n $IP4DST
826 # ARP cache entries are not created for DAD/GARP packets.
828 atf_check -s exit:0 -o empty rump.arp -n -a
830 atf_check -s exit:0 -o empty rump.arp -n -a
837 $DEBUG && rump.arp -n -a
842 rump.arp -n -a
846 # An entry was first created as stale then sending an ARP reply made it delay.
848 rump.arp -n -a
854 # The receiver doesn't resolv the sender's address because the ARP request
884 # ARP sends request packets net.inet.arp.nd_bmaxtries times at most.
885 times=$(rump.sysctl -n net.inet.arp.nd_bmaxtries)
900 # Test default value of net.inet.arp.nd_bmaxtries
903 # Test net.inet.arp.nd_bmaxtries=1
904 atf_check -s exit:0 rump.sysctl -wq net.inet.arp.nd_bmaxtries=1
933 add_test cache_expiration "Tests for ARP cache expiration"
934 add_test command "Tests for arp_commands of arp(8)"
937 add_test cache_overwriting "Tests for behavior of overwriting ARP caches"
938 add_test proxy_arp_pub "Tests for Proxy ARP (pub)"
939 add_test proxy_arp_pubproxy "Tests for Proxy ARP (pub proxy)"
941 add_test static "Tests for static ARP entries"
942 add_test rtm "Tests for routing messages on operations of ARP entries"
943 add_test purge_on_route_change "Tests if ARP entries are removed on route change"
944 add_test purge_on_route_delete "Tests if ARP entries are removed on route delete"
945 add_test purge_on_ifdown "Tests if ARP entries are removed on interface down"
946 add_test stray_entries "Tests if ARP entries are removed on route change"
947 add_test cache_creation "Tests for ARP cache creation"
948 add_test cache_creation_nodad "Tests for ARP cache creation without DAD"
949 add_test resolution "Tests for ARP resolution"