Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/freebsd/usr.sbin/ctld/
H A Dnvmf.hh40 nvmf_portal(struct portal_group *pg, const char *listen, in nvmf_portal()
42 portal(pg, listen, protocol, std::move(ai)) {} in nvmf_portal()
59 nvmf_discovery_portal(struct portal_group *pg, const char *listen, in nvmf_discovery_portal()
61 nvmf_portal(pg, listen, protocol, std::move(ai)) {} in nvmf_discovery_portal()
H A Dconf.cc188 portal_group_add_listen(const char *listen, bool iser) in portal_group_add_listen() argument
190 return (portal_group->add_portal(listen, iser ? portal_protocol::ISER : in portal_group_add_listen()
259 transport_group_add_listen_discovery_tcp(const char *listen) in transport_group_add_listen_discovery_tcp() argument
261 return portal_group->add_portal(listen, in transport_group_add_listen_discovery_tcp()
266 transport_group_add_listen_tcp(const char *listen) in transport_group_add_listen_tcp() argument
268 return portal_group->add_portal(listen, portal_protocol::NVME_TCP); in transport_group_add_listen_tcp()
H A Dconf.h63 bool portal_group_add_listen(const char *listen, bool iser);
75 bool transport_group_add_listen_discovery_tcp(const char *listen);
76 bool transport_group_add_listen_tcp(const char *listen);
H A Dtoken.l72 listen { return LISTEN; }
73 listen-iser { return LISTEN_ISER; }
H A Discsi.cc59 iscsi_portal(struct portal_group *pg, const char *listen, in iscsi_portal()
61 portal(pg, listen, protocol, std::move(ai)) {} in iscsi_portal()
295 log_warn("setsockopt(SO_RCVBUF) failed for %s", listen()); in init_socket_options()
301 log_warn("setsockopt(SO_SNDBUF) failed for %s", listen()); in init_socket_options()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_listen.c71 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1); in ATF_TC_BODY()
77 ATF_REQUIRE(listen(fda, 1) == 0); in ATF_TC_BODY()
84 ATF_REQUIRE_ERRNO(EINVAL, listen(fdb, 1) == -1); in ATF_TC_BODY()
117 if (listen(sd, 5) == -1) { in ATF_TC_BODY()
/freebsd/tests/sys/netinet/
H A Dso_reuseport_lb_test.c152 error = listen(sds[0], 1); in ATF_TC_BODY()
174 error = listen(sds[i], 1); in ATF_TC_BODY()
208 error = listen(sds[0], 1); in ATF_TC_BODY()
230 error = listen(sds[i], 1); in ATF_TC_BODY()
351 error = listen(s, 5); in ATF_TC_BODY()
406 error = listen(s, 1); in ATF_TC_BODY()
408 error = listen(s, 2); in ATF_TC_BODY()
434 error = listen(s, 1); in ATF_TC_BODY()
436 error = listen(s, 2); in ATF_TC_BODY()
476 error = listen(s2[i], 1); in ATF_TC_BODY()
[all …]
H A Dtcp_socket.c57 ATF_REQUIRE(listen(s, -1) == 0); in ATF_TC_BODY()
100 ATF_REQUIRE(listen(s, -1) == 0); in ATF_TC_BODY()
/freebsd/contrib/ntp/ntpd/
H A Dcomplete.conf.in68 interface listen eth0
69 interface listen ipv6
70 interface listen 203.0.113.0/24
71 interface listen 192.0.2.123
/freebsd/tests/sys/net/
H A Dif_wg.sh64 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
68 echo "$pri2" | jexec wgtest2 wg set $wg2 listen-port 12345 \
131 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
135 echo "$pri2" | jexec wgtest2 wg set $wg2 listen-port 12345 \
206 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
210 echo "$pri2" | jexec wgtest2 wg set $wg2 listen-port 12345 \
283 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
324 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
328 echo "$pri2" | jexec wgtest1 wg set $wg2 listen-port 12345 \
382 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
[all …]
/freebsd/crypto/openssh/
H A DPROTOCOL.mux5 master. This will cause ssh(1) to listen on a Unix domain socket for
167 string listen host
168 uint32 listen port
174 If listen port is (unsigned int) -2, then the listen host is treated as
183 For dynamically allocated listen port the server replies with
187 uint32 allocated remote listen port
196 string listen host
197 uint32 listen port
/freebsd/tests/sys/kern/
H A Dlistener_wakeup.c108 ATF_REQUIRE(listen(s, -1) == 0); in tcp_listen()
126 ATF_REQUIRE(listen(s, -1) == 0); in unix_listen()
133 int (*listen)(void); member
237 ctx.s = pr->listen(); in run_tests()
H A Dunix_connectat.c100 ATF_REQUIRE_MSG(listen(l, 1) == 0, "listen: %s", strerror(errno)); in mklistener()
247 ATF_REQUIRE_MSG(listen(l, 1) == 0, "listen: %s", strerror(errno)); in ATF_TC_BODY()
278 ATF_REQUIRE_MSG(listen(l, 1) == 0, "listen: %s", strerror(errno)); in ATF_TC_BODY()
319 ATF_REQUIRE_MSG(listen(l, 1) == 0, "listen: %s", strerror(errno)); in ATF_TC_BODY()
327 ATF_REQUIRE_MSG(listen(c, 1) == 0, "listen: %s", strerror(errno)); in ATF_TC_BODY()
741 ATF_REQUIRE_ERRNO(ENOTCAPABLE, listen(token, 1) == -1); in ATF_TC_BODY()
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.h229 void listen_delete(struct listen_dnsport* listen);
248 size_t listen_get_mem(struct listen_dnsport* listen);
254 void listen_stop_accept(struct listen_dnsport* listen);
260 void listen_start_accept(struct listen_dnsport* listen);
287 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
/freebsd/crypto/krb5/src/util/ss/
H A Ddeps18 listen.so listen.po $(OUTPRE)listen.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
20 $(top_srcdir)/include/k5-thread.h copyright.h listen.c \
/freebsd/tools/test/net/
H A Dlisten.c83 if (listen(srv_sock, limit) < 0) in main()
92 listen(srv_sock, 0); in main()
/freebsd/tools/regression/sockets/listen_backlog/
H A Dlisten_backlog.c127 if (listen(sock, backlog) < 0) { in socket_listen()
234 if (listen(sock, backlog) < 0) { in socket_listen_update()
255 if (listen(sock, update_backlog) < 0) { in socket_listen_update()
/freebsd/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.h74 #ifdef listen
75 #undef listen
77 #define listen(s,blog) swrap_listen(s,blog) macro
/freebsd/sys/contrib/xen/io/
H A Dpvcalls.h96 } listen; member
134 } listen; member
/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.h30 int read, int listen);
32 int read, int listen, int *cm_count, int *sm_count);
/freebsd/tests/sys/net/wg/
H A Dif_wg_nojail.sh64 echo "$pri1" | jexec wgtest1 wg set $wg1 listen-port 12345 \
68 echo "$pri2" | jexec wgtest2 wg set $wg2 listen-port 12345 \
/freebsd/tests/sys/audit/
H A Dnetwork.c383 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
406 ATF_REQUIRE_EQ(-1, listen(-1, 1)); in ATF_TC_BODY()
429 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
491 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
553 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
612 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
674 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
987 ATF_REQUIRE_EQ(0, listen(sockfd, 1)); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/lldb/docs/man/
H A Dlldb-server.rst54 Specifies the hostname and TCP port to listen on. Obligatory unless another
114 | :program:`lldb-server` p[latform] [*options*] --server --listen [[*host*]:*port*]
124 .. option:: --listen <host>:<port>
126 Hostname and port to listen on. Obligatory. If *port* is zero, a random port
/freebsd/tools/regression/netinet/tcpsocktimewait/
H A Dtcpsocktimewait.c141 if (listen(listen_fd, -1) < 0) in main()
189 if (listen(listen_fd, -1) < 0) in main()
/freebsd/tests/sys/capsicum/
H A Dsocket.cc79 EXPECT_NOTCAPABLE(listen(cap_sock_rw, 3)); in TEST()
80 EXPECT_OK(listen(cap_sock_all, 3)); in TEST()
194 EXPECT_NOTCAPABLE(listen(cap_sock_rw, 3)); in TEST()
195 EXPECT_OK(listen(cap_sock_all, 3)); in TEST()

12345678910>>...14