Lines Matching refs:second
130 struct net_if *second; member
153 ud->second = iface; in iface_cb()
202 zassert_not_null(ud.second, "2nd Ethernet interface not found"); in __test_packet_sockets()
207 *sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in __test_packet_sockets()
213 ret = bind_socket(*sock2, ud.second); in __test_packet_sockets()
312 zassert_not_null(ud.second, "2nd Ethernet interface not found"); in ZTEST()
317 sock2 = setup_socket(ud.second, SOCK_DGRAM, htons(ETH_P_TSN)); in ZTEST()
323 ret = bind_socket(sock2, ud.second); in ZTEST()
422 zassert_not_null(ud.second, "2nd Ethernet interface not found"); in ZTEST()
427 sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
433 ret = bind_socket(sock2, ud.second); in ZTEST()
521 zassert_not_null(ud.second, "2nd Ethernet interface not found"); in ZTEST()
526 sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
529 sock3 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
535 ret = bind_socket(sock2, ud.second); in ZTEST()
538 ret = bind_socket(sock3, ud.second); in ZTEST()