Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dsock_example.h25 sll.sll_family = AF_PACKET; in open_raw_sock()
/linux/net/packet/
A Ddiag.c144 rp->pdiag_family = AF_PACKET; in sk_diag_fill()
248 .family = AF_PACKET,
A Daf_packet.c2439 sll->sll_family = AF_PACKET; in tpacket_rcv()
3289 if (sll->sll_family != AF_PACKET) in packet_bind()
3460 sll->sll_family = AF_PACKET; in packet_recvmsg()
3539 uaddr->sa_family = AF_PACKET; in packet_getname_spkt()
3563 sll->sll_family = AF_PACKET; in packet_getname()
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h195 #define AF_PACKET 17 /* Packet family */ macro
252 #define PF_PACKET AF_PACKET
/linux/include/linux/
A Dsocket.h195 #define AF_PACKET 17 /* Packet family */ macro
252 #define PF_PACKET AF_PACKET
/linux/Documentation/networking/
A 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));
A Daf_xdp.rst100 NOT consult the paper from 2017 on "AF_PACKET v4", the first attempt
/linux/tools/testing/selftests/net/
A Dtxring_overwrite.c96 laddr.sll_family = AF_PACKET; in setup_tx()
A Dpsock_snd.c174 laddr.sll_family = AF_PACKET; in do_bind()
A Dpsock_fanout.c77 addr.sll_family = AF_PACKET; in sock_fanout_open()
A Dtoeplitz.c356 ll.sll_family = AF_PACKET; in create_ring()
A Dioam6_parser.c632 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
A Dgro.c720 daddr.sll_family = AF_PACKET; in bind_packetsocket()
816 daddr.sll_family = AF_PACKET; in gro_sender()
A Dmsg_zerocopy.c511 laddr.sll_family = AF_PACKET; in do_tx()
A Dtxtimestamp.c603 laddr.sll_family = AF_PACKET; in do_test()
/linux/arch/um/drivers/
A 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/tools/testing/selftests/bpf/prog_tests/
A Dxdp_bonding.c227 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
/linux/tools/bpf/bpftool/
A Dnet.c340 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
/linux/tools/lib/bpf/
A Dnetlink.c316 .ifinfo.ifi_family = AF_PACKET, in bpf_get_link_xdp_info()
/linux/net/mpls/
A Daf_mpls.c741 case AF_PACKET: in nla_get_via()
1680 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via()
/linux/drivers/vhost/
A Dnet.c1442 if (sock->sk->sk_family != AF_PACKET) { in get_raw_socket()

Completed in 77 milliseconds