Home
last modified time | relevance | path

Searched refs:AF_PACKET (Results 1 – 21 of 21) sorted by relevance

/linux-5.19.10/samples/bpf/
Dsock_example.h25 sll.sll_family = AF_PACKET; in open_raw_sock()
/linux-5.19.10/net/packet/
Ddiag.c144 rp->pdiag_family = AF_PACKET; in sk_diag_fill()
248 .family = AF_PACKET,
Daf_packet.c2459 sll->sll_family = AF_PACKET; in tpacket_rcv()
3308 if (sll->sll_family != AF_PACKET) in packet_bind()
3478 sll->sll_family = AF_PACKET; in packet_recvmsg()
3563 uaddr->sa_family = AF_PACKET; in packet_getname_spkt()
3587 sll->sll_family = AF_PACKET; in packet_getname()
/linux-5.19.10/tools/perf/trace/beauty/include/linux/
Dsocket.h199 #define AF_PACKET 17 /* Packet family */ macro
256 #define PF_PACKET AF_PACKET
/linux-5.19.10/include/linux/
Dsocket.h199 #define AF_PACKET 17 /* Packet family */ macro
256 #define PF_PACKET AF_PACKET
/linux-5.19.10/tools/testing/selftests/net/
Dtxring_overwrite.c96 laddr.sll_family = AF_PACKET; in setup_tx()
Dpsock_snd.c174 laddr.sll_family = AF_PACKET; in do_bind()
Dpsock_fanout.c78 addr.sll_family = AF_PACKET; in sock_fanout_open()
Dtoeplitz.c358 ll.sll_family = AF_PACKET; in create_ring()
Dioam6_parser.c629 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
Dgro.c721 daddr.sll_family = AF_PACKET; in bind_packetsocket()
817 daddr.sll_family = AF_PACKET; in gro_sender()
Dmsg_zerocopy.c511 laddr.sll_family = AF_PACKET; in do_tx()
Dtxtimestamp.c603 laddr.sll_family = AF_PACKET; in do_test()
/linux-5.19.10/Documentation/networking/
Dpacket_mmap.rst28 Non PACKET_MMAP capture process (plain AF_PACKET) is very
162 my_addr.sll_family = AF_PACKET;
598 AF_PACKET fanout mode
601 In the AF_PACKET fanout mode, packet reception can be load balanced among
645 int err, fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP));
664 ll.sll_family = AF_PACKET;
754 AF_PACKET TPACKET_V3 example
757 AF_PACKET's TPACKET_V3 ring buffer can be configured to use non-static frame
832 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
Daf_xdp.rst100 NOT consult the paper from 2017 on "AF_PACKET v4", the first attempt
/linux-5.19.10/arch/um/drivers/
Dvector_user.c168 fd = socket(AF_PACKET, SOCK_RAW, flags); in create_raw_fd()
180 sock.sll_family = AF_PACKET; in create_raw_fd()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c227 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
/linux-5.19.10/tools/bpf/bpftool/
Dnet.c340 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
/linux-5.19.10/tools/lib/bpf/
Dnetlink.c383 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()
/linux-5.19.10/net/mpls/
Daf_mpls.c741 case AF_PACKET: in nla_get_via()
1679 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via()
/linux-5.19.10/drivers/vhost/
Dnet.c1436 if (sock->sk->sk_family != AF_PACKET) { in get_raw_socket()