Lines Matching refs:ifindex
1718 int ifindex = 0; in run_ancillary_recvmsg_test() local
1818 ifindex = ((struct in_pktinfo *)CMSG_DATA(cmsg))->ipi_ifindex; in run_ancillary_recvmsg_test()
1826 ifindex = ((struct in6_pktinfo *)CMSG_DATA(cmsg))->ipi6_ifindex; in run_ancillary_recvmsg_test()
1846 zassert_equal(ifindex, net_if_get_by_iface(iface)); in run_ancillary_recvmsg_test()
2551 int ifindex; in ZTEST() local
2587 ifindex = net_if_get_by_iface(net_if_get_default()); in ZTEST()
2588 zexpect_equal(optval, ifindex, in ZTEST()
2590 ifindex, optval); in ZTEST()
2696 int ifindex; in ZTEST() local
2731 ifindex = net_if_get_by_iface(net_if_get_default()); in ZTEST()
2733 zexpect_equal(ret, ifindex, in ZTEST()
2735 ifindex, ret); in ZTEST()