/freebsd-10-stable/contrib/unbound/services/ |
H A D | listen_dnsport.h | 2 * services/listen_dnsport.h - listen on port 53 for incoming DNS queries. 53 * Contains list of query-listen sockets. 106 * Getaddrinfo, create socket, bind and listen to zero or more 145 * @param listen: listening structure. 147 void listen_delete(struct listen_dnsport* listen); 158 * @param listen: listening structure. 161 size_t listen_get_mem(struct listen_dnsport* listen); 165 * @param listen: listening structure. 167 void listen_stop_accept(struct listen_dnsport* listen); 171 * @param listen [all...] |
H A D | listen_dnsport.c | 2 * services/listen_dnsport.c - listen on port 53 for incoming DNS queries. 63 /** number of queued TCP connections for listen() */ 99 int rcv, int snd, int listen, int* reuseport, int transparent) 140 if(listen) { 605 if(listen(s, TCP_BACKLOG) == -1) { 607 log_err("can't listen: %s", strerror(errno)); 610 log_err("can't listen: %s", wsa_strerror(WSAGetLastError())); 659 if (listen(s, TCP_BACKLOG) == -1) { 660 log_err("can't listen: %s", strerror(errno)); 935 * @param front: listen struc 97 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) argument 1131 listen_get_mem(struct listen_dnsport* listen) argument 1144 listen_stop_accept(struct listen_dnsport* listen) argument 1157 listen_start_accept(struct listen_dnsport* listen) argument [all...] |
/freebsd-10-stable/usr.sbin/ctld/ |
H A D | token.l | 66 listen { return LISTEN; } 67 listen-iser { return LISTEN_ISER; }
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_listen.c | 40 static const char *path = "listen"; 46 "Checks errors from listen(2) (PR standards/46150)"); 68 fdc = open("listen", O_RDWR | O_CREAT, 0600); 71 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1); 77 ATF_REQUIRE(listen(fda, 1) == 0); 84 ATF_REQUIRE_ERRNO(EINVAL, listen(fdb, 1) == -1); 117 if (listen(sd, 5) == -1) { 119 atf_tc_fail("listen failed: %s%s",
|
/freebsd-10-stable/tools/regression/iscsi/ |
H A D | ctl.conf | 6 listen 0.0.0.0
|
/freebsd-10-stable/contrib/openbsm/bin/auditdistd/ |
H A D | token.l | 66 listen { DP; return LISTEN; }
|
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | socket_wrapper.h | 74 #ifdef listen 75 #undef listen macro 77 #define listen(s,blog) swrap_listen(s,blog) macro
|
/freebsd-10-stable/sbin/hastd/ |
H A D | token.l | 57 listen { DP; return LISTEN; }
|
/freebsd-10-stable/tools/regression/netipx/spxabort/ |
H A D | spxabort.c | 31 * listen socket, then closing the listen socket before accepting. 35 * the listen socket, but that requires a packet level test rather than using 71 if (listen(sock_listen, -1) < 0) 72 err(-1, "listen(sock_listen)");
|
/freebsd-10-stable/tools/tools/netrate/tcpreceive/ |
H A D | tcpreceive.c | 106 if (listen(accept_sock, -1) < 0) 107 err(-1, "listen");
|
/freebsd-10-stable/tests/sys/file/ |
H A D | newfileops_on_fork_test.c | 115 if (listen(listen_fd, -1) <0) 116 err(1, "listen");
|
/freebsd-10-stable/tools/regression/netinet/tcpsocktimewait/ |
H A D | tcpsocktimewait.c | 125 * We don't reuse listen sockets between runs. 143 if (listen(listen_fd, -1) < 0) 144 err(-1, "listen"); 191 if (listen(listen_fd, -1) < 0) 192 err(-1, "listen");
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/ |
H A D | tst.tcp.ksh | 93 listen(S, SOMAXCONN) or die "listen() failed: \$!";
|
/freebsd-10-stable/crypto/heimdal/lib/ipc/ |
H A D | ts-http.c | 103 listen(s, 5);
|
/freebsd-10-stable/tools/regression/netinet/tcpfullwindowrst/ |
H A D | tcpfullwindowrsttest.c | 86 if (listen(s, 1) == -1)
|
/freebsd-10-stable/crypto/openssl/ssl/ |
H A D | dtls1.h | 214 unsigned int listen; member in struct:dtls1_state_st
|
/freebsd-10-stable/tools/regression/sockets/listenclose/ |
H A D | listenclose.c | 45 * trigger as a result of performing a close on a listen() socket with as-yet 66 "socket(PF_INET, SOCK_STREAM, 0) for listen socket: %s", 77 errx(-1, "bind(%s, %d) for listen socket: %s", 82 errx(-1, "getsockname() for listen socket: %s", 86 if (listen(listen_sock, -1) < 0) 87 errx(-1, "listen() for listen socket: %s", strerror(errno));
|
/freebsd-10-stable/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 58 "socket(PF_INET, SOCK_STREAM, 0) for listen socket: %s", 68 errx(-1, "bind(%s, %d) for listen socket: %s", 73 errx(-1, "getsockname() for listen socket: %s", 77 if (listen(listen_sock, -1) < 0) 78 errx(-1, "listen() for listen socket: %s", strerror(errno));
|
/freebsd-10-stable/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 95 if (listen(listenfd, 1024) < 0) 96 err(1, "parent: listen error");
|
/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | dbgport.c | 153 if (listen(listen_fd, 1) < 0) { 154 perror("listen");
|
/freebsd-10-stable/tools/regression/sockets/listen_backlog/ |
H A D | listen_backlog.c | 41 * set by listen() is properly set, can be retrieved using SO_LISTENQLIMIT, 42 * and that it can be updated by later calls to listen(). We also check that 66 * Retrieve the current socket listen queue limit using SO_LISTENQLIMIT. 96 * Create a socket, check the queue limit on creation, perform a listen(), 97 * and make sure that the limit was set as expected by listen(). 129 if (listen(sock, backlog) < 0) { 130 warn("%s: %s: socket_listen: listen(, %d)", testclass, test, 143 warnx("%s: %s: socket_listen: listen backlog is %d not %d", 156 * listen(). Specifically, we expect a queue limit of 0 before listen, an [all...] |
/freebsd-10-stable/contrib/netbsd-tests/kernel/ |
H A D | t_kauth_pr_47598.c | 129 ATF_REQUIRE(listen(s, 16)==0);
|
/freebsd-10-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | p2p-action.sh | 37 -F192.168.42.11,192.168.42.99 --listen-address 192.168.42.1 -z
|
/freebsd-10-stable/tools/regression/netinet/tcpconnect/ |
H A D | tcpconnect.c | 83 if (listen(listen_sock, -1) == -1) 84 err(-1, "listen"); 114 err(-1, "listen");
|
/freebsd-10-stable/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 142 if (listen(s, 5) == -1) 143 err(1, "listen()");
|