Home
last modified time | relevance | path

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

12

/openbsd/sbin/unwind/libunbound/services/
H A Dlisten_dnsport.c304 if (reuseport && *reuseport && in create_udp_sock()
313 *reuseport = 0; in create_udp_sock()
322 if (reuseport && *reuseport && in create_udp_sock()
331 *reuseport = 0; in create_udp_sock()
335 (void)reuseport; in create_udp_sock()
779 if (reuseport && *reuseport && in create_tcp_accept_sock()
788 *reuseport = 0; in create_tcp_accept_sock()
791 (void)reuseport; in create_tcp_accept_sock()
1795 int* reuseport) in listening_ports_open() argument
1894 reuseport, cfg->ip_transparent, in listening_ports_open()
[all …]
H A Dlisten_dnsport.h154 char** ifs, int num_ifs, int* reuseport);
266 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
284 int* reuseport, int transparent, int mss, int nodelay, int freebind,
/openbsd/usr.sbin/unbound/services/
H A Dlisten_dnsport.c304 if (reuseport && *reuseport && in create_udp_sock()
313 *reuseport = 0; in create_udp_sock()
322 if (reuseport && *reuseport && in create_udp_sock()
331 *reuseport = 0; in create_udp_sock()
335 (void)reuseport; in create_udp_sock()
779 if (reuseport && *reuseport && in create_tcp_accept_sock()
788 *reuseport = 0; in create_tcp_accept_sock()
791 (void)reuseport; in create_tcp_accept_sock()
1795 int* reuseport) in listening_ports_open() argument
1894 reuseport, cfg->ip_transparent, in listening_ports_open()
[all …]
H A Dlisten_dnsport.h154 char** ifs, int num_ifs, int* reuseport);
266 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
284 int* reuseport, int transparent, int mss, int nodelay, int freebind,
/openbsd/usr.sbin/unbound/daemon/
H A Ddaemon.c356 daemon->reuseport = 0; in daemon_open_shared_ports()
372 daemon->reuseport = 1; in daemon_open_shared_ports()
376 &daemon->reuseport); in daemon_open_shared_ports()
382 if(daemon->reuseport) { in daemon_open_shared_ports()
403 if(daemon->reuseport) { in daemon_open_shared_ports()
409 &daemon->reuseport)) in daemon_open_shared_ports()
410 || !daemon->reuseport ) { in daemon_open_shared_ports()
562 if(daemon->reuseport && (int)daemon->num < (int)daemon->num_ports) { in daemon_create_workers()
H A Ddaemon.h92 int reuseport; member
/openbsd/regress/sys/netinet/bindconnect/
H A DMakefile70 REGRESS_TARGETS += run-${af}-${proto}-reuseport
71 run-${af}-${proto}-reuseport:
/openbsd/regress/sys/netinet/in_pcbbind/
H A Druntest.c33 runtest(int *sockp, struct addrinfo *ai, int reuseaddr, int reuseport, in runtest() argument
55 if (reuseport) { in runtest()
96 reuseaddr ? "REUSEADDR" : "", reuseport ? "REUSEPORT" : ""); in runtest()
101 reuseaddr ? "REUSEADDR" : "", reuseport ? "REUSEPORT" : "", in runtest()
/openbsd/sys/netinet6/
H A Din6_pcb.c159 int reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbaddrisavail_lock() local
181 reuseport = SO_REUSEADDR | SO_REUSEPORT; in in6_pcbaddrisavail_lock()
232 if (t && (reuseport & t->inp_socket->so_options) == 0) in in6_pcbaddrisavail_lock()
/openbsd/usr.sbin/nsd/
H A Dnsd.h279 int reuseport; member
H A Dserver.c1289 if(nsd->reuseport && reuseport_works && *reuseport_works) in open_udp_socket()
1367 if(nsd->reuseport && reuseport_works && *reuseport_works) in open_tcp_socket()
1421 int reuseport = 1; /* Determine if REUSEPORT works. */ in server_init() local
1425 if(open_udp_socket(nsd, &nsd->udp[i], &reuseport) == -1 || in server_init()
1426 open_tcp_socket(nsd, &nsd->tcp[i], &reuseport) == -1) in server_init()
1432 if(nsd->reuseport && reuseport) { in server_init()
1433 size_t ifs = nsd->ifs * nsd->reuseport; in server_init()
1455 if(open_udp_socket(nsd, &nsd->udp[i], &reuseport) == -1) { in server_init()
1469 nsd->reuseport = 0; in server_init()
3413 if(nsd->reuseport) { in server_child()
[all …]
H A Doptions.h122 int reuseport; member
H A Dnsd-checkconf.c410 SERV_GET_BIN(reuseport, o); in config_print_zone()
618 printf("\treuseport: %s\n", opt->reuseport?"yes":"no"); in config_test_print_server()
H A Dconfiglexer.lex220 reuseport{COLON} { LEXOUT(("v(%s) ", yytext)); return VAR_REUSEPORT;}
H A Dnsd.c1182 if(nsd.options->reuseport && nsd.child_count > 1) { in main()
1183 nsd.reuseport = nsd.child_count; in main()
H A Dconfigparser.y377 { cfg_parser->opt->reuseport = $2; }
H A Dnsd.conf.sample.in73 # reuseport: no
/openbsd/sys/netinet/
H A Din_pcb.c370 int reuseport = (so->so_options & SO_REUSEPORT); in in_pcbaddrisavail_lock() local
381 reuseport = SO_REUSEADDR|SO_REUSEPORT; in in_pcbaddrisavail_lock()
423 if (t && (reuseport & t->inp_socket->so_options) == 0) in in_pcbaddrisavail_lock()
/openbsd/usr.sbin/httpd/
H A Dserver.c638 struct server_config *srv_conf, int fd, int reuseport) in server_socket() argument
657 if (reuseport) { in server_socket()
/openbsd/usr.sbin/unbound/testcode/
H A Dfake_event.c1408 int* ATTR_UNUSED(reuseport)) in listening_ports_open() argument
1725 int ATTR_UNUSED(listen), int* ATTR_UNUSED(reuseport), in create_udp_sock() argument
/openbsd/usr.sbin/relayd/
H A Drelay.c540 struct protocol *proto, int fd, int reuseport) in relay_socket() argument
559 if (reuseport) { in relay_socket()
/openbsd/sbin/unwind/libunbound/util/
H A Dconfiglexer.lex281 so-reuseport{COLON} { YDVAR(1, VAR_SO_REUSEPORT) }
/openbsd/usr.sbin/unbound/util/
H A Dconfiglexer.lex281 so-reuseport{COLON} { YDVAR(1, VAR_SO_REUSEPORT) }
/openbsd/usr.sbin/nsd/doc/
H A DRELNOTES400 reuseport and multiple interfaces.
405 - Fix #99: Fix copying of socket properties with reuseport enabled.
688 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes
987 - reuseport: no is the default, because the feature is not troublefree.
1036 - SO_REUSEPORT support, by default on Linux, or with reuseport: yes.
H A DChangeLog777 - Fix #99: Fix copying of socket properties with reuseport enabled.
798 reuseport and multiple interfaces.
869 - Fixup fix of reuseport TCP for server close of sockets not used
882 - Fix errors with reuseport and TCP file descriptors, it was
1333 - Support SO_REUSEPORT_LB in FreeBSD 12 with the reuseport: yes
1909 - reuseport: no is the default, because the feature is not troublefree.
2007 - Fixed checkconf test for reuseport setting.

12