Home
last modified time | relevance | path

Searched refs:sockaddr_ll (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/include/uapi/linux/
A Dif_packet.h14 struct sockaddr_ll { struct
146 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll))
251 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll))
252 #define TPACKET3_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket3_hdr)) + sizeof(struct sockaddr_ll))
/linux-6.3-rc2/tools/testing/selftests/net/
A Dgro.c332 static void send_data_pkts(int fd, struct sockaddr_ll *daddr, in send_data_pkts()
365 static void send_ack(int fd, struct sockaddr_ll *daddr) in send_ack()
484 static void send_changed_seq(int fd, struct sockaddr_ll *daddr) in send_changed_seq()
503 static void send_changed_ts(int fd, struct sockaddr_ll *daddr) in send_changed_ts()
531 static void send_diff_opt(int fd, struct sockaddr_ll *daddr) in send_diff_opt()
580 static void send_ip_options(int fd, struct sockaddr_ll *daddr) in send_ip_options()
599 static void send_fragment4(int fd, struct sockaddr_ll *daddr) in send_fragment4()
624 static void send_changed_ttl(int fd, struct sockaddr_ll *daddr) in send_changed_ttl()
684 static void send_fragment6(int fd, struct sockaddr_ll *daddr) in send_fragment6()
719 struct sockaddr_ll daddr = {}; in bind_packetsocket()
[all …]
A Dpsock_tpacket.c70 struct sockaddr_ll ll;
88 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket_hdr));
92 struct sockaddr_ll s_ll __align_tpacket(sizeof(struct tpacket2_hdr));
377 struct sockaddr_ll ll = { in walk_tx()
431 sizeof(struct sockaddr_ll), packet, in walk_tx()
441 sizeof(struct sockaddr_ll), packet, in walk_tx()
453 sizeof(struct sockaddr_ll), packet, in walk_tx()
A Dtxring_overwrite.c38 const int eth_off = TPACKET_HDRLEN - sizeof(struct sockaddr_ll);
88 struct sockaddr_ll laddr = {}; in setup_tx()
A Dpsock_snd.c172 struct sockaddr_ll laddr = {0}; in do_bind()
200 struct sockaddr_ll laddr = {0}; in do_send()
A Dcsum.c407 struct sockaddr_ll addr = {0}; in send_packet()
527 struct sockaddr_ll laddr = {0}; in recv_prepare_packet_bind()
A Dpsock_fanout.c66 struct sockaddr_ll addr = {0}; in sock_fanout_open()
A Dtoeplitz.c343 struct sockaddr_ll ll = { 0 }; in create_ring()
A Dmsg_zerocopy.c484 struct sockaddr_ll laddr; in do_tx()
A Dtxtimestamp.c483 struct sockaddr_ll laddr; in do_test()
/linux-6.3-rc2/samples/bpf/
A Dsock_example.h15 struct sockaddr_ll sll; in open_raw_sock()
/linux-6.3-rc2/net/packet/
A Daf_packet.c225 struct sockaddr_ll ll;
2123 struct sockaddr_ll *sll; in packet_rcv()
2240 struct sockaddr_ll *sll; in tpacket_rcv()
2749 + offsetof(struct sockaddr_ll, in tpacket_snd()
2756 offsetof(struct sockaddr_ll, sll_addr)) in tpacket_snd()
2779 - (po->tp_hdrlen - sizeof(struct sockaddr_ll)); in tpacket_snd()
2824 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2968 offsetof(struct sockaddr_ll, sll_addr)) in packet_snd()
3298 struct sockaddr_ll *sll = (struct sockaddr_ll *)uaddr; in packet_bind()
3305 if (addr_len < sizeof(struct sockaddr_ll)) in packet_bind()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dlsm_cgroup.c105 struct sockaddr_ll sa = {}; in real_bind()
/linux-6.3-rc2/Documentation/networking/
A Dpacket_mmap.rst148 sll_ifindex parameter of struct sockaddr_ll.
152 struct sockaddr_ll my_addr;
161 /* fill sockaddr_ll struct to prepare binding */
167 bind(this->socket, (struct sockaddr *)&my_addr, sizeof(struct sockaddr_ll));
173 frame base + TPACKET_HDRLEN - sizeof(struct sockaddr_ll)
384 - struct sockaddr_ll
575 4. For getting the sockaddr_ll,
646 struct sockaddr_ll ll;
828 struct sockaddr_ll ll;
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dlsm_cgroup.c209 struct sockaddr_ll sa = { in test_lsm_cgroup_functional()
A Dxdp_bonding.c248 struct sockaddr_ll saddr_ll = { in send_udp_packets()
/linux-6.3-rc2/arch/um/drivers/
A Dvector_user.c165 struct sockaddr_ll sock; in create_raw_fd()
185 (struct sockaddr *) &sock, sizeof(struct sockaddr_ll)) < 0) { in create_raw_fd()

Completed in 33 milliseconds