/external/android-clat/ |
D | ring.c | 42 if (setsockopt(packetsock, SOL_PACKET, PACKET_VERSION, (void *)&ver, sizeof(ver))) { in ring_create() 48 if (setsockopt(packetsock, SOL_PACKET, PACKET_LOSS, (void *)&on, sizeof(on))) { in ring_create() 64 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_fanout.c | 87 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT, &val, sizeof(val))) { in sock_fanout_open() 109 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &bpf_prog, in sock_fanout_set_cbpf() 121 if (getsockopt(fd, SOL_PACKET, PACKET_FANOUT, in sock_fanout_getopts() 165 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &pfd, sizeof(pfd))) { in sock_fanout_set_ebpf() 187 if (setsockopt(fd, SOL_PACKET, PACKET_VERSION, (void *) &val, in sock_fanout_open_ring() 192 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, in sock_fanout_open_ring()
|
D | psock_snd.c | 231 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()
|
D | psock_tpacket.c | 110 ret = setsockopt(sock, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver)); in pfsocket() 349 ret = setsockopt(sock, SOL_PACKET, PACKET_LOSS, (void *) &discard, in __v1_v2_set_packet_loss_discard() 685 ret = setsockopt(sock, SOL_PACKET, type, &ring->req, in setup_ring() 691 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
|
D | txring_overwrite.c | 110 if (setsockopt(fdt, SOL_PACKET, PACKET_TX_RING, in setup_tx()
|
/external/strace/xlat/ |
D | socketlayers.h | 120 #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),
|
D | socketlayers.in | 20 SOL_PACKET 263
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt02.c | 87 TEST(setsockopt(sk, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver))); in create_skbuf() 93 return setsockopt(sk, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)); in create_skbuf()
|
/external/strace/tests/ |
D | net-tpacket_req.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
|
D | net-tpacket_stats.c | 19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
|
D | net-packet_mreq.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
|
/external/strace/tests-m32/ |
D | net-tpacket_req.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
|
D | net-tpacket_stats.c | 19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
|
D | net-packet_mreq.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
|
/external/strace/tests-mx32/ |
D | net-tpacket_req.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req()
|
D | net-tpacket_stats.c | 19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
|
D | net-packet_mreq.c | 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership()
|
/external/ltp/testcases/network/packet/ |
D | fanout01.c | 92 setsockopt(fd, SOL_PACKET, PACKET_FANOUT, in run()
|
/external/libpcap/ |
D | pcap-linux.c | 1314 if (getsockopt(handle->fd, SOL_PACKET, PACKET_STATISTICS, in pcap_stats_linux() 2233 if (getsockopt(sock_fd, SOL_PACKET, PACKET_RESERVE, &tp_reserve, in set_dlt_list_cooked() 2533 if (setsockopt(sock_fd, SOL_PACKET, PACKET_ADD_MEMBERSHIP, in activate_pf_packet() 2546 if (setsockopt(sock_fd, SOL_PACKET, PACKET_AUXDATA, &val, in activate_pf_packet() 2718 if (getsockopt(handle->fd, SOL_PACKET, PACKET_HDRLEN, &val, &len) < 0) { in init_tpacket() 2754 if (setsockopt(handle->fd, SOL_PACKET, PACKET_VERSION, &val, in init_tpacket() 2906 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE, in create_ring() 3168 if (setsockopt(handle->fd, SOL_PACKET, PACKET_TIMESTAMP, in create_ring() 3215 if (setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING, in create_ring() 3294 (void)setsockopt(handle->fd, SOL_PACKET, PACKET_RX_RING, in destroy_ring()
|
/external/strace/ |
D | net.c | 510 case SOL_PACKET: in print_sockopt_fd_level_name() 800 case SOL_PACKET: in print_getsockopt() 1041 case SOL_PACKET: in print_setsockopt()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired_common.c | 154 if (setsockopt(sock, SOL_PACKET, in wired_multicast_membership()
|
/external/scapy/scapy/arch/ |
D | linux.py | 74 SOL_PACKET = 263 variable 173 s.setsockopt(SOL_PACKET, cmd, mreq)
|
/external/python/cpython2/Lib/plat-linux2/ |
D | IN.py | 422 SOL_PACKET = 263 variable
|
/external/python/cpython2/Lib/plat-atheos/ |
D | IN.py | 440 SOL_PACKET = 263 variable
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 230 (cm->cmsg_level == SOL_PACKET && in __recv_errmsg_cmsg()
|