Searched refs:AF_PACKET (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/arch/um/drivers/ |
D | vector_user.c | 166 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/ |
D | sock_example.h | 25 sll.sll_family = AF_PACKET; in open_raw_sock()
|
/Linux-v4.19/net/packet/ |
D | diag.c | 143 rp->pdiag_family = AF_PACKET; in sk_diag_fill() 247 .family = AF_PACKET,
|
D | af_packet.c | 2336 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/ |
D | socket.h | 180 #define AF_PACKET 17 /* Packet family */ macro 234 #define PF_PACKET AF_PACKET
|
/Linux-v4.19/Documentation/networking/ |
D | packet_mmap.txt | 158 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/ |
D | psock_snd.c | 174 laddr.sll_family = AF_PACKET; in do_bind()
|
D | psock_fanout.c | 88 addr.sll_family = AF_PACKET; in sock_fanout_open()
|
D | msg_zerocopy.c | 512 laddr.sll_family = AF_PACKET; in do_tx()
|
/Linux-v4.19/net/mpls/ |
D | af_mpls.c | 741 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/ |
D | net.c | 1221 if (uaddr.sa.sll_family != AF_PACKET) { in get_raw_socket()
|