Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c41 #ifndef PACKET_VERSION
42 # define PACKET_VERSION 10 macro
87 TEST(setsockopt(sk, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver))); in create_skbuf()
/external/strace/xlat/
Dsock_packet_options.h41 #if defined(PACKET_VERSION) || (defined(HAVE_DECL_PACKET_VERSION) && HAVE_DECL_PACKET_VERSION)
42 XLAT(PACKET_VERSION),
Dsock_packet_options.in9 PACKET_VERSION
/external/android-clat/
Dring.c42 if (setsockopt(packetsock, SOL_PACKET, PACKET_VERSION, (void *)&ver, sizeof(ver))) { in ring_create()
/external/iproute2/include/uapi/linux/
Dif_packet.h47 #define PACKET_VERSION 10 macro
/external/kernel-headers/original/uapi/linux/
Dif_packet.h48 #define PACKET_VERSION 10 macro
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c187 if (setsockopt(fd, SOL_PACKET, PACKET_VERSION, (void *) &val, in sock_fanout_open_ring()
Dpsock_tpacket.c110 ret = setsockopt(sock, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver)); in pfsocket()
/external/libpcap/
Dpcap-linux.c2754 if (setsockopt(handle->fd, SOL_PACKET, PACKET_VERSION, &val, in init_tpacket()