Lines Matching +full:0 +full:x0800

12 VERBOSE=0
13 TRACING=0
25 [ $VERBOSE = 0 ] || echo $*
35 NO_BIN=0
134 return 0
140 if [ $? -ne 0 ]; then
144 return 0
150 return 0
174 echo "$0 [OPTIONS] [TEST]..."
198 "${ns:0:1}0" "${ns:0:1}1" || return 1
211 'in_port(1),eth(),eth_type(0x0806),arp()' 'drop(10)' 2>/dev/null
222 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
224 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
228 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=1),icmp()" '2'
230 "in_port(2),eth(),eth_type(0x0800),ipv4(src=172.31.110.20,proto=1),icmp()" 'drop'
233 ovs_drop_reason_count 0x30001 # OVS_DROP_FLOW_ACTION
241 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=17),udp(dst=6000)" \
245 "in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10,proto=17),udp(dst=7000)" \
246 'drop(0)'
250 ovs_drop_reason_count 0x30004 # OVS_DROP_EXPLICIT_ACTION_ERROR
258 ovs_drop_reason_count 0x30003 # OVS_DROP_EXPLICIT_ACTION
264 return 0
282 "${ns:0:1}0" "${ns:0:1}1" || return 1
288 …HW_CLIENT=`ip netns exec client ip link show dev c1 | grep -E 'link/ether [0-9a-f:]+' | awk '{prin…
294 …HW_SERVER=`ip netns exec server ip link show dev s1 | grep -E 'link/ether [0-9a-f:]+' | awk '{prin…
298 …"in_port(1),eth(),eth_type(0x0806),arp(sip=172.31.110.10,tip=172.31.110.20,sha=$HW_CLIENT,tha=ff:f…
300 "in_port(2),eth(),eth_type(0x0806),arp()" '1' || return 1
304 return 0
322 "${ns:0:1}0" "${ns:0:1}1" || return 1
332 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
334 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
336 'ct_state(-trk),eth(),eth_type(0x0800),ipv4()' \
337 'ct(commit),recirc(0x1)' || return 1
339 … 'recirc_id(0x1),ct_state(+trk+new),in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' \
342 … 'recirc_id(0x1),ct_state(+trk+est),in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' \
345 … 'recirc_id(0x1),ct_state(+trk+est),in_port(2),eth(),eth_type(0x0800),ipv4(dst=172.31.110.10)' \
348 'recirc_id(0x1),ct_state(+trk+inv),eth(),eth_type(0x0800),ipv4()' 'drop' || \
365 if [ $? == 0 ]; then
371 return 0
387 "${ns:0:1}0" "${ns:0:1}1" || return 1
398 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
400 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
402 'in_port(1),eth(),eth_type(0x0800),ipv4(src=172.31.110.10)' '2' || return 1
404 'in_port(2),eth(),eth_type(0x0800),ipv4(src=172.31.110.20)' '1' || return 1
410 return 0
427 "${ns:0:1}0" "${ns:0:1}1" || return 1
438 'in_port(1),eth(),eth_type(0x0806),arp()' '2' || return 1
440 'in_port(2),eth(),eth_type(0x0806),arp()' '1' || return 1
442 "ct_state(-trk),in_port(1),eth(),eth_type(0x0800),ipv4(dst=192.168.0.20)" \
443 "ct(commit,nat(dst=172.31.110.20)),recirc(0x1)"
445 "ct_state(-trk),in_port(2),eth(),eth_type(0x0800),ipv4()" \
446 "ct(commit,nat),recirc(0x2)"
449 "recirc_id(0x1),ct_state(+trk-inv),in_port(1),eth(),eth_type(0x0800),ipv4()" "2"
451 "recirc_id(0x2),ct_state(+trk-inv),in_port(2),eth(),eth_type(0x0800),ipv4()" "1"
467 if [ $? == 0 ]; then
473 return 0
485 PRE_TEST=$(dmesg | grep -E "RIP: [0-9a-fA-Fx]+:ovs_dp_cmd_new\+")
486 ovs_add_dp "test_netlink_checks" nv0 -V 0 || return 1
487 POST_TEST=$(dmesg | grep -E "RIP: [0-9a-fA-Fx]+:ovs_dp_cmd_new\+")
509 'in_port(1),eth(),eth_type(0x800),ipv4()' \
521 'in_port(1),eth(),eth_type(0x0806),arp()' 'drop(0),2' \
528 return 0
545 …grep -E "MISS upcall\[0/yes\]: .*arp\(sip=172.31.110.1,tip=172.31.110.20,op=1,sha=" $ovs_dir/left0…
546 return 0
571 if [ $ret -eq 0 ]; then
596 0)
597 [ $all_skipped = true ] && [ $exitcode=$ksft_skip ] && exitcode=0
613 exitcode=0
614 desc=0
651 run_this=0