Searched refs:cfg_alen (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/net/ |
A D | so_txtime.c | 61 static socklen_t cfg_alen; variable 88 msg.msg_namelen = cfg_alen; in do_send_one() 447 cfg_alen = sizeof(struct sockaddr_in); in parse_opts() 455 cfg_alen = sizeof(struct sockaddr_in6); in parse_opts() 509 do_test_rx((void *)&cfg_dst_addr, cfg_alen); in main() 511 do_test_tx((void *)&cfg_src_addr, cfg_alen); in main()
|
A D | udpgso_bench_tx.c | 83 static socklen_t cfg_alen; variable 285 cfg_connected ? 0 : cfg_alen); in send_udp() 344 mmsgs[i].msg_hdr.msg_namelen = cfg_alen; in send_udp_sendmmsg() 402 msg.msg_namelen = cfg_alen; in send_udp_segment() 432 cfg_alen = sizeof(struct sockaddr_in); in parse_opts() 438 cfg_alen = sizeof(struct sockaddr_in6); in parse_opts() 652 connect(fd, (void *)&cfg_dst_addr, cfg_alen)) in main()
|
A D | tcp_mmap.c | 76 static socklen_t cfg_alen = sizeof(struct sockaddr_in6); variable 386 cfg_alen = sizeof(struct sockaddr_in); in main() 390 cfg_alen = sizeof(struct sockaddr_in6); in main() 458 if (bind(fdlisten, (const struct sockaddr *)&listenaddr, cfg_alen) == -1) { in main() 489 if (connect(fd, (const struct sockaddr *)&addr, cfg_alen) == -1) { in main()
|
A D | msg_zerocopy.c | 90 static socklen_t cfg_alen; variable 335 if (connect(fd, (void *) &cfg_dst_addr, cfg_alen)) in do_setup_tx() 339 if (bind(fd, (void *) &cfg_src_addr, cfg_alen)) in do_setup_tx() 591 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()
|
A D | udpgso_bench_rx.c | 44 static int cfg_alen = sizeof(struct sockaddr_in6); variable 141 if (bind(fd, (void *)&cfg_bind_addr, cfg_alen)) in do_socket() 303 cfg_alen = sizeof(struct sockaddr_in); in parse_opts()
|
Completed in 9 milliseconds