Searched refs:AF_PACKET (Results 1 – 23 of 23) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | lsm_cgroup.c | 10 #ifndef AF_PACKET 11 #define AF_PACKET 17 macro 54 if (family == AF_PACKET && protocol != 0) in real_create() 103 if (sock->sk->__sk_common.skc_family != AF_PACKET) in real_bind()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | lsm_cgroup.c | 198 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional() 201 fd = socket(AF_PACKET, SOCK_RAW, 0); in test_lsm_cgroup_functional() 207 .sll_family = AF_PACKET, in test_lsm_cgroup_functional()
|
D | xdp_bonding.c | 227 s = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in send_udp_packets()
|
/Linux-v6.1/samples/bpf/ |
D | sock_example.h | 25 sll.sll_family = AF_PACKET; in open_raw_sock()
|
/Linux-v6.1/net/packet/ |
D | diag.c | 144 rp->pdiag_family = AF_PACKET; in sk_diag_fill() 248 .family = AF_PACKET,
|
D | af_packet.c | 2458 sll->sll_family = AF_PACKET; in tpacket_rcv() 3307 if (sll->sll_family != AF_PACKET) in packet_bind() 3477 sll->sll_family = AF_PACKET; in packet_recvmsg() 3561 uaddr->sa_family = AF_PACKET; in packet_getname_spkt() 3585 sll->sll_family = AF_PACKET; in packet_getname()
|
/Linux-v6.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 204 #define AF_PACKET 17 /* Packet family */ macro 261 #define PF_PACKET AF_PACKET
|
/Linux-v6.1/include/linux/ |
D | socket.h | 204 #define AF_PACKET 17 /* Packet family */ macro 261 #define PF_PACKET AF_PACKET
|
/Linux-v6.1/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-v6.1/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.1/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.1/tools/bpf/bpftool/ |
D | net.c | 340 .ifm.ifi_family = AF_PACKET, in netlink_get_link()
|
/Linux-v6.1/tools/lib/bpf/ |
D | netlink.c | 366 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()
|
/Linux-v6.1/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-v6.1/drivers/vhost/ |
D | net.c | 1437 if (sock->sk->sk_family != AF_PACKET) { in get_raw_socket()
|