Home
last modified time | relevance | path

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

/Linux-v4.19/arch/um/drivers/
Dvector_user.c166 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in user_init_tap_fds()
181 sock.sll_family = AF_PACKET; in user_init_tap_fds()
219 rxfd = socket(AF_PACKET, SOCK_RAW, ETH_P_ALL); in user_init_raw_fds()
224 txfd = socket(AF_PACKET, SOCK_RAW, 0); /* Turn off RX on this fd */ in user_init_raw_fds()
236 sock.sll_family = AF_PACKET; in user_init_raw_fds()
246 sock.sll_family = AF_PACKET; in user_init_raw_fds()
/Linux-v4.19/samples/bpf/
Dsock_example.h25 sll.sll_family = AF_PACKET; in open_raw_sock()
/Linux-v4.19/net/packet/
Ddiag.c143 rp->pdiag_family = AF_PACKET; in sk_diag_fill()
247 .family = AF_PACKET,
Daf_packet.c2336 sll->sll_family = AF_PACKET; in tpacket_rcv()
3165 if (sll->sll_family != AF_PACKET) in packet_bind()
3336 sll->sll_family = AF_PACKET; in packet_recvmsg()
3406 uaddr->sa_family = AF_PACKET; in packet_getname_spkt()
3428 sll->sll_family = AF_PACKET; in packet_getname()
/Linux-v4.19/include/linux/
Dsocket.h180 #define AF_PACKET 17 /* Packet family */ macro
234 #define PF_PACKET AF_PACKET
/Linux-v4.19/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-v4.19/tools/testing/selftests/net/
Dpsock_snd.c174 laddr.sll_family = AF_PACKET; in do_bind()
Dpsock_fanout.c88 addr.sll_family = AF_PACKET; in sock_fanout_open()
Dmsg_zerocopy.c512 laddr.sll_family = AF_PACKET; in do_tx()
/Linux-v4.19/net/mpls/
Daf_mpls.c741 case AF_PACKET: in nla_get_via()
1607 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via()
/Linux-v4.19/drivers/vhost/
Dnet.c1221 if (uaddr.sa.sll_family != AF_PACKET) { in get_raw_socket()