Searched refs:listen (Results 1 - 25 of 162) sorted by last modified time

1234567

/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_virtio_console.c314 if (listen(s, 1) < 0) {
H A Drfb.c1022 if (listen(rc->sfd, 1) < 0) {
1023 perror("listen");
/freebsd-11-stable/lib/libfetch/
H A Dftp.c649 /* find our own address, bind, and listen */
814 if (listen(sd, 1) == -1)
/freebsd-11-stable/libexec/ftpd/
H A Dftpd.c467 if (listen(ctl_sock[i], 32) < 0) {
468 syslog(LOG_ERR, "control listen: %m");
2928 if (listen(pdata, 1) < 0)
3040 if (listen(pdata, 1) < 0)
/freebsd-11-stable/testcode/
H A Dfake_event.c897 listen_delete(struct listen_dnsport* listen) argument
899 if(!listen)
901 sldns_buffer_free(listen->udp_buff);
902 free(listen);
1374 size_t listen_get_mem(struct listen_dnsport* ATTR_UNUSED(listen))
1599 void listen_start_accept(struct listen_dnsport* ATTR_UNUSED(listen))
1603 void listen_stop_accept(struct listen_dnsport* ATTR_UNUSED(listen))
1619 int ATTR_UNUSED(listen), int* ATTR_UNUSED(reuseport),
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.h2 * services/listen_dnsport.h - listen on port 53 for incoming DNS queries.
57 * Contains list of query-listen sockets.
120 * Getaddrinfo, create socket, bind and listen to zero or more
181 * @param listen: listening structure.
183 void listen_delete(struct listen_dnsport* listen);
194 * @param listen: listening structure.
197 size_t listen_get_mem(struct listen_dnsport* listen);
201 * @param listen: listening structure.
203 void listen_stop_accept(struct listen_dnsport* listen);
207 * @param listen
[all...]
H A Dlisten_dnsport.c2 * services/listen_dnsport.c - listen on port 53 for incoming DNS queries.
82 /** number of queued TCP connections for listen() */
138 systemd_get_activated(int family, int socktype, int listen, argument
147 /* We should use "listen" option only for stream protocols. For UDP it should be -1 */
179 if(sd_is_socket(SD_LISTEN_FDS_START + i, family, socktype, listen)) {
199 int rcv, int snd, int listen, int* reuseport, int transparent,
258 if(listen) {
563 !(errno == EACCES && verbosity < 4 && !listen)
565 && !(errno == EADDRNOTAVAIL && verbosity < 4 && !listen)
575 !(WSAGetLastError() == WSAEACCES && verbosity < 4 && !listen)) {
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
1675 listen_get_mem(struct listen_dnsport* listen) argument
1694 listen_stop_accept(struct listen_dnsport* listen) argument
1707 listen_start_accept(struct listen_dnsport* listen) argument
[all...]
/freebsd-11-stable/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c70 /** listen backlog on TCP connections for dnstap logs */
79 printf("-u <socketpath> listen to unix socket with this file name\n");
80 printf("-s <serverip[@port]> listen for TCP on the IP and port\n");
81 printf("-t <serverip[@port]> listen for TLS on IP and port\n");
303 if(listen(s, LISTEN_BACKLOG) == -1) {
304 log_err("can't listen: %s", sock_strerror(errno));
1178 /** setup and run the server to listen to DNSTAP messages */
/freebsd-11-stable/tests/sys/capsicum/
H A Dioctls_test.c63 * listen socket to an accepted socket.
87 CHILD_REQUIRE(listen(s[0], 1) == 0);
/freebsd-11-stable/contrib/sendmail/src/
H A Ddaemon.c1237 listen(d->d_socket, d->d_listenqueue) < 0)
1240 syserr("opendaemonsocket: daemon %s: cannot listen",
1582 case 'L': /* listen queue size */
H A Dcontrol.c148 if (listen(ControlSocket, 8) < 0)
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dlistener.c48 ** backlog -- listen backlog
75 "%s: Opening listen socket on conn %s",
101 ** MI_MILTEROPEN -- setup socket to listen on
105 ** backlog -- listen backlog
523 if (listen(sock, backlog) < 0)
526 "%s: listen call failed: %s", name,
584 ** MI_CLOSENER -- close listen socket
647 ** Open up listen port
655 ** backlog -- listen queue backlog size
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockets.c241 if (listen(sock->socketdes, backlog) == -1)
/freebsd-11-stable/contrib/apr/
H A Dconfigure21141 if (listen(fd, 5) == -1)
21384 if (listen(fd, 5) == -1)
28804 rc = listen(listen_s, 5);
28806 perror("listen");
28948 rc = listen(listen_s, 5);
28950 perror("listen");
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp216 err = ::listen(fd, backlog);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1666 TSAN_INTERCEPTOR(int, listen, int fd, int backlog) {
1667 SCOPED_TSAN_INTERCEPTOR(listen, fd, backlog);
1668 int res = REAL(listen)(fd, backlog);
2730 TSAN_INTERCEPT(listen);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DDomainSocket.cpp106 if (::listen(GetNativeSocket(), backlog) == 0)
/freebsd-11-stable/usr.sbin/ypserv/
H A Dyp_main.c319 listen(s, SOMAXCONN);
/freebsd-11-stable/contrib/telnet/telnetd/
H A Dtelnetd.c359 if (listen(s, 1) < 0)
360 err(1, "listen");
/freebsd-11-stable/usr.sbin/syslogd/
H A Dsyslogd.c3834 listen(s, 5);
/freebsd-11-stable/usr.sbin/inetd/
H A Dinetd.c89 * because they do not have a well-known port and hence cannot listen
1382 listen(sep->se_fd, -1);
1906 * since they don't have an assigned port to listen on.
/freebsd-11-stable/contrib/libpcap/
H A Dsockutils.c272 * In case of a server socket, the function calls socket(), bind() and listen().
282 * \param nconn: number of the connections that are allowed to wait into the listen() call.
394 if (listen(sock, nconn) == -1)
396 sock_geterror("listen()", errbuf, errbuflen);
/freebsd-11-stable/sbin/devd/
H A Ddevd.cc874 listen(fd, 4);
1022 listen(stream_fd, max_clients);
1023 listen(seqpacket_fd, max_clients);
1032 listen(stream_fd, 0);
1033 listen(seqpacket_fd, 0);
/freebsd-11-stable/usr.sbin/rpc.statd/
H A Dstatd.c201 /* We want to listen only on udp6, tcp6, udp, tcp transports */
265 /* We want to listen only on udp6, tcp6, udp, tcp transports */
557 listen(fd, SOMAXCONN);
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd.c287 if (listen(fd, SOMAXCONN) < 0) {
288 err(1, "Can't listen on local lockd socket");
306 /* We want to listen only on udp6, tcp6, udp, tcp transports */
325 /* We want to listen only on udp6, tcp6, udp, tcp transports */
397 /* We want to listen only on udp6, tcp6, udp, tcp transports */
757 listen(fd, SOMAXCONN);

Completed in 356 milliseconds

1234567