Searched refs:reuseport (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/unbound/services/
H A Dlisten_dnsport.h126 * @param reuseport: set to true if you want reuseport, or NULL to not have it,
127 * set to false on exit if reuseport failed to apply (because of no
132 char** ifs, int num_ifs, int* reuseport);
226 * @param reuseport: if nonNULL and true, try to set SO_REUSEPORT on
236 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
243 * @param reuseport: if nonNULL and true, try to set SO_REUSEPORT on
254 int* reuseport, int transparent, int mss, int nodelay, int freebind,
H A Dlisten_dnsport.c199 int rcv, int snd, int listen, int* reuseport, int transparent,
287 if (reuseport && *reuseport &&
296 *reuseport = 0;
305 if (reuseport && *reuseport &&
314 *reuseport = 0;
318 (void)reuseport;
595 int* reuseport, int transparent, int mss, int nodelay, int freebind,
699 if (reuseport
197 create_udp_sock(int family, int socktype, struct sockaddr* addr, socklen_t addrlen, int v6only, int* inuse, int* noproto, int rcv, int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp) argument
594 create_tcp_accept_sock(struct addrinfo *addr, int v6only, int* noproto, int* reuseport, int transparent, int mss, int nodelay, int freebind, int use_systemd, int dscp) argument
916 make_sock(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp) argument
967 make_sock_port(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp) argument
1135 ports_create_if(const char* ifname, int do_auto, int do_udp, int do_tcp, struct addrinfo *hints, const char* port, struct listen_port** list, size_t rcv, size_t snd, int ssl_port, struct config_strlist* tls_additional_port, int https_port, int* reuseport, int transparent, int tcp_mss, int freebind, int http2_nodelay, int use_systemd, int dnscrypt_port, int dscp) argument
1565 listening_ports_open(struct config_file* cfg, char** ifs, int num_ifs, int* reuseport) argument
[all...]
/freebsd-13-stable/contrib/unbound/daemon/
H A Ddaemon.h90 /** reuseport is enabled if true */
91 int reuseport; member in struct:daemon
H A Ddaemon.c315 daemon->reuseport = 0;
325 /* see if we want to reuseport */
328 daemon->reuseport = 1;
330 /* try to use reuseport */
331 p0 = listening_ports_open(daemon->cfg, resif, num_resif, &daemon->reuseport);
337 if(daemon->reuseport) {
338 /* reuseport was successful, allocate for it */
342 * reuseport not enabled or did not work */
352 if(daemon->reuseport) {
353 /* continue to use reuseport */
[all...]
H A Dremote.c2305 (worker->daemon->reuseport?" reuseport":""),
/freebsd-13-stable/sys/netinet6/
H A Din6_pcb.c126 int reuseport = (so->so_options & SO_REUSEPORT); local
171 reuseport = SO_REUSEADDR|SO_REUSEPORT;
278 ((reuseport & tw->tw_so_options) == 0 &&
281 } else if (t && (reuseport & inp_so_options(t)) == 0 &&
297 if ((reuseport & tw->tw_so_options) == 0
305 (reuseport & inp_so_options(t)) == 0 &&
/freebsd-13-stable/sys/netinet/
H A Din_pcb.c920 int lookupflags = 0, reuseport = (so->so_options & SO_REUSEPORT); local
971 reuseport = SO_REUSEADDR|SO_REUSEPORT;
1042 ((reuseport & tw->tw_so_options) == 0 &&
1049 (reuseport & inp_so_options(t)) == 0 &&

Completed in 202 milliseconds