Lines Matching refs:chain
881 # Create chain with up to 2 key blocks (ip_proto only)
882 tc chain add dev $h2 ingress chain 1 protocol ip flower \
884 # Create chain with 2-4 key blocks (ip_proto, src MAC)
885 tc chain add dev $h2 ingress chain 2 protocol ip flower \
888 # Create chain with 4-8 key blocks (ip_proto, src & dst MAC, IPv4 dest)
889 tc chain add dev $h2 ingress chain 3 protocol ip flower \
894 # Default chain contains all fields and therefore is 8-12 key blocks
895 tc chain add dev $h2 ingress chain 4
898 # so create a dummy rule per chain using a different pattern
901 tc filter add dev $h2 ingress chain $i protocol ip \
906 # Add rules to test Bloom filter, each in a different chain
910 $tcflags dst_ip 192.0.0.0/16 action goto chain 1
911 tc filter add dev $h2 ingress chain 1 protocol ip \
913 $tcflags action goto chain 2
914 tc filter add dev $h2 ingress chain 2 protocol ip \
916 $tcflags src_mac $h1mac action goto chain 3
917 tc filter add dev $h2 ingress chain 3 protocol ip \
919 $tcflags dst_ip 192.0.0.0/8 action goto chain 4
920 tc filter add dev $h2 ingress chain 4 protocol ip \
931 check_err $? "Did not match chain $i"
937 tc filter del dev $h2 ingress chain $i \
940 tc filter del dev $h2 ingress chain $i \
946 tc chain del dev $h2 ingress chain $i
1007 tc filter add dev $h2 ingress chain $i protocol ip \
1027 tc filter del dev $h2 ingress chain $i protocol ip \
1033 "max chain $chain_failed, mask $mask_failed"