Lines Matching refs:sockets
305 * Handle incoming queries on the UDP server sockets.
310 * Handle incoming connections on the TCP sockets. These handlers
1032 /* Linux 3.15 has IP_PMTUDISC_OMIT which makes sockets ignore PMTU
1415 * Initialize the server, reuseport, create and bind the sockets.
1580 server_close_all_sockets(struct nsd_socket sockets[], size_t n)
1584 /* Close all the sockets... */
1586 server_close_socket(&sockets[i]);
1591 * Close the sockets, shutdown the server and exit.
1697 int sockets[2] = {0,0};
1715 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) == -1) {
1726 close(sockets[0]);
1727 if (fcntl(sockets[1], F_SETFL, O_NONBLOCK) == -1) {
1747 xfrd_init(sockets[1], nsd, del_db, reload_active, pid);
1752 close(sockets[1]);
1753 if (fcntl(sockets[0], F_SETFL, O_NONBLOCK) == -1) {
1756 nsd->xfrd_listener->fd = sockets[0];
3452 /* close sockets intended for other servers */
3480 /* close sockets intended for other servers */
3487 /* close sockets not meant for this server*/