Lines Matching refs:match

102 	local match="$1"
105 $IP -6 rule add $match table $RTABLE
109 fib_rule6_del_by_pref "$match"
110 log_test $? 0 "rule6 del by pref: $match"
118 match="oif $DEV"
119 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table"
121 match="from $SRC_IP6 iif $DEV"
122 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table"
124 match="tos 0x10"
125 fib_rule6_test_match_n_redirect "$match" "$match" "tos redirect to table"
127 match="fwmark 0x64"
129 fib_rule6_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
133 match="uidrange 100-100"
135 fib_rule6_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
140 match="sport 666 dport 777"
141 fib_rule6_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
146 match="ipproto tcp"
147 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto match"
152 match="ipproto ipv6-icmp"
153 fib_rule6_test_match_n_redirect "$match" "$match" "ipproto ipv6-icmp match"
171 local match="$1"
174 $IP rule add $match table $RTABLE
178 fib_rule4_del_by_pref "$match"
179 log_test $? 0 "rule4 del by pref: $match"
187 match="oif $DEV"
188 fib_rule4_test_match_n_redirect "$match" "$match" "oif redirect to table"
194 match="from $SRC_IP iif $DEV"
195 fib_rule4_test_match_n_redirect "$match" "$match" "iif redirect to table"
198 match="tos 0x10"
199 fib_rule4_test_match_n_redirect "$match" "$match" "tos redirect to table"
201 match="fwmark 0x64"
203 fib_rule4_test_match_n_redirect "$match" "$getmatch" "fwmark redirect to table"
207 match="uidrange 100-100"
209 fib_rule4_test_match_n_redirect "$match" "$getmatch" "uid redirect to table"
214 match="sport 666 dport 777"
215 fib_rule4_test_match_n_redirect "$match" "$match" "sport and dport redirect to table"
220 match="ipproto tcp"
221 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto tcp match"
226 match="ipproto icmp"
227 fib_rule4_test_match_n_redirect "$match" "$match" "ipproto icmp match"