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

/macosx-10.10.1/ruby-106/ruby/test/socket/
H A Dtest_basicsocket.rb45 linger = [0, 0].pack("ii")
50 linger
54 assert_equal(0, s.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, linger))
69 s.setsockopt(Socket::SOL_SOCKET, val, linger)
H A Dtest_socket.rb416 opt = Socket::Option.linger(true, 0)
417 assert_equal([true, 0], opt.linger)
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dsocket.d51 short linger;
66 linger = T->so_linger;
/macosx-10.10.1/apr-32/apr/apr/network_io/os2/
H A Dsockopt.c44 struct linger li;
81 if (setsockopt(sock->socketdes, SOL_SOCKET, SO_LINGER, (char *) &li, sizeof(struct linger)) == -1) {
/macosx-10.10.1/postfix-255/postfix/src/smtpstone/
H A Dqmqp-source.c319 struct linger linger; local
330 linger.l_onoff = 1;
331 linger.l_linger = 0;
332 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, (char *) &linger,
333 sizeof(linger)) < 0)
334 msg_warn("setsockopt SO_LINGER %d: %m", linger.l_linger);
H A Dsmtp-source.c449 struct linger linger; local
460 linger.l_onoff = 1;
461 linger.l_linger = 0;
462 if (setsockopt(fd, SOL_SOCKET, SO_LINGER, (char *) &linger,
463 sizeof(linger)) < 0)
464 msg_warn("setsockopt SO_LINGER %d: %m", linger.l_linger);
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCNetworkConnection.h448 @param linger This parameter indicates whether or not the connection
467 Boolean linger
H A DSCNetworkConnectionPrivate.h524 Boolean linger) __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0);
H A DSCNetworkConnectionPrivate.c1354 Boolean linger)
1381 ok = SCNetworkConnectionStart(connection, userOptions, linger);
1352 SCNetworkConnectionStartWithUserPreferences(SCNetworkConnectionRef connection, SCUserPreferencesRef userPreferences, Boolean linger) argument
H A DSCNetworkConnection.c1724 Boolean linger)
1875 linger,
1722 SCNetworkConnectionStart(SCNetworkConnectionRef connection, CFDictionaryRef userOptions, Boolean linger) argument
/macosx-10.10.1/apr-32/apr/apr/network_io/win32/
H A Dsockopt.c162 struct linger li;
166 (char *) &li, sizeof(struct linger)) == -1) {
/macosx-10.10.1/ppp-786.1.1/Controller/
H A Dpppcontroller.defs97 linger : int;
H A Dscnc_mach_server.c470 int linger,
508 err = scnc_start(serv, optRef, client, linger ? 0 : 1, client->uid, client->gid, client->pid, client->bootstrap_port, client->au_session);
467 _pppcontroller_start(mach_port_t session, xmlData_t dataRef, mach_msg_type_number_t dataLen, int linger, int * result) argument
/macosx-10.10.1/apr-32/apr/apr/network_io/unix/
H A Dsockopt.c186 struct linger li;
189 if (setsockopt(sock->socketdes, SOL_SOCKET, SO_LINGER, (char *) &li, sizeof(struct linger)) == -1) {
/macosx-10.10.1/remote_cmds-47/rshd.tproj/
H A Drshd.c160 struct linger linger; local
230 linger.l_onoff = 1;
231 linger.l_linger = 60; /* XXX */
232 if (setsockopt(0, SOL_SOCKET, SO_LINGER, (char *)&linger,
233 sizeof (linger)) < 0)
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Doption.c237 * Socket::Option.linger(onoff, secs) => sockopt
245 * p Socket::Option.linger(true, 10)
253 struct linger l;
265 * sockopt.linger => [bool, seconds]
267 * Returns the linger data in _sockopt_ as a pair of boolean and integer.
269 * sockopt = Socket::Option.linger(true, 10)
270 * p sockopt.linger => [true, 10]
278 struct linger l;
282 rb_raise(rb_eTypeError, "linger socket option expected");
284 rb_raise(rb_eTypeError, "size differ. expected as sizeof(struct linger)
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dmptcp_subr.c1480 * Otherwise let it linger around in case the upper layers need
1496 mptcplog((LOG_DEBUG, "%s: cid %d fin %d [linger %s]\n",
2104 boolean_t linger; local
2113 linger = (!(mpts->mpts_flags & MPTSF_DELETEOK) &&
2116 mptcplog((LOG_DEBUG, "%s: cid %d [linger %s]\n", __func__,
2117 mpts->mpts_connid, (linger ? "YES" : "NO")));
2127 mptcp_subflow_disconnect(mpte, mpts, !linger);
2147 return (linger ? MPTS_EVRET_OK : MPTS_EVRET_DELETE);
2200 boolean_t linger; local
2209 linger
2249 boolean_t linger; local
2446 boolean_t linger; local
2807 boolean_t linger; local
2945 boolean_t linger; local
[all...]
/macosx-10.10.1/PowerManagement-494.1.2/pmconfigd/
H A DPMConnection.c1875 bool linger = false; local
1885 // demand sleep, linger in darkwake for a certain amount of seconds
1887 // Power Nap machines will linger on every FullWake --> DarkWake
1889 // Non-Power Nap machines will linger on every FullWake --> DarkWake
1907 NULL, CFSTR("Proxy assertion to linger in darkwake"),
1921 linger = true;
1929 if (linger || blockedInS0) {
2098 NULL, CFSTR("Proxy assertion to linger on darkwake with ac"),
/macosx-10.10.1/emacs-93/emacs/lib-src/
H A Demacsclient.c634 struct linger l_arg = {1, 1};
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dsocket.h155 #define SO_LINGER 0x0080 /* linger on close if data present (in ticks) */
157 #define SO_LINGER 0x1080 /* linger on close if data present (in seconds) */
205 #define SO_LINGER_SEC 0x1080 /* linger on close if data present (in seconds) */
341 * Structure used for manipulating linger option.
343 struct linger { struct
345 int l_linger; /* linger time */
/macosx-10.10.1/emacs-93/emacs/src/
H A Dprocess.c2544 { ":linger", SOL_SOCKET, SO_LINGER, SOPT_LINGER, OPIX_MISC },
2629 struct linger linger;
2631 linger.l_onoff = 1;
2632 linger.l_linger = 0;
2634 linger.l_linger = XINT (val);
2636 linger.l_onoff = NILP (val) ? 0 : 1;
2638 &linger, sizeof (linger));
2820 :linger BOO
2618 struct linger linger; local
[all...]
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dzftp.c1154 * In BSD 4.3, you could only linger for infinity. Don't
1158 struct linger li;
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Duipc_socket.c4242 struct linger l;
4854 struct linger l;

Completed in 332 milliseconds