Lines Matching refs:ifindex
47 c->ifindex = if_nametoindex(c->ifname); in jump_vnet()
210 verify_route_message_extra(struct rt_msghdr *rtm, int ifindex, int rtm_flags) in verify_route_message_extra() argument
212 RTSOCK_ATF_REQUIRE_MSG(rtm, rtm->rtm_index == ifindex, in verify_route_message_extra()
213 "expected ifindex %d, got %d", ifindex, rtm->rtm_index); in verify_route_message_extra()
230 verify_link_gateway(struct rt_msghdr *rtm, int ifindex) in verify_link_gateway() argument
239 RTSOCK_ATF_REQUIRE_MSG(rtm, sdl->sdl_index == ifindex, "GW ifindex is %d", sdl->sdl_index); in verify_link_gateway()
296 verify_route_message_extra(rtm, c->ifindex, RTF_UP | RTF_DONE | RTF_PINNED); in ATF_TC_BODY()
299 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
304 RTSOCK_ATF_REQUIRE_MSG(rtm, sdl->sdl_index == c->ifindex, "GW ifindex is %d", sdl->sdl_index); in ATF_TC_BODY()
340 verify_route_message_extra(rtm, c->ifindex, RTF_UP | RTF_DONE | RTF_PINNED); in ATF_TC_BODY()
438 verify_route_message_extra(rtm, c->ifindex, in ATF_TC_BODY()
512 verify_route_message_extra(rtm, c->ifindex, RTF_DONE | RTF_GATEWAY | RTF_STATIC); in ATF_TC_BODY()
683 verify_route_message_extra(rtm, c->ifindex, desired_flags | RTF_DONE); in ATF_TC_BODY()
692 verify_route_message_extra(rtm, c->ifindex, desired_flags | RTF_DONE); in ATF_TC_BODY()
730 verify_route_message_extra(rtm, c->ifindex, in ATF_TC_BODY()
780 verify_route_message_extra(rtm, c->ifindex, RTF_DONE | RTF_GATEWAY | RTF_STATIC); in ATF_TC_BODY()
955 verify_route_message_extra(rtm, c->ifindex, desired_flags | RTF_DONE); in ATF_TC_BODY()
964 verify_route_message_extra(rtm, c->ifindex, desired_flags | RTF_DONE); in ATF_TC_BODY()
1005 verify_route_message_extra(rtm, c->ifindex, in ATF_TC_BODY()
1052 verify_route_message_extra(rtm, c->ifindex, in ATF_TC_BODY()
1094 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1132 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1135 verify_route_message_extra(rtm, c->ifindex, expected_rt_flags); in ATF_TC_BODY()
1226 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1261 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1264 verify_route_message_extra(rtm, c->ifindex, expected_rt_flags); in ATF_TC_BODY()
1298 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1301 verify_route_message_extra(rtm, c->ifindex, expected_rt_flags); in ATF_TC_BODY()
1383 verify_link_gateway(rtm, c->ifindex); in ATF_TC_BODY()
1386 verify_route_message_extra(rtm, c->ifindex, expected_rt_flags); in ATF_TC_BODY()