Lines Matching refs:match
168 local match="$1"
172 $IP -6 rule add $match table $RTABLE
176 fib_rule6_del_by_pref "$match"
182 local match="$1"
185 $IP -6 rule add $match table $RTABLE 2>/dev/null
187 log_test $rc 2 "rule6 check: $match"
190 $IP -6 rule del $match table $RTABLE
197 local match
203 match="oif $DEV"
204 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table"
206 match="from $SRC_IP6 iif $DEV"
207 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table"
211 match="dsfield $cnt"
212 fib_rule6_test_reject "$match"
216 match="tos 0x10"
221 fib_rule6_test_match_n_redirect "$match" "$getmatch" \
225 match="fwmark 0x64"
227 fib_rule6_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
231 match="uidrange 100-100"
233 fib_rule6_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
238 match="sport 666 dport 777"
239 fib_rule6_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
244 match="ipproto tcp"
245 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto match"
250 match="ipproto ipv6-icmp"
251 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto ipv6-icmp match"
300 local match="$1"
304 $IP rule add $match table $RTABLE
308 fib_rule4_del_by_pref "$match"
314 local match="$1"
317 $IP rule add $match table $RTABLE 2>/dev/null
319 log_test $rc 2 "rule4 check: $match"
322 $IP rule del $match table $RTABLE
329 local match
335 match="oif $DEV"
336 fib_rule4_test_match_n_redirect "$match" "$match" "oif redirect to table"
342 match="from $SRC_IP iif $DEV"
343 fib_rule4_test_match_n_redirect "$match" "$match" "iif redirect to table"
348 match="dsfield $cnt"
349 fib_rule4_test_reject "$match"
353 match="tos 0x10"
358 fib_rule4_test_match_n_redirect "$match" "$getmatch" \
362 match="fwmark 0x64"
364 fib_rule4_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
368 match="uidrange 100-100"
370 fib_rule4_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
375 match="sport 666 dport 777"
376 fib_rule4_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
381 match="ipproto tcp"
382 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto tcp match"
387 match="ipproto icmp"
388 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto icmp match"