Home
last modified time | relevance | path

Searched refs:SOL_PACKET (Results 1 – 25 of 56) sorted by relevance

123

/external/syzkaller/sys/linux/
Dsocket_packet.txt55 getsockopt$packet_int(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_in…
56 setsockopt$packet_int(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_in…
57 getsockopt$packet_buf(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_bu…
58 setsockopt$packet_buf(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_bu…
70 setsockopt$packet_add_memb(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_ADD_MEMBER…
71 setsockopt$packet_drop_memb(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_DROP_MEMB…
95 setsockopt$packet_rx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_RX_RING], o…
96 setsockopt$packet_tx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_TX_RING], o…
107 setsockopt$packet_fanout(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_FANOUT], opt…
109 setsockopt$packet_fanout_data(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_FANOUT_…
Dsocket_packet_386.const63 SOL_PACKET = 263
Dsocket_packet_ppc64le.const63 SOL_PACKET = 263
Dsocket_packet_arm64.const63 SOL_PACKET = 263
Dsocket_packet_amd64.const63 SOL_PACKET = 263
Dsocket_packet_arm.const63 SOL_PACKET = 263
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c101 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT, &val, sizeof(val))) { in sock_fanout_open()
123 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &bpf_prog, in sock_fanout_set_cbpf()
135 if (getsockopt(fd, SOL_PACKET, PACKET_FANOUT, in sock_fanout_getopts()
179 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &pfd, sizeof(pfd))) { in sock_fanout_set_ebpf()
201 if (setsockopt(fd, SOL_PACKET, PACKET_VERSION, (void *) &val, in sock_fanout_open_ring()
206 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
Dpsock_snd.c231 setsockopt(fd, SOL_PACKET, PACKET_QDISC_BYPASS, &one, sizeof(one))) in do_tx()
235 setsockopt(fd, SOL_PACKET, PACKET_VNET_HDR, &one, sizeof(one))) in do_tx()
Dpsock_tpacket.c124 ret = setsockopt(sock, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver)); in pfsocket()
363 ret = setsockopt(sock, SOL_PACKET, PACKET_LOSS, (void *) &discard, in __v1_v2_set_packet_loss_discard()
699 ret = setsockopt(sock, SOL_PACKET, type, &ring->req, in setup_ring()
705 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
/external/android-clat/
Dring.c40 if (setsockopt(packetsock, SOL_PACKET, PACKET_VERSION, (void *)&ver, sizeof(ver))) { in ring_create()
46 if (setsockopt(packetsock, SOL_PACKET, PACKET_LOSS, (void *)&on, sizeof(on))) { in ring_create()
62 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
/external/strace/xlat/
Dsocketlayers.h120 #if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET)
122 static_assert((SOL_PACKET) == (263), "SOL_PACKET != 263");
125 # define SOL_PACKET 263
301 XLAT(SOL_PACKET),
Dsocketlayers.in20 SOL_PACKET 263
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt02.c99 TEST(setsockopt(sk, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver))); in create_skbuf()
105 return setsockopt(sk, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)); in create_skbuf()
/external/strace/tests/
Dnet-tpacket_req.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
Dnet-tpacket_stats.c19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
Dnet-packet_mreq.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
/external/strace/tests-mx32/
Dnet-tpacket_req.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
Dnet-tpacket_stats.c19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
Dnet-packet_mreq.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
/external/strace/tests-m32/
Dnet-tpacket_req.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
Dnet-tpacket_stats.c19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
Dnet-packet_mreq.c11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
/external/ltp/testcases/network/packet/
Dfanout01.c92 setsockopt(fd, SOL_PACKET, PACKET_FANOUT, in run()
/external/libpcap/
Dpcap-linux.c278 #ifndef SOL_PACKET
285 #define SOL_PACKET 263 macro
1935 cmsg->cmsg_level != SOL_PACKET ||
2206 if (getsockopt(handle->fd, SOL_PACKET, PACKET_STATISTICS,
3837 if (setsockopt(sock_fd, SOL_PACKET, PACKET_ADD_MEMBERSHIP,
3850 if (setsockopt(sock_fd, SOL_PACKET, PACKET_AUXDATA, &val,
4074 if (getsockopt(handle->fd, SOL_PACKET, PACKET_HDRLEN, &val, &len) < 0) {
4087 if (setsockopt(handle->fd, SOL_PACKET, PACKET_VERSION, &val,
4097 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE, &val,
4368 if (getsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE,
[all …]
/external/strace/
Dnet.c510 case SOL_PACKET: in print_sockopt_fd_level_name()
800 case SOL_PACKET: in print_getsockopt()
1041 case SOL_PACKET: in print_setsockopt()

123