Lines Matching +full:0 +full:x0800

12 VERBOSE=0
13 TRACING=0
34 [ $VERBOSE = 0 ] || echo $*
42 return 0
47 local start=0
53 return 0
68 NO_BIN=0
179 return 0
185 if [ $? -ne 0 ]; then
189 return 0
195 return 0
227 return 0
232 echo "$0 [OPTIONS] [TEST]..."
261 'in_port(1),eth(),eth_type(0x0806),arp()' 'psample(group=1)' &> /dev/null
273 min_key='in_port(1),eth(),eth_type(0x0800),ipv4()'
291 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
293 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
297 "in_port(1),eth(),eth_type(0x0800),ipv4()" \
307 "in_port(2),eth(),eth_type(0x0800),ipv4()" \
321 ovs_wait grep -qE "rate:4294967295,group:1,cookie:c0ffee data:[0-9a-f]{28}$" \
326 return 0
341 "${ns:0:1}0" "${ns:0:1}1" || return 1
354 'in_port(1),eth(),eth_type(0x0806),arp()' 'drop(10)' 2>/dev/null
365 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
367 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
371 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=1),icmp()" '2'
373 "in_port(2),eth(),eth_type(0x0800),ipv4(src=172.31.110.20,proto=1),icmp()" 'drop'
376 ovs_drop_reason_count 0x30001 # OVS_DROP_FLOW_ACTION
384 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=17),udp(dst=6000)" \
388 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=17),udp(dst=7000)" \
389 'drop(0)'
393 ovs_drop_reason_count 0x30004 # OVS_DROP_EXPLICIT_ACTION_ERROR
401 ovs_drop_reason_count 0x30003 # OVS_DROP_EXPLICIT_ACTION
407 return 0
425 "${ns:0:1}0" "${ns:0:1}1" || return 1
431 …HW_CLIENT=`ip netns exec client ip link show dev c1 | grep -E 'link/ether [0-9a-f:]+' | awk '{prin…
437 …HW_SERVER=`ip netns exec server ip link show dev s1 | grep -E 'link/ether [0-9a-f:]+' | awk '{prin…
441 …"in_port(1),eth(),eth_type(0x0806),arp(sip=172.31.110.10,tip=172.31.110.20,sha=$HW_CLIENT,tha=ff:f…
443 "in_port(2),eth(),eth_type(0x0806),arp()" '1' || return 1
447 return 0
465 "${ns:0:1}0" "${ns:0:1}1" || return 1
475 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
477 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
479 'ct_state(-trk),eth(),eth_type(0x0800),ipv4()' \
480 'ct(commit),recirc(0x1)' || return 1
482 … 'recirc_id(0x1),ct_state(+trk+new),in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' \
485 … 'recirc_id(0x1),ct_state(+trk+est),in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' \
488 … 'recirc_id(0x1),ct_state(+trk+est),in_port(2),eth(),eth_type(0x0800),ipv4(dst=172.31.110.10)' \
491 'recirc_id(0x1),ct_state(+trk+inv),eth(),eth_type(0x0800),ipv4()' 'drop' || \
508 if [ $? == 0 ]; then
514 return 0
530 "${ns:0:1}0" "${ns:0:1}1" || return 1
541 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
543 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
545 'in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' '2' || return 1
547 'in_port(2),eth(),eth_type(0x0800),ipv4(src=172.31.110.20)' '1' || return 1
553 return 0
570 "${ns:0:1}0" "${ns:0:1}1" || return 1
581 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
583 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
585 "ct_state(-trk),in_port(1),eth(),eth_type(0x0800),ipv4(dst=192.168.0.20)" \
586 "ct(commit,nat(dst=172.31.110.20)),recirc(0x1)"
588 "ct_state(-trk),in_port(2),eth(),eth_type(0x0800),ipv4()" \
589 "ct(commit,nat),recirc(0x2)"
592 "recirc_id(0x1),ct_state(+trk-inv),in_port(1),eth(),eth_type(0x0800),ipv4()" "2"
594 "recirc_id(0x2),ct_state(+trk-inv),in_port(2),eth(),eth_type(0x0800),ipv4()" "1"
610 if [ $? == 0 ]; then
616 return 0
632 "${ns:0:1}0" "${ns:0:1}1" || return 1
644 "in_port(1),eth(),eth_type(0x0806),arp()" "2" || return 1
646 "in_port(2),eth(),eth_type(0x0806),arp()" "1" || return 1
650 "ct_state(-trk),in_port(1),eth(),eth_type(0x0800),ipv4(dst=172.31.110.20)" \
651 "ct(commit,nat(src=192.168.0.20)),recirc(0x1)" || return 1
653 "recirc_id(0x1),ct_state(+trk-inv),in_port(1),eth(),eth_type(0x0800),ipv4()" \
659 "ct_state(-trk),in_port(2),eth(),eth_type(0x0800),ipv4()" \
660 "ct(commit,nat),recirc(0x2)" || return 1
662 …"recirc_id(0x2),ct_state(+rel+trk),in_port(2),eth(),eth_type(0x0800),ipv4(src=172.31.110.20,dst=17…
665 …"recirc_id(0x2),ct_state(+rel+trk),in_port(2),eth(),eth_type(0x0800),ipv4(dst=192.168.0.20,proto=1…
674 | grep "drop" | grep "packets:0" >/dev/null || return 1
677 return 0
689 PRE_TEST=$(dmesg | grep -E "RIP: [0-9a-fA-Fx]+:ovs_dp_cmd_new\+")
690 ovs_add_dp "test_netlink_checks" nv0 -V 0 || return 1
691 POST_TEST=$(dmesg | grep -E "RIP: [0-9a-fA-Fx]+:ovs_dp_cmd_new\+")
713 'in_port(1),eth(),eth_type(0x800),ipv4()' \
725 'in_port(1),eth(),eth_type(0x0806),arp()' 'drop(0),2' \
732 return 0
750 …grep -E "MISS upcall\[0/yes\]: .*arp\(sip=172.31.110.1,tip=172.31.110.20,op=1,sha=" $ovs_dir/left0…
751 return 0
780 if [ $ret -eq 0 ]; then
805 0)
806 [ $all_skipped = true ] && [ $exitcode=$ksft_skip ] && exitcode=0
822 exitcode=0
823 desc=0
860 run_this=0