Searched refs:sockaddr_ll (Results 1 – 18 of 18) sorted by relevance
/linux-6.6.21/include/uapi/linux/ |
D | if_packet.h | 14 struct sockaddr_ll { struct 147 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll)) 252 #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll)) 253 #define TPACKET3_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket3_hdr)) + sizeof(struct sockaddr_ll))
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | gro.c | 274 static void write_packet(int fd, char *buf, int len, struct sockaddr_ll *daddr) in write_packet() 297 static void send_flags(int fd, struct sockaddr_ll *daddr, int psh, int syn, in send_flags() 332 static void send_data_pkts(int fd, struct sockaddr_ll *daddr, in send_data_pkts() 346 static void send_large(int fd, struct sockaddr_ll *daddr, int remainder) in send_large() 365 static void send_ack(int fd, struct sockaddr_ll *daddr) in send_ack() 469 static void send_changed_checksum(int fd, struct sockaddr_ll *daddr) in send_changed_checksum() 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() [all …]
|
D | psock_tpacket.c | 70 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()
|
D | txring_overwrite.c | 38 const int eth_off = TPACKET_HDRLEN - sizeof(struct sockaddr_ll); 88 struct sockaddr_ll laddr = {}; in setup_tx()
|
D | psock_snd.c | 172 struct sockaddr_ll laddr = {0}; in do_bind() 200 struct sockaddr_ll laddr = {0}; in do_send()
|
D | csum.c | 409 struct sockaddr_ll addr = {0}; in send_packet() 529 struct sockaddr_ll laddr = {0}; in recv_prepare_packet_bind()
|
D | psock_fanout.c | 66 struct sockaddr_ll addr = {0}; in sock_fanout_open()
|
D | toeplitz.c | 343 struct sockaddr_ll ll = { 0 }; in create_ring()
|
D | txtimestamp.c | 483 struct sockaddr_ll laddr; in do_test()
|
D | msg_zerocopy.c | 484 struct sockaddr_ll laddr; in do_tx()
|
/linux-6.6.21/samples/bpf/ |
D | sock_example.h | 15 struct sockaddr_ll sll; in open_raw_sock()
|
/linux-6.6.21/net/packet/ |
D | af_packet.c | 225 struct sockaddr_ll ll; 2125 struct sockaddr_ll *sll; in packet_rcv() 2242 struct sockaddr_ll *sll; in tpacket_rcv() 2688 off_min = po->tp_hdrlen - sizeof(struct sockaddr_ll); in tpacket_parse_header() 2718 off = po->tp_hdrlen - sizeof(struct sockaddr_ll); in tpacket_parse_header() 2734 DECLARE_SOCKADDR(struct sockaddr_ll *, saddr, msg->msg_name); in tpacket_snd() 2759 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in tpacket_snd() 2762 + offsetof(struct sockaddr_ll, in tpacket_snd() 2769 offsetof(struct sockaddr_ll, sll_addr)) in tpacket_snd() 2792 - (po->tp_hdrlen - sizeof(struct sockaddr_ll)); in tpacket_snd() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | lsm_cgroup.c | 105 struct sockaddr_ll sa = {}; in real_bind()
|
/linux-6.6.21/Documentation/networking/ |
D | packet_mmap.rst | 148 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.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | lwt_redirect.c | 109 struct sockaddr_ll addr = { in new_packet_sock()
|
D | lsm_cgroup.c | 209 struct sockaddr_ll sa = { in test_lsm_cgroup_functional()
|
D | xdp_bonding.c | 241 struct sockaddr_ll saddr_ll = { in send_udp_packets()
|
/linux-6.6.21/arch/um/drivers/ |
D | vector_user.c | 165 struct sockaddr_ll sock; in create_raw_fd() 185 (struct sockaddr *) &sock, sizeof(struct sockaddr_ll)) < 0) { in create_raw_fd()
|