Searched refs:cfg_alen (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso_bench_tx.c | 56 static socklen_t cfg_alen; variable 156 cfg_connected ? 0 : cfg_alen); in send_udp() 231 msg.msg_namelen = cfg_alen; in send_udp_segment() 259 cfg_alen = sizeof(struct sockaddr_in); in parse_opts() 265 cfg_alen = sizeof(struct sockaddr_in6); in parse_opts() 373 connect(fd, (void *)&cfg_dst_addr, cfg_alen)) in main()
|
D | tcp_mmap.c | 90 static socklen_t cfg_alen = sizeof(struct sockaddr_in6); variable 330 cfg_alen = sizeof(struct sockaddr_in); in main() 334 cfg_alen = sizeof(struct sockaddr_in6); in main() 388 if (bind(fdlisten, (const struct sockaddr *)&listenaddr, cfg_alen) == -1) { in main() 419 if (connect(fd, (const struct sockaddr *)&addr, cfg_alen) == -1) { in main()
|
D | msg_zerocopy.c | 90 static socklen_t cfg_alen; variable 336 if (connect(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_tx() 340 if (bind(fd, (void *) &cfg_src_addr, cfg_alen)) in do_setup_tx() 592 if (bind(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_rx() 717 cfg_alen = sizeof(struct sockaddr_in); in parse_opts() 723 cfg_alen = sizeof(struct sockaddr_in6); in parse_opts()
|