Home
last modified time | relevance | path

Searched refs:SO_SNDBUF (Results 1 – 25 of 93) sorted by relevance

1234

/external/curl/tests/libtest/
Dlib1522.c35 #if defined(SOL_SOCKET) && defined(SO_SNDBUF) in sockopt_callback()
39 setsockopt(curlfd, SOL_SOCKET, SO_SNDBUF, in sockopt_callback()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dsockopt_sk.c38 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _getsockopt()
91 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _setsockopt()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dsockopt_sk.c84 err = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buf, 4); in getsetsockopt()
92 err = getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buf, &optlen); in getsetsockopt()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt04.c37 SAFE_GETSOCKOPT(sockfd, SOL_SOCKET, SO_SNDBUF, &rec_sndbuf, &optlen); in run()
/external/iperf3/src/
Diperf_tcp.c230 if (setsockopt(s, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)) < 0) { in iperf_tcp_listen()
316 if (getsockopt(s, SOL_SOCKET, SO_SNDBUF, &sndbuf_actual, &optlen) < 0) { in iperf_tcp_listen()
496 if (setsockopt(s, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)) < 0) { in iperf_tcp_connect()
508 if (getsockopt(s, SOL_SOCKET, SO_SNDBUF, &sndbuf_actual, &optlen) < 0) { in iperf_tcp_connect()
/external/strace/xlat/
Dsock_options.h99 #if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF)
101 static_assert((SO_SNDBUF) == (4097), "SO_SNDBUF != 4097");
104 # define SO_SNDBUF 4097
107 #if defined(SO_SNDBUF) || (defined(HAVE_DECL_SO_SNDBUF) && HAVE_DECL_SO_SNDBUF)
109 static_assert((SO_SNDBUF) == (7), "SO_SNDBUF != 7");
112 # define SO_SNDBUF 7
1468 XLAT(SO_SNDBUF),
1470 XLAT(SO_SNDBUF),
/external/rust/crates/mio/src/sys/windows/
Dtcp.rs18 …SOCK_STREAM, SOL_SOCKET, SO_LINGER, SO_REUSEADDR, SO_RCVBUF, SO_SNDBUF, SO_KEEPALIVE, WSAIoctl, LP…
220 SO_SNDBUF, in set_send_buffer_size()
235 SO_SNDBUF, in get_send_buffer_size()
/external/curl/tests/data/
Dtest152236 CURLINFO_SIZE_UPLOAD with small SO_SNDBUF
/external/oj-libjdwp/src/solaris/transport/socket/
Dsocket_md.c212 } else if (cmd == SO_SNDBUF) { in dbgsysSetSocketOption()
214 if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, in dbgsysSetSocketOption()
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py26 SO_SNDBUF = 0x1001 variable
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h17 #define SO_SNDBUF 7 macro
/external/usrsctp/programs/
Dekr_loop_offload.c423 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
429 if (usrsctp_setsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &snd_buf_size, sizeof(int)) < 0) {
435 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
Dekr_loop.c406 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
412 if (usrsctp_setsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &snd_buf_size, sizeof(int)) < 0) {
418 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
Dekr_loop_upcall.c440 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
446 if (usrsctp_setsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &snd_buf_size, sizeof(int)) < 0) {
452 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) {
/external/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
Dmod.rs23 pub const SO_SNDBUF: ::c_int = 0x1001; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
Dmod.rs16 pub const SO_SNDBUF: ::c_int = 0x1001; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/
Dmod.rs12 pub const SO_SNDBUF: ::c_int = 7; constant
/external/strace/tests-m32/
Dsendfile64.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
Dsendfile.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_base.hpp195 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_SNDBUF)>
/external/strace/tests/
Dsendfile64.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
Dsendfile.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
/external/strace/tests-mx32/
Dsendfile64.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
Dsendfile.c62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
/external/rust/crates/libc/src/unix/linux_like/linux/arch/generic/
Dmod.rs14 pub const SO_SNDBUF: ::c_int = 7; constant

1234