/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | lsm_cgroup.c | 14 #ifndef AF_PACKET 15 #define AF_PACKET 17 macro 58 if (family == AF_PACKET && protocol != 0) in real_create() 107 if (sock->sk->__sk_common.skc_family != AF_PACKET) in real_bind()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | lsm_cgroup.c | 201 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional() 204 fd = socket(AF_PACKET, SOCK_RAW, 0); in test_lsm_cgroup_functional() 210 .sll_family = AF_PACKET, in test_lsm_cgroup_functional()
|
D | lwt_redirect.c | 99 s = socket(AF_PACKET, SOCK_RAW, 0); in new_packet_sock() 110 .sll_family = AF_PACKET, in new_packet_sock()
|
D | xdp_bonding.c | 220 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
|
/Linux-v6.6/samples/bpf/ |
D | sock_example.h | 25 sll.sll_family = AF_PACKET; in open_raw_sock()
|
/Linux-v6.6/net/packet/ |
D | diag.c | 144 rp->pdiag_family = AF_PACKET; in sk_diag_fill() 248 .family = AF_PACKET,
|
D | af_packet.c | 2461 sll->sll_family = AF_PACKET; in tpacket_rcv() 3325 if (sll->sll_family != AF_PACKET) in packet_bind() 3491 sll->sll_family = AF_PACKET; in packet_recvmsg() 3577 uaddr->sa_family = AF_PACKET; in packet_getname_spkt() 3601 sll->sll_family = AF_PACKET; in packet_getname()
|
/Linux-v6.6/include/linux/ |
D | socket.h | 208 #define AF_PACKET 17 /* Packet family */ macro 265 #define PF_PACKET AF_PACKET
|
/Linux-v6.6/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 208 #define AF_PACKET 17 /* Packet family */ macro 265 #define PF_PACKET AF_PACKET
|
/Linux-v6.6/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 | csum.c | 415 addr.sll_family = AF_PACKET; in send_packet() 531 laddr.sll_family = AF_PACKET; in recv_prepare_packet_bind()
|
D | psock_fanout.c | 78 addr.sll_family = AF_PACKET; in sock_fanout_open()
|
D | toeplitz.c | 360 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-v6.6/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-v6.6/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-v6.6/tools/bpf/bpftool/ |
D | net.c | 347 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
|
/Linux-v6.6/tools/lib/bpf/ |
D | netlink.c | 437 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()
|
/Linux-v6.6/net/mpls/ |
D | af_mpls.c | 742 case AF_PACKET: in nla_get_via() 1685 AF_INET, AF_INET6, AF_DECnet, AF_PACKET, in nla_put_via()
|
/Linux-v6.6/drivers/vhost/ |
D | net.c | 1445 if (sock->sk->sk_family != AF_PACKET) { in get_raw_socket()
|