Home
last modified time | relevance | path

Searched refs:linger (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dsetsockopt.c54 struct linger ling; in setsockopt()
57 sizeof (struct linger))) == -1) in setsockopt()
64 struct linger ling; in setsockopt()
68 sizeof (struct linger))) == -1) in setsockopt()
/titanic_41/usr/src/lib/libwrap/
H A Doptions.c330 struct linger linger; local
333 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1
334 || linger.l_linger < 0)
337 linger.l_onoff = (linger.l_linger != 0);
338 if (setsockopt(request->fd, SOL_SOCKET, SO_LINGER, (char *) &linger,
339 sizeof(linger)) < 0)
340 tcpd_warn("setsockopt SO_LINGER %d: %m", linger.l_linger);
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dti_opts.c467 struct linger *ling; in __rpc_tli_set_options()
469 ling = (struct linger *) in __rpc_tli_set_options()
472 optsz = sizeof (struct linger); in __rpc_tli_set_options()
477 struct linger *ling; in __rpc_tli_set_options()
479 ling = (struct linger *) in __rpc_tli_set_options()
483 optsz = sizeof (struct linger); in __rpc_tli_set_options()
/titanic_41/usr/src/lib/libc/inc/
H A Dthread_pool.h45 uint_t linger, pthread_attr_t *attr);
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dsocket.h63 struct linger { struct
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c181 struct linger linger; in main() local
363 linger.l_onoff = 1; in main()
364 linger.l_linger = 60; /* XXX */ in main()
365 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, (char *)&linger, in main()
366 sizeof (linger)) < 0) in main()
/titanic_41/usr/src/stand/lib/sock/
H A Dsocket_impl.h136 struct linger so_linger; /* close linger time */
H A Dsocket.c238 if (*optlen == sizeof (struct linger)) { in getsockopt()
240 *(struct linger *)optval = sockets[i].so_linger; in getsockopt()
366 if (optlen == sizeof (struct linger)) { in setsockopt()
368 sockets[i].so_linger = *(struct linger *)optval; in setsockopt()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c688 if (maxlen < (t_uscalar_t)sizeof (struct linger)) { in sosdp_getsockopt()
730 len = (t_uscalar_t)sizeof (struct linger); in sosdp_getsockopt()
857 if (optlen != (t_uscalar_t)sizeof (struct linger)) { in sosdp_setsockopt()
877 struct linger *l = (struct linger *)optval; in sosdp_setsockopt()
/titanic_41/usr/src/cmd/krb5/slave/
H A Dkpropd.c322 struct linger linger; in do_standalone() local
364 linger.l_onoff = 1; in do_standalone()
365 linger.l_linger = 2; in do_standalone()
367 (void *)&linger, sizeof(linger)) < 0) in do_standalone()
/titanic_41/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c236 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument
281 tpool->tp_linger = linger; in tpool_create()
/titanic_41/usr/src/uts/common/sys/
H A Dsocket.h239 struct linger { struct
H A Dsocketvar.h178 struct linger so_linger; /* SO_LINGER value */
/titanic_41/usr/src/uts/common/inet/ip/
H A Dconn_opt.c609 struct linger *lgr = (struct linger *)ptr; in conn_opt_get()
614 return (sizeof (struct linger)); in conn_opt_get()
1085 struct linger *lgr = (struct linger *)invalp; in conn_opt_set_socket()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_sops.c727 sizeof (struct linger)) { in so_getsockopt()
732 bzero(optval, sizeof (struct linger)); in so_getsockopt()
733 *optlenp = sizeof (struct linger); in so_getsockopt()
H A Dsocktpi.c5157 if (maxlen < (t_uscalar_t)sizeof (struct linger)) { in sotpi_getsockopt()
5234 len = (t_uscalar_t)sizeof (struct linger); in sotpi_getsockopt()
5541 if (optlen != (t_uscalar_t)sizeof (struct linger)) { in sotpi_setsockopt()
5561 struct linger *l = (struct linger *)optval; in sotpi_setsockopt()
/titanic_41/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c184 struct linger ling; in exs_prep_client()
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp340 linger l; in CreateSocket()
/titanic_41/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c629 struct linger l; in show_sockopts()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c57 sizeof (struct linger), 0 },
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c358 static const struct linger ling = { 0, 0 }; in setnolinger()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c751 static const struct linger lopt = { 0, 0 }; in start_connection()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c615 sizeof (struct linger), 0 },
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c464 struct linger ling; in init_server()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1151 struct linger lingerbuf; in source()

12