Searched refs:listen (Results 26 - 50 of 162) sorted by relevance

1234567

/freebsd-11-stable/tools/tools/net80211/w00t/redir/
H A Dbuddy.c142 if (listen(s, 5) == -1)
143 err(1, "listen()");
/freebsd-11-stable/usr.bin/talk/
H A Dinvite.c76 if (listen(sockt, 5) != 0)
77 p_error("Error on attempt to listen for caller");
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_connect.c67 ATF_REQUIRE_EQ(listen(slist, 1), 0);
/freebsd-11-stable/usr.sbin/bhyve/
H A Ddbgport.c163 if (listen(listen_fd, 1) < 0) {
164 perror("cannot listen socket");
H A Dmevent_test.c217 if (listen(s, 1) < 0) {
218 perror("cannot listen socket");
/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/unbound/services/
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/sys/kern/
H A Dcapabilities.conf378 ## Allow listen(2), subject to capability rights.
382 listen
/freebsd-11-stable/sys/compat/freebsd32/
H A Dcapabilities.conf157 listen
/freebsd-11-stable/contrib/blacklist/test/
H A Dsrvtest.c132 if (listen(sfd, 5) == -1)
133 err(1, "listen");
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-action.sh37 -F192.168.42.11,192.168.42.99 --listen-address 192.168.42.1 -z -p 0
/freebsd-11-stable/crypto/heimdal/appl/test/
H A Dnt_gss_server.c57 { "port", 'p', arg_string, &port_str, "port to listen to", "port" },
178 if (listen (sock, 1) < 0)
179 err (1, "listen");
H A Duu_server.c197 if (listen (sock, 1) < 0)
198 err (1, "listen");
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dmini_inetd.c83 * @param[in] ai Addresses to listen on
121 if (rk_IS_SOCKET_ERROR(listen (fds[i], SOMAXCONN))) {
122 warn ("listen af = %d", a->ai_family);
170 * @param[in] port Port to listen on
/freebsd-11-stable/tools/regression/netinet/tcpsockclosebeforeaccept/
H A Dtcpsockclosebeforeaccept.c96 if (listen(listen_fd, -1) < 0) {
100 err(-1, "tcp_server: listen");
/freebsd-11-stable/tools/regression/netinet/tcpstream/
H A Dtcpstream.c135 if (listen(listen_sock, -1) == -1)
136 errx(-1, "listen: %s", strerror(errno));
/freebsd-11-stable/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c107 if (listen(s, -1) != 0)
108 errx(-1, "listen: %s", strerror(errno));
/freebsd-11-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c51 * listen state.
54 * - That we can attach an accept filter to a socket that is in the listen
129 * Step 4: Setsockopt() before listen(). Should fail, since it's not
130 * yet a listen() socket.
136 errx(-1, "not ok 5 - setsockopt() before listen() succeeded");
140 * Step 5: Getsockopt() after pre-listen() setsockopt(). Should
146 errx(-1, "not ok 6 - getsockopt() after pre-listen() setsockopt() "
149 errx(-1, "not ok 6 - pre-listen() getsockopt() failed with %d (%s)",
154 * Step 6: listen().
156 if (listen(ls
[all...]
/freebsd-11-stable/tools/regression/sockets/unix_bindconnect/
H A Dunix_bindconnect.c246 if (listen(sock1, 3) < 0) {
247 warn("connect_test: listen(sock1)");
281 * Confirm that once the listen socket is closed, we get a
/freebsd-11-stable/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c113 if (listen(listenfd, -1) < 0)
114 err(-1, "stream_test: listen");
/freebsd-11-stable/contrib/libpcap/lbl/
H A Dos-sunos4.h113 int listen(int, int);
/freebsd-11-stable/contrib/netbsd-tests/net/net/
H A Dt_tcp.c103 ok = listen(srvr, SOMAXCONN);
105 FAIL("listen");
/freebsd-11-stable/contrib/tcpdump/lbl/
H A Dos-sunos4.h114 int listen(int, int);
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcommon.h48 #define rs_listen(s,b) use_rs ? rlisten(s,b) : listen(s,b)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DDomainSocket.cpp106 if (::listen(GetNativeSocket(), backlog) == 0)

Completed in 214 milliseconds

1234567