Home
last modified time | relevance | path

Searched refs:reuseport (Results 1 – 8 of 8) sorted by relevance

/dragonfly/tools/tools/netrate/accept_connect/accept_server/
HDaccept_server.c25 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/
HDudp_sendwildcard.c25 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/
HDudp_conn2send.c26 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/
HDudp_bindsend.c25 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/
HDudp_bindconnsend.c25 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/
HDkq_accept_server.c31 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/
HDin6_pcb.c119 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/
HDin_pcb.c517 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()