Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c91 static struct sockaddr_storage cfg_dst_addr; variable
250 (cfg_dst_addr.ss_family == AF_INET ? in do_sendmsg_corked()
259 struct sockaddr_in *daddr = (void *) &cfg_dst_addr; in setup_iph()
279 struct sockaddr_in6 *daddr = (void *) &cfg_dst_addr; in setup_ip6h()
336 if (connect(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_tx()
535 msg.msg_name = &cfg_dst_addr; in do_tx()
536 msg.msg_namelen = (cfg_dst_addr.ss_family == AF_INET ? in do_tx()
592 if (bind(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_rx()
773 setup_sockaddr(cfg_family, daddr, &cfg_dst_addr); in parse_opts()
Dudpgso_bench_tx.c57 static struct sockaddr_storage cfg_dst_addr; variable
155 cfg_connected ? NULL : (void *)&cfg_dst_addr, in send_udp()
230 msg.msg_name = (void *)&cfg_dst_addr; in send_udp_segment()
274 setup_sockaddr(cfg_family, optarg, &cfg_dst_addr); in parse_opts()
373 connect(fd, (void *)&cfg_dst_addr, cfg_alen)) in main()