Searched refs:listen (Results 101 - 125 of 162) sorted by relevance

1234567

/freebsd-11-stable/usr.sbin/rtadvd/
H A Dcontrol.c269 syslog(LOG_ERR, "<%s> listen failed", __func__);
272 if (listen(s->si_fd, SOCK_BACKLOG) == -1) {
273 syslog(LOG_ERR, "<%s> listen failed", __func__);
/freebsd-11-stable/usr.sbin/ctld/
H A Dctld.h347 const char *listen, bool iser);
/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/ypserv/
H A Dyp_main.c319 listen(s, SOMAXCONN);
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockets.c241 if (listen(sock->socketdes, backlog) == -1)
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c117 if (listen(fd, SOMAXCONN) < 0)
118 krb5_err (context, 1, errno, "listen");
155 if (listen(fd, SOMAXCONN) < 0)
795 "port ipropd will listen to", "port"},
/freebsd-11-stable/contrib/netcat/
H A Dnetcat.c372 errx(1, "no proxy support for listen");
610 * Create a unix domain socket, and listen on it.
619 if (listen(s, 5) < 0) {
780 if (listen(s, 1) < 0)
781 err(1, "listen");
838 /* listen and net in gone, queues empty, done */
/freebsd-11-stable/lib/libc/sys/
H A DMakefile.inc207 listen.2 \
/freebsd-11-stable/usr.sbin/nfsd/
H A Dnfsd.c626 if (listen(tcpsock, -1) < 0) {
627 syslog(LOG_ERR, "listen failed");
704 if (listen(tcp6sock, -1) < 0) {
705 syslog(LOG_ERR, "listen failed");
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c428 if (listen(tctx->tc_fd, 8) == -1) {
/freebsd-11-stable/tools/regression/sockets/unix_gc/
H A Dunix_gc.c180 if (listen(sock, backlog) < 0)
181 err(-1, "%s: listen", test);
523 * various cases, including ones where listen sockets have waiting sockets
564 * Send a listen UDP socket over a UNIX domain socket.
566 * Send a listen TCP socket over a UNIX domain socket.
568 * Do each twice, with closing of the listen socket vs. socketpair in
584 * Close listen socket first.
619 * Close listen socket first.
650 * Up things a notch with listen sockets: add connections that can be
651 * accepted to the listen queue
[all...]
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dtrans_lsock.c328 if (listen(p->str_sock, 10) == -1) {
329 syslog(LOG_ERR, "listen: %s %m", p->name);
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Dud_pingpong.c244 fprintf(stderr, "Couldn't listen to port %d\n", port);
248 listen(sockfd, 1);
541 printf(" -p, --port=<port> listen on/connect to port <port> (default 18515)\n");
H A Duc_pingpong.c246 fprintf(stderr, "Couldn't listen to port %d\n", port);
250 listen(sockfd, 1);
517 printf(" -p, --port=<port> listen on/connect to port <port> (default 18515)\n");
/freebsd-11-stable/tools/regression/sockets/unix_cmsg/
H A Duc_common.c158 if (listen(fd, LISTENQ) < 0) {
159 uc_logmsg("socket_create: listen");
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Db_sock.c809 if (listen(s, MAX_LISTEN) == -1) {
/freebsd-11-stable/sbin/hastd/
H A Dproto_tcp.c433 if (listen(tctx->tc_fd, 8) == -1) {
/freebsd-11-stable/usr.sbin/nscd/
H A Dnscd.c200 listen(retval->sockfd, -1);
/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/contrib/telnet/telnetd/
H A Dtelnetd.c359 if (listen(s, 1) < 0)
360 err(1, "listen");
/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/usr.sbin/bhyve/
H A Dpci_virtio_console.c314 if (listen(s, 1) < 0) {
/freebsd-11-stable/crypto/openssh/regress/
H A Dnetcat.c344 errx(1, "no proxy support for listen");
582 * Create a unix domain socket, and listen on it.
591 if (listen(s, 5) < 0) {
754 if (listen(s, 1) < 0)
755 err(1, "listen");
812 /* listen and net in gone, queues empty, done */
/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/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c217 { NULL, 'p', arg_string, &port_string, "what port to listen to" },
1999 if (listen(pdata, 1) < 0)
2046 if (listen(pdata, 1) < 0)

Completed in 914 milliseconds

1234567