| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A 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()
|
| H A D | psock_tpacket.c | 107 ret = setsockopt(sock, SOL_PACKET, PACKET_VERSION, &ver, sizeof(ver)); in pfsocket() 346 ret = setsockopt(sock, SOL_PACKET, PACKET_LOSS, (void *) &discard, in __v1_v2_set_packet_loss_discard() 681 ret = setsockopt(sock, SOL_PACKET, type, &ring->req, in setup_ring() 687 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
|
| H A 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()
|
| H A D | txring_overwrite.c | 110 if (setsockopt(fdt, SOL_PACKET, PACKET_TX_RING, in setup_tx()
|
| H A D | msg_zerocopy.c | 420 (cm->cmsg_level == SOL_PACKET && cm->cmsg_type == PACKET_TX_TIMESTAMP))) in do_recv_completion()
|
| H A D | txtimestamp.c | 325 (cm->cmsg_level == SOL_PACKET && in __recv_errmsg_cmsg()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/libnet/libnet/ |
| H A D | 0001-Support-musl-libc-remove-support-for-glibc-2.1.patch | 42 #ifndef SOL_PACKET 43 #define SOL_PACKET 263 44 #endif /* SOL_PACKET */
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | packet_mmap.rst | 193 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, (void *) &req, sizeof(req)) 197 setsockopt(fd, SOL_PACKET, PACKET_TX_RING, (void *) &req, sizeof(req)) 423 setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &foo, sizeof(foo)); 424 setsockopt(fd, SOL_PACKET, PACKET_TX_RING, &bar, sizeof(bar)); 547 setsockopt(fd, SOL_PACKET, PACKET_VERSION, &val, sizeof(val)); 548 getsockopt(fd, SOL_PACKET, PACKET_VERSION, &val, sizeof(val)); 674 err = setsockopt(fd, SOL_PACKET, PACKET_FANOUT, 839 err = setsockopt(fd, SOL_PACKET, PACKET_VERSION, &v, sizeof(v)); 853 err = setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &ring->req, 990 err = getsockopt(fd, SOL_PACKET, PACKET_STATISTICS, &stats, &len); [all …]
|
| /OK3568_Linux_fs/u-boot/arch/sandbox/cpu/ |
| H A D | eth-raw-os.c | 71 ret = setsockopt(priv->sd, SOL_PACKET, PACKET_ADD_MEMBERSHIP, in _raw_packet_start()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/ |
| H A D | socket.h | 149 #define SOL_PACKET 263 macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/ |
| H A D | socket.h | 149 #define SOL_PACKET 263 macro
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | vector_user.c | 483 SOL_PACKET, PACKET_QDISC_BYPASS, in uml_raw_enable_qdisc_bypass() 495 SOL_PACKET, PACKET_VNET_HDR, in uml_raw_enable_vnet_headers()
|
| /OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 342 #define SOL_PACKET 263 macro
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | socket.h | 342 #define SOL_PACKET 263 macro
|
| /OK3568_Linux_fs/kernel/net/packet/ |
| H A D | af_packet.c | 3385 SOL_PACKET, PACKET_TX_TIMESTAMP); in packet_recvmsg() 3497 put_cmsg(msg, SOL_PACKET, PACKET_AUXDATA, sizeof(aux), &aux); in packet_recvmsg() 3719 if (level != SOL_PACKET) in packet_setsockopt() 3992 if (level != SOL_PACKET) in packet_getsockopt()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | tun.c | 2626 SOL_PACKET, TUN_TX_TIMESTAMP); in tun_recvmsg()
|