Searched defs:backlog (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlisten.c32 listen(int s, int backlog) argument
35 if ((a = _listen(s, backlog)) == -1)
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dmain.c100 static int backlog = MI_SOMAXCONN; variable
122 return mi_opensocket(conn, backlog, dbg, rmsocket, smfi);
188 ** SMFI_SETBACKLOG -- set backlog
191 ** obacklog -- new backlog.
203 backlog = obacklog;
242 if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
/illumos-gate/usr/src/lib/libsocket/socket/
H A Dweaks.c88 _listen(int sock, int backlog) argument
90 return (_so_listen(sock, backlog, SOV_DEFAULT));
228 __xnet_listen(int sock, int backlog) argument
230 return (_so_listen(sock, backlog, SOV_XPG4_2));
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsock_notsupp.c53 sock_listen_notsupp(sock_lower_handle_t handle, int backlog, argument
H A Dsockcommon.c181 socket_listen(struct sonode *so, int backlog, cred_t *cr) argument
183 if (backlog < 0) {
184 backlog = 0;
191 * BSD also uses 1.5 times the requested backlog.
193 * XNS Issue 4 required a strict interpretation of the backlog.
198 if (backlog >= (INT_MAX - 1) / 3)
199 backlog = INT_MAX;
201 backlog = backlog * 3 / 2 + 1;
203 return (SOP_LISTEN(so, backlog, c
[all...]
H A Dsockcommon_sops.c78 so_listen_notsupp(struct sonode *so, int backlog, struct cred *cr) argument
275 so_listen(struct sonode *so, int backlog, struct cred *cr) argument
280 SO_BLOCK_FALLBACK(so, SOP_LISTEN(so, backlog, cr));
283 (error = sof_filter_listen(so, &backlog, cr)) < 0)
285 backlog, cr);
1096 * the backlog is full, so to make sure the listener does
1098 * we reduce the backlog by one. Thus the listener will
1099 * start closing deferred connections before the backlog
H A Dsocksyscalls.c608 listen(int sock, int backlog, int version) argument
614 sock, backlog));
619 error = socket_listen(so, backlog, CRED());
3010 int backlog, int flags)
3015 if (error == 0 && backlog != 0)
3016 return (socket_listen(so, backlog, CRED()));
3022 solisten(struct sonode *so, int backlog) argument
3024 return (socket_listen(so, backlog, CRED()));
3009 sobind(struct sonode *so, struct sockaddr *name, socklen_t namelen, int backlog, int flags) argument
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp422 int backlog)
431 backlog);
438 int backlog)
447 backlog, true);
460 int backlog, bool one)
469 backlog, one);
476 int backlog, bool one)
507 backlog);
522 bool nonblocking, int backlog)
533 if (listen(s, backlog)
418 CreateServerSocket(in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
434 CreateServerSocket(const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog) argument
456 CreateServerSockets(ATSocketList &sockets, in_port_t port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
472 CreateServerSockets(ATSocketList &sockets, const char *port, int &error, bool loopback, bool nonblocking, int family, int socktype, int protocol, int backlog, bool one) argument
521 CreateServerSocket(const struct addrinfo *addr, int &error, bool nonblocking, int backlog) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c200 kssl_listen_cb(sof_handle_t handle, void *cookie, int *backlog, cred_t *cr) argument
204 _NOTE(ARGUNUSED(backlog, cr));
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c277 sosdp_listen(struct sonode *so, int backlog, struct cred *cr) argument
295 * If listen() is only called to change backlog, we don't
299 so->so_backlog = backlog;
306 backlog);
311 so->so_backlog = backlog;
1209 * Check current # of queued conns against backlog
H A Dsocksctp.c306 sosctp_listen(struct sonode *so, int backlog, struct cred *cr) argument
324 if (backlog < 0) {
325 backlog = 0;
329 * If listen() is only called to change backlog, we don't
333 so->so_backlog = backlog;
342 so->so_backlog = backlog;
/illumos-gate/usr/src/uts/common/io/ksocket/
H A Dksocket.c119 ksocket_listen(ksocket_t ks, int backlog, struct cred *cr) argument
127 return (socket_listen(KSTOSO(ks), backlog, cr));
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dksocket.c183 ksocket_listen(ksocket_t ks, int backlog, struct cred *cr) argument
191 if (listen(KSTOSO(ks), backlog) != 0)
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c173 u_int timeout, int backlog, int max_sess,
254 if (evListen(lev, ctx->sock, backlog, ctl_accept, ctx,
170 ctl_server(evContext lev, const struct sockaddr *sap, size_t sap_len, const struct ctl_verb *verbs, u_int unkncode, u_int timeoutcode, u_int timeout, int backlog, int max_sess, ctl_logfunc logger, void *uctx) argument
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c238 tcp_listen(sock_lower_handle_t proto_handle, int backlog, cred_t *cr) argument
255 error = tcp_do_listen(connp, NULL, 0, backlog, cr, B_FALSE);
H A Dtcp_tpi.c199 int backlog; local
238 backlog = tbr->CONIND_number;
284 if (backlog > 0) {
285 error = tcp_do_listen(connp, sa, len, backlog, DB_CRED(mp),
H A Dtcp.c4312 int backlog, cred_t *cr, boolean_t bind_to_req_port_only)
4324 tcp->tcp_state == TCPS_LISTEN) && backlog > 0) {
4326 * Handle listen() increasing backlog.
4371 tcp->tcp_conn_req_max = backlog;
4311 tcp_do_listen(conn_t *connp, struct sockaddr *sa, socklen_t len, int backlog, cred_t *cr, boolean_t bind_to_req_port_only) argument
/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c195 st_local_listen(int sd, int backlog) argument
198 return (listen(sd, backlog));
499 printf("! No backlog given\n");
715 int backlog = 20; local
750 if (st_local_listen(listen_fd, backlog) < 0) {
H A Dsocket.c672 listen(int fd, int backlog) argument
688 return (tcp_listen(sock_id, backlog));
/illumos-gate/usr/src/uts/common/os/
H A Dlogsubr.c190 * Create a backlog queue to consume console messages during periods
232 * Initialize backlog structure.
380 * If the primary console queue changes to or from the backlog
381 * queue, copy all messages from backlog to primary or vice versa.
561 int backlog; local
628 * If this is in the global zone, start with the backlog, then
631 backlog = (zoneid == GLOBAL_ZONEID);
634 if (backlog) {
636 * Do the backlog this time, then start on the
639 backlog
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_net.c158 name, int name_len, int backlog, int flags);
161 static int iscsi_net_listen(void *socket, int backlog);
290 int backlog, int flags)
295 if (error == 0 && backlog != 0)
296 error = ksocket_listen(ks, backlog, CRED());
322 iscsi_net_listen(void *socket, int backlog) argument
325 return (ksocket_listen(ks, backlog, CRED()));
289 iscsi_net_bind(void *socket, struct sockaddr *name, int name_len, int backlog, int flags) argument
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_user_cm.h177 uint32_t backlog; member in struct:rdma_ucm_listen
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c452 * client has been configured for number of threads, backlog or transport
540 * [-d] [-l <listen backlog>]
571 "[-l <listen backlog>]\n", progname);
1681 struct nd_hostserv *hs, int backlog)
1726 tb.qlen = backlog;
1680 rdcd_bindit(struct netconfig *nconf, struct netbuf **addr, struct nd_hostserv *hs, int backlog) argument
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c283 struct nd_hostserv *hs, int backlog)
363 tb.qlen = backlog;
282 nfslib_bindit(struct netconfig *nconf, struct netbuf **addr, struct nd_hostserv *hs, int backlog) argument
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts.c1307 rts_listen(sock_lower_handle_t proto_handle, int backlog, cred_t *cr) argument

Completed in 124 milliseconds

12