4 "name": "Test matching of source IP",
17 "$TC qdisc del dev $DEV1 ingress",
23 "$TC qdisc add dev $DEV1 ingress"
25 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.61 flowid 1:1 action ok",
29 "packet": "Ether(type=0x800)/IP(src='16.61.16.61')/ICMP()"
32 "verifyCmd": "$TC -s -j filter ls dev $DEV1 ingress prio 3",
47 "$TC qdisc del dev $DEV1 ingress"
52 "name": "Test matching of source IP with wrong count",
65 "$TC qdisc del dev $DEV1 ingress",
71 "$TC qdisc add dev $DEV1 ingress"
73 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.61 flowid 1:1 action ok",
77 "packet": "Ether(type=0x800)/IP(src='16.61.16.61')/ICMP()"
80 "verifyCmd": "$TC -s -j filter ls dev $DEV1 parent ffff:",
95 "$TC qdisc del dev $DEV1 ingress"