Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dsock_example.h25 sll.sll_family = AF_PACKET; in open_raw_sock()
/Linux-v5.4/net/packet/
Ddiag.c144 rp->pdiag_family = AF_PACKET; in sk_diag_fill()
248 .family = AF_PACKET,
Daf_packet.c2349 sll->sll_family = AF_PACKET; in tpacket_rcv()
3196 if (sll->sll_family != AF_PACKET) in packet_bind()
3367 sll->sll_family = AF_PACKET; in packet_recvmsg()
3446 uaddr->sa_family = AF_PACKET; in packet_getname_spkt()
3468 sll->sll_family = AF_PACKET; in packet_getname()
/Linux-v5.4/include/linux/
Dsocket.h181 #define AF_PACKET 17 /* Packet family */ macro
235 #define PF_PACKET AF_PACKET
/Linux-v5.4/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.c74 addr.sll_family = AF_PACKET; in sock_fanout_open()
Dmsg_zerocopy.c512 laddr.sll_family = AF_PACKET; in do_tx()
/Linux-v5.4/Documentation/networking/
Dpacket_mmap.txt158 my_addr.sll_family = AF_PACKET;
573 + AF_PACKET fanout mode
576 In the AF_PACKET fanout mode, packet reception can be load balanced among
620 int err, fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP));
639 ll.sll_family = AF_PACKET;
730 + AF_PACKET TPACKET_V3 example
733 AF_PACKET's TPACKET_V3 ring buffer can be configured to use non-static frame
807 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/Linux-v5.4/arch/um/drivers/
Dvector_user.c160 fd = socket(AF_PACKET, SOCK_RAW, flags); in create_raw_fd()
172 sock.sll_family = AF_PACKET; in create_raw_fd()
/Linux-v5.4/tools/lib/bpf/
Dnetlink.c294 .ifm.ifi_family = AF_PACKET, in libbpf_nl_get_link()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c490 laddr.sll_family = AF_PACKET; in do_test()
/Linux-v5.4/net/mpls/
Daf_mpls.c740 case AF_PACKET: in nla_get_via()
1660 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via()
/Linux-v5.4/drivers/vhost/
Dnet.c1437 if (uaddr.sa.sll_family != AF_PACKET) { in get_raw_socket()