Searched refs:AF_PACKET (Results 1 – 21 of 21) sorted by relevance
/linux-5.19.10/samples/bpf/ |
D | sock_example.h | 25 sll.sll_family = AF_PACKET; in open_raw_sock()
|
/linux-5.19.10/net/packet/ |
D | diag.c | 144 rp->pdiag_family = AF_PACKET; in sk_diag_fill() 248 .family = AF_PACKET,
|
D | af_packet.c | 2459 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/ |
D | socket.h | 199 #define AF_PACKET 17 /* Packet family */ macro 256 #define PF_PACKET AF_PACKET
|
/linux-5.19.10/include/linux/ |
D | socket.h | 199 #define AF_PACKET 17 /* Packet family */ macro 256 #define PF_PACKET AF_PACKET
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | txring_overwrite.c | 96 laddr.sll_family = AF_PACKET; in setup_tx()
|
D | psock_snd.c | 174 laddr.sll_family = AF_PACKET; in do_bind()
|
D | psock_fanout.c | 78 addr.sll_family = AF_PACKET; in sock_fanout_open()
|
D | toeplitz.c | 358 ll.sll_family = AF_PACKET; in create_ring()
|
D | ioam6_parser.c | 629 fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6)); in main()
|
D | gro.c | 721 daddr.sll_family = AF_PACKET; in bind_packetsocket() 817 daddr.sll_family = AF_PACKET; in gro_sender()
|
D | msg_zerocopy.c | 511 laddr.sll_family = AF_PACKET; in do_tx()
|
D | txtimestamp.c | 603 laddr.sll_family = AF_PACKET; in do_test()
|
/linux-5.19.10/Documentation/networking/ |
D | packet_mmap.rst | 28 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));
|
D | af_xdp.rst | 100 NOT consult the paper from 2017 on "AF_PACKET v4", the first attempt
|
/linux-5.19.10/arch/um/drivers/ |
D | vector_user.c | 168 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/ |
D | xdp_bonding.c | 227 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
|
/linux-5.19.10/tools/bpf/bpftool/ |
D | net.c | 340 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
|
/linux-5.19.10/tools/lib/bpf/ |
D | netlink.c | 383 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()
|
/linux-5.19.10/net/mpls/ |
D | af_mpls.c | 741 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/ |
D | net.c | 1436 if (sock->sk->sk_family != AF_PACKET) { in get_raw_socket()
|