Lines Matching full:main
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
108 fib4_trap_check $ns "table main 192.0.2.1/32 dev dummy1" true
109 check_err $? "Main table route in hardware when should not"
114 # Test that local routes can replace routes in main table.
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
116 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" false
117 check_err $? "Main table route not in hardware when should"
121 check_err $? "Local table route did not replace route in main table when should"
123 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" true
124 check_err $? "Main table route was not replaced when should"
204 ip -n $ns route add table main 2001:db8:1::1/128 dev dummy1
205 fib6_trap_check $ns "table main 2001:db8:1::1/128 dev dummy1" true
206 check_err $? "Main table route in hardware when should not"
211 # Test that local routes can replace routes in main table.
212 ip -n $ns route add table main 2001:db8:1::2/128 dev dummy1
213 fib6_trap_check $ns "table main 2001:db8:1::2/128 dev dummy1" false
214 check_err $? "Main table route not in hardware when should"
218 check_err $? "Local route route did not replace route in main table when should"
220 fib6_trap_check $ns "table main 2001:db8:1::2/128 dev dummy1" true
221 check_err $? "Main table route was not replaced when should"