Searched refs:reuseport (Results 1 – 8 of 8) sorted by relevance
| /dragonfly/tools/tools/netrate/accept_connect/accept_server/ |
| HD | accept_server.c | 25 create_socket(const struct sockaddr_in *in, int reuseport) in create_socket() argument 34 if (!reuseport) { in create_socket() 56 int opt, ninst, serv_s, i, reuseport, bindcpu; in main() local 68 reuseport = 0; in main() 81 reuseport = 1; in main() 95 if (!reuseport) in main() 99 if (!reuseport) in main()
|
| /dragonfly/test/udp/sendwildcard/ |
| HD | udp_sendwildcard.c | 25 int s, opt, n, reuseport; in main() local 31 reuseport = 0; in main() 46 reuseport = 1; in main() 61 if (reuseport) { in main() 63 &reuseport, sizeof(reuseport)) < 0) in main()
|
| /dragonfly/test/udp/conn2send/ |
| HD | udp_conn2send.c | 26 int s, opt, n, reuseport; in main() local 32 reuseport = 0; in main() 47 reuseport = 1; in main() 62 if (reuseport) { in main() 64 &reuseport, sizeof(reuseport)) < 0) in main()
|
| /dragonfly/test/udp/bindsend/ |
| HD | udp_bindsend.c | 25 int s, opt, n, reuseport; in main() local 34 reuseport = 0; in main() 59 reuseport = 1; in main() 75 if (reuseport) { in main() 77 &reuseport, sizeof(reuseport)) < 0) in main()
|
| /dragonfly/test/udp/bindconnsend/ |
| HD | udp_bindconnsend.c | 25 int s, opt, n, reuseport; in main() local 34 reuseport = 0; in main() 59 reuseport = 1; in main() 75 if (reuseport) { in main() 77 &reuseport, sizeof(reuseport)) < 0) in main()
|
| /dragonfly/tools/tools/netrate/accept_connect/kq_accept_server/ |
| HD | kq_accept_server.c | 31 create_socket(const struct sockaddr_in *in, int reuseport) in create_socket() argument 40 if (!reuseport) { in create_socket() 66 int opt, ninst, serv_s, i, reuseport, bindcpu; in main() local 78 reuseport = 0; in main() 99 reuseport = 1; in main() 113 if (!reuseport) in main() 117 if (!reuseport) in main()
|
| /dragonfly/sys/netinet6/ |
| HD | in6_pcb.c | 119 int wild = 0, reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbbind() local 160 reuseport = SO_REUSEADDR|SO_REUSEPORT; in in6_pcbbind() 236 if (t && (reuseport & t->inp_socket->so_options) == 0) { in in6_pcbbind()
|
| /dragonfly/sys/netinet/ |
| HD | in_pcb.c | 517 int reuseport = (so->so_options & SO_REUSEPORT); in in_pcbbind_laddrport_check() local 531 reuseport = SO_REUSEADDR | SO_REUSEPORT; in in_pcbbind_laddrport_check() 554 (reuseport & t->inp_socket->so_options) == 0 && in in_pcbbind_laddrport_check()
|