Searched refs:linger (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsetsockopt.c54 struct linger ling;
57 sizeof (struct linger))) == -1)
64 struct linger ling;
68 sizeof (struct linger))) == -1)
/illumos-gate/usr/src/lib/libc/inc/
H A Dthread_pool.h45 uint_t linger, pthread_attr_t *attr);
/illumos-gate/usr/src/lib/libwrap/
H A Doptions.c86 static void linger_option(); /* execute "linger time" option */
123 "linger", linger_option, NEED_ARG,
322 /* linger_option - set the socket linger time (Marc Boucher <marc@cam.org>) */
330 struct linger linger; local
333 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1
334 || linger.l_linger < 0)
335 tcpd_jump("bad linger value: \"%s\"", value);
337 linger.l_onoff = (linger
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c467 struct linger *ling;
469 ling = (struct linger *)
472 optsz = sizeof (struct linger);
477 struct linger *ling;
479 ling = (struct linger *)
483 optsz = sizeof (struct linger);
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsocket.h40 #define SO_LINGER 0x0080 /* linger on close if data present */
61 * Structure used for manipulating linger option.
63 struct linger { struct
65 int l_linger; /* linger time */
/illumos-gate/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)) {
240 *(struct linger *)optval = sockets[i].so_linger;
366 if (optlen == sizeof (struct linger)) {
368 sockets[i].so_linger = *(struct linger *)optval;
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c688 if (maxlen < (t_uscalar_t)sizeof (struct linger)) {
730 len = (t_uscalar_t)sizeof (struct linger);
857 if (optlen != (t_uscalar_t)sizeof (struct linger)) {
877 struct linger *l = (struct linger *)optval;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c181 struct linger linger; local
363 linger.l_onoff = 1;
364 linger.l_linger = 60; /* XXX */
365 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, (char *)&linger,
366 sizeof (linger)) < 0)
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkpropd.c322 struct linger linger; local
357 * linger around for too long
364 linger.l_onoff = 1;
365 linger.l_linger = 2;
367 (void *)&linger, sizeof(linger)) < 0)
496 * Sleeping 3s for 2s linger interval.
/illumos-gate/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c236 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, argument
281 tpool->tp_linger = linger;
/illumos-gate/usr/src/uts/common/sys/
H A Dsocket.h127 #define SO_LINGER 0x0080 /* linger on close if data present */
237 * Structure used for manipulating linger option.
239 struct linger { struct
241 int l_linger; /* linger time */
H A Dsocketvar.h178 struct linger so_linger; /* SO_LINGER value */
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h128 #define SO_LINGER 0x0080 /* linger on close if data present */
173 * Structure used for manipulating linger option.
175 struct linger { struct
177 int l_linger; /* linger time */
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dconn_opt.c609 struct linger *lgr = (struct linger *)ptr;
614 return (sizeof (struct linger));
1085 struct linger *lgr = (struct linger *)invalp;
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_sops.c727 sizeof (struct linger)) {
732 bzero(optval, sizeof (struct linger));
733 *optlenp = sizeof (struct linger);
H A Dsocktpi.c5192 if (maxlen < (t_uscalar_t)sizeof (struct linger)) {
5269 len = (t_uscalar_t)sizeof (struct linger);
5576 if (optlen != (t_uscalar_t)sizeof (struct linger)) {
5596 struct linger *l = (struct linger *)optval;
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c184 struct linger ling;
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp340 linger l;
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c637 struct linger l;
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c362 static const struct linger ling = { 0, 0 };
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c57 sizeof (struct linger), 0 },
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c751 static const struct linger lopt = { 0, 0 };
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c464 struct linger ling;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c615 sizeof (struct linger), 0 },

Completed in 268 milliseconds

12