Lines Matching refs:match

106 	local match="$1"
110 $IP -6 rule add $match table $RTABLE
114 fib_rule6_del_by_pref "$match"
120 local match="$1"
123 $IP -6 rule add $match table $RTABLE 2>/dev/null
125 log_test $rc 2 "rule6 check: $match"
128 $IP -6 rule del $match table $RTABLE
135 local match
141 match="oif $DEV"
142 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table"
144 match="from $SRC_IP6 iif $DEV"
145 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table"
149 match="dsfield $cnt"
150 fib_rule6_test_reject "$match"
154 match="tos 0x10"
159 fib_rule6_test_match_n_redirect "$match" "$getmatch" \
163 match="fwmark 0x64"
165 fib_rule6_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
169 match="uidrange 100-100"
171 fib_rule6_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
176 match="sport 666 dport 777"
177 fib_rule6_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
182 match="ipproto tcp"
183 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto match"
188 match="ipproto ipv6-icmp"
189 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto ipv6-icmp match"
207 local match="$1"
211 $IP rule add $match table $RTABLE
215 fib_rule4_del_by_pref "$match"
221 local match="$1"
224 $IP rule add $match table $RTABLE 2>/dev/null
226 log_test $rc 2 "rule4 check: $match"
229 $IP rule del $match table $RTABLE
236 local match
242 match="oif $DEV"
243 fib_rule4_test_match_n_redirect "$match" "$match" "oif redirect to table"
249 match="from $SRC_IP iif $DEV"
250 fib_rule4_test_match_n_redirect "$match" "$match" "iif redirect to table"
255 match="dsfield $cnt"
256 fib_rule4_test_reject "$match"
260 match="tos 0x10"
265 fib_rule4_test_match_n_redirect "$match" "$getmatch" \
269 match="fwmark 0x64"
271 fib_rule4_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
275 match="uidrange 100-100"
277 fib_rule4_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
282 match="sport 666 dport 777"
283 fib_rule4_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
288 match="ipproto tcp"
289 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto tcp match"
294 match="ipproto icmp"
295 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto icmp match"