Home
last modified time | relevance | path

Searched refs:packet_sock (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2169 int packet_sock; in ZTEST() local
2180 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2181 zassert_true(packet_sock >= 0, "Cannot create packet socket (%d)", -errno); in ZTEST()
2183 ret = bind_socket(packet_sock, lo0); in ZTEST()
2205 test_check_ttl(client_sock, server_sock, packet_sock, in ZTEST()
2217 int packet_sock; in ZTEST() local
2229 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2230 zassert_true(packet_sock >= 0, "Cannot create packet socket (%d)", -errno); in ZTEST()
2232 ret = bind_socket(packet_sock, lo0); in ZTEST()
2254 test_check_ttl(client_sock, server_sock, packet_sock, in ZTEST()
[all …]