| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | lsm_cgroup.c | 14 #ifndef AF_PACKET 15 #define AF_PACKET 17 macro 59 /* Reject non-tx-only AF_PACKET. */ in real_create() 60 if (family == AF_PACKET && protocol != 0) in real_create() 113 if (sk->__sk_common.skc_family != AF_PACKET) in real_bind()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | lwt_redirect.c | 99 s = socket(AF_PACKET, SOCK_RAW, 0); in new_packet_sock() 100 if (!ASSERT_GE(s, 0, "socket(AF_PACKET)")) in new_packet_sock() 110 .sll_family = AF_PACKET, in new_packet_sock() 116 if (!ASSERT_OK(err, "bind(AF_PACKET)")) { in new_packet_sock()
|
| H A D | xdp_context_test_run.c | 148 sock = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_test_packet()
|
| /linux/net/ieee802154/6lowpan/ |
| H A D | tx.c | 26 /* This callback will be called from AF_PACKET and IPv6 stack, the AF_PACKET 29 * TODO I think AF_PACKET DGRAM (sending/receiving) RAW (sending) makes no
|
| /linux/Documentation/networking/ |
| H A D | packet_mmap.rst | 28 Non PACKET_MMAP capture process (plain AF_PACKET) is very 162 my_addr.sll_family = AF_PACKET; 599 AF_PACKET fanout mode 602 In the AF_PACKET fanout mode, packet reception can be load balanced among 646 int err, fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)); 665 ll.sll_family = AF_PACKET; 755 AF_PACKET TPACKET_V3 example 758 AF_PACKET's TPACKET_V3 ring buffer can be configured to use non-static frame 833 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
| /linux/net/packet/ |
| H A D | Makefile | 6 obj-$(CONFIG_PACKET) += af_packet.o
|
| H A D | Kconfig | 15 be called af_packet.
|
| H A D | af_packet.c | 2487 sll->sll_family = AF_PACKET; in tpacket_rcv() 3396 if (sll->sll_family != AF_PACKET) 3562 sll->sll_family = AF_PACKET; in packet_recvmsg() 3664 uaddr->sa_family = AF_PACKET; in packet_getname_spkt() 3688 sll->sll_family = AF_PACKET; in packet_getname() 4967 MODULE_DESCRIPTION("Packet socket support (AF_PACKET)");
|
| /linux/samples/bpf/ |
| H A D | sock_example.h | 25 sll.sll_family = AF_PACKET; in open_raw_sock()
|
| /linux/Documentation/translations/zh_TW/dev-tools/ |
| H A D | gdb-kernel-debugging.rst | 72 loading @0xffffffffa00ca000: /home/user/linux/build/net/packet/af_packet.ko
|
| /linux/tools/testing/selftests/net/ |
| H A D | txring_overwrite.c | 96 laddr.sll_family = AF_PACKET; in setup_tx()
|
| H A D | psock_fanout.c | 68 fd = socket(AF_PACKET, SOCK_RAW, 0); in loopback_set_up_down() 106 addr.sll_family = AF_PACKET; in sock_fanout_open()
|
| H A D | psock_snd.c | 179 laddr.sll_family = AF_PACKET; in do_bind_proto()
|
| H A D | msg_zerocopy.c | 518 laddr.sll_family = AF_PACKET; in do_tx()
|
| /linux/Documentation/translations/zh_CN/dev-tools/ |
| H A D | gdb-kernel-debugging.rst | 76 loading @0xffffffffa00ca000: /home/user/linux/build/net/packet/af_packet.ko
|
| /linux/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 224 #define AF_PACKET 17 /* Packet family */ 281 #define PF_PACKET AF_PACKET 223 #define AF_PACKET global() macro
|
| /linux/include/linux/ |
| H A D | socket.h | 224 #define AF_PACKET 17 /* Packet family */ macro 281 #define PF_PACKET AF_PACKET
|
| /linux/net/openvswitch/ |
| H A D | vport-netdev.c | 40 * packet for anyone who came before us (e.g. tcpdump via AF_PACKET). in netdev_port_receive()
|
| /linux/drivers/net/can/dev/ |
| H A D | skb.c | 342 /* af_packet does not apply CAN skb specific settings */ in can_skb_init_valid()
|
| /linux/arch/um/drivers/ |
| H A D | vector_user.c | 174 fd = socket(AF_PACKET, SOCK_RAW, flags); in create_raw_fd() 186 sock.sll_family = AF_PACKET; in create_raw_fd()
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | csum.c | 416 addr.sll_family = AF_PACKET; in send_packet() 532 laddr.sll_family = AF_PACKET; in recv_prepare_packet_bind()
|
| /linux/tools/virtio/ |
| H A D | vhost_net_test.c | 106 dev->sock = socket(AF_PACKET, SOCK_RAW, htons(TEST_PTYPE)); in vdev_create_socket()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | toeplitz.c | 390 ll.sll_family = AF_PACKET; in create_ring()
|
| /linux/net/mac802154/ |
| H A D | iface.c | 522 /* Let hard_header_len set to IEEE802154_MIN_HEADER_LEN. AF_PACKET in ieee802154_if_setup()
|