Searched refs:SO_LINGER (Results 1 - 25 of 36) sorted by relevance

12

/external/kernel-headers/original/uapi/asm-generic/
H A Dsocket.h24 #define SO_LINGER 13 macro
/external/strace/tests/
H A Dso_linger.c2 * Check decoding of SO_LINGER socket option.
41 int rc = getsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
49 int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
66 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
74 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
81 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
88 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, -1) = %s\n",
93 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
98 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
104 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onof
[all...]
/external/strace/tests-m32/
H A Dso_linger.c2 * Check decoding of SO_LINGER socket option.
41 int rc = getsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
49 int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
66 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
74 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
81 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
88 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, -1) = %s\n",
93 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
98 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
104 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onof
[all...]
/external/strace/tests-mx32/
H A Dso_linger.c2 * Check decoding of SO_LINGER socket option.
41 int rc = getsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
49 int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
66 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
74 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
81 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onoff=%d, l_linger=%d}"
88 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, -1) = %s\n",
93 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
98 printf("setsockopt(%d, SOL_SOCKET, SO_LINGER, %p, %d) = %s\n",
104 printf("getsockopt(%d, SOL_SOCKET, SO_LINGER, {l_onof
[all...]
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dsocket.h29 #define SO_LINGER 0x0080 /* Block on close of a reliable macro
/external/parameter-framework/asio/include/asio/
H A Dsocket_base.hpp322 * Implements the SOL_SOCKET/SO_LINGER socket option.
348 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_LINGER)>
/external/parameter-framework/asio-1.10.6/include/asio/
H A Dsocket_base.hpp322 * Implements the SOL_SOCKET/SO_LINGER socket option.
348 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_LINGER)>
/external/python/cpython2/Lib/plat-os2emx/
H A DSOCKET.py21 SO_LINGER = 0x0080 variable
/external/oj-libjdwp/src/solaris/transport/socket/
H A Dsocket_md.c196 } else if (cmd == SO_LINGER) {
202 if(setsockopt(fd, SOL_SOCKET, SO_LINGER,
207 if (setsockopt(fd, SOL_SOCKET, SO_LINGER,
/external/strace/xlat/
H A Dsockoptions.h53 #if defined(SO_LINGER) || (defined(HAVE_DECL_SO_LINGER) && HAVE_DECL_SO_LINGER)
54 XLAT(SO_LINGER),
/external/libevent/test/
H A Dbench_httpclient.c125 if (setsockopt(sock, SOL_SOCKET, SO_LINGER, (void*)&l, sizeof(l))<0)
126 perror("setsockopt(SO_LINGER)");
/external/parameter-framework/asio/include/asio/detail/
H A Dsocket_types.hpp114 # define ASIO_OS_DEF_SO_LINGER SO_LINGER
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dsocket_types.hpp114 # define ASIO_OS_DEF_SO_LINGER SO_LINGER
/external/syslinux/core/lwip/src/core/
H A Dinit.c248 if (SO_LINGER != SOF_LINGER)
249 LWIP_PLATFORM_DIAG(("lwip_sanity_check: WARNING: SO_LINGER != SOF_LINGER\n"));
/external/syslinux/core/lwip/src/include/lwip/
H A Dsockets.h84 #define SO_LINGER 0x0080 /* linger on close if data present */ macro
88 #define SO_DONTLINGER ((int)(~SO_LINGER))
/external/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_sockopt.c22 * TEST12: setsockopt: SO_LINGER
23 * TEST13: getsockopt: SO_LINGER
90 struct linger slinger; /*SO_LINGER structure*/
91 struct linger glinger; /*SO_LINGER structure*/
269 /* SO_LINGER Test with l_onff = 0 and l_linger = 0 */
280 /* TEST12: Test case for setsockopt SO_LINGER */
281 error = setsockopt(sk2, SOL_SOCKET, SO_LINGER, &slinger, len);
283 tst_brkm(TBROK, tst_exit, "setsockopt SO_LINGER "
286 tst_resm(TPASS, "setsockopt() SO_LINGER - SUCCESS");
288 /* TEST13: Test case for getsockopt SO_LINGER */
[all...]
/external/python/cpython2/Lib/plat-unixware7/
H A DIN.py239 SO_LINGER = 0x0080 variable
248 SO_DONTLINGER = (~SO_LINGER)
/external/strace/
H A Dnet.c576 case SO_LINGER:
778 case SO_LINGER:
/external/python/cpython2/Lib/plat-linux2/
H A DIN.py458 SO_LINGER = 13 variable
/external/python/cpython2/Lib/plat-atheos/
H A DIN.py775 SO_LINGER = 13 variable
/external/ltp/testcases/kernel/syscalls/epoll2/examples/
H A Depoll-test.c601 setsockopt(sfd, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling));
/external/python/cpython2/Lib/test/
H A Dtest_asyncore.py719 s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER,
/external/python/cpython3/Lib/test/
H A Dtest_asyncore.py794 s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER,
/external/webrtc/talk/media/sctp/
H A Dsctpdataengine.cc431 if (usrsctp_setsockopt(sock_, SOL_SOCKET, SO_LINGER, &linger_opt,
433 LOG_ERRNO(LS_ERROR) << debug_name_ << "Failed to set SO_LINGER.";
497 // We assume that SO_LINGER option is set to close the association when
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc660 setsockopt(_socket, SOL_SOCKET, SO_LINGER,

Completed in 641 milliseconds

12