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.c2155 int packet_sock; in ZTEST() local
2166 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2167 zassert_true(packet_sock >= 0, "Cannot create packet socket (%d)", -errno); in ZTEST()
2169 ret = bind_socket(packet_sock, lo0); in ZTEST()
2191 test_check_ttl(client_sock, server_sock, packet_sock, in ZTEST()
2203 int packet_sock; in ZTEST() local
2215 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2216 zassert_true(packet_sock >= 0, "Cannot create packet socket (%d)", -errno); in ZTEST()
2218 ret = bind_socket(packet_sock, lo0); in ZTEST()
2240 test_check_ttl(client_sock, server_sock, packet_sock, in ZTEST()
[all …]