Home
last modified time | relevance | path

Searched refs:cfg_dst_addr (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c92 static struct sockaddr_storage cfg_dst_addr; variable
252 (cfg_dst_addr.ss_family == AF_INET ? in do_sendmsg_corked()
261 struct sockaddr_in *daddr = (void *) &cfg_dst_addr; in setup_iph()
281 struct sockaddr_in6 *daddr = (void *) &cfg_dst_addr; in setup_ip6h()
338 if (connect(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_tx()
538 msg.msg_name = &cfg_dst_addr; in do_tx()
539 msg.msg_namelen = (cfg_dst_addr.ss_family == AF_INET ? in do_tx()
598 if (bind(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_rx()
783 setup_sockaddr(cfg_family, daddr, &cfg_dst_addr); in parse_opts()
H A Dio_uring_zerocopy_tx.c61 static struct sockaddr_storage cfg_dst_addr; variable
89 if (connect(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_tx()
233 struct sockaddr_in6 *addr6 = (void *) &cfg_dst_addr; in parse_opts()
234 struct sockaddr_in *addr4 = (void *) &cfg_dst_addr; in parse_opts()
H A Dudpgso_bench_tx.c85 static struct sockaddr_storage cfg_dst_addr; variable
300 cfg_connected ? NULL : (void *)&cfg_dst_addr, in send_udp()
359 mmsgs[i].msg_hdr.msg_name = (void *)&cfg_dst_addr; in send_udp_sendmmsg()
417 msg.msg_name = (void *)&cfg_dst_addr; in send_udp_segment()
521 setup_sockaddr(cfg_family, bind_addr, &cfg_dst_addr); in parse_opts()
674 connect(fd, (void *)&cfg_dst_addr, cfg_alen)) in main()
H A Dso_txtime.c59 static struct sockaddr_storage cfg_dst_addr; variable
87 msg.msg_name = (struct sockaddr *)&cfg_dst_addr; in do_send_one()
501 setup_sockaddr(domain, daddr, &cfg_dst_addr); in parse_opts()
512 do_test_rx((void *)&cfg_dst_addr, cfg_alen); in main()