Searched refs:sndbuf (Results 1 – 12 of 12) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt04.c | 29 unsigned int sndbuf, rec_sndbuf; in run() local 32 sndbuf = SNDBUF; in run() 34 optlen = sizeof(sndbuf); in run() 36 SAFE_SETSOCKOPT(sockfd, SOL_SOCKET, SO_SNDBUFFORCE, &sndbuf, optlen); in run() 39 tst_res(TINFO, "Try to set send buffer size to: %u", sndbuf); in run()
|
/external/iproute2/tc/ |
D | q_atm.c | 56 int sndbuf = 0; in atm_parse_class_opt() local 88 sndbuf = strtol(*argv, &end, 0); in atm_parse_class_opt() 149 if (sndbuf) in atm_parse_class_opt() 150 if (setsockopt(s, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)) < 0) { in atm_parse_class_opt()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tcp_mmap.c | 80 static int sndbuf; /* Default: autotuning. Can be set with -w <integer> option */ variable 246 if (sndbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf() 247 SO_SNDBUF, &sndbuf, sizeof(sndbuf)) == -1) { in apply_rcvsnd_buf() 374 sndbuf = atoi(optarg); in main()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_unix.c | 81 int sndbuf, outq; in wpas_ctrl_sock_debug() local 87 optlen = sizeof(sndbuf); in wpas_ctrl_sock_debug() 88 sndbuf = 0; in wpas_ctrl_sock_debug() 89 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0) in wpas_ctrl_sock_debug() 90 sndbuf = -1; in wpas_ctrl_sock_debug() 97 title, sock, sndbuf, outq, (int) len); in wpas_ctrl_sock_debug() 296 int sndbuf, outq; in wpas_ctrl_iface_throttle() local 298 optlen = sizeof(sndbuf); in wpas_ctrl_iface_throttle() 299 sndbuf = 0; in wpas_ctrl_iface_throttle() 300 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0 || in wpas_ctrl_iface_throttle() [all …]
|
/external/iputils/ |
D | ping_common.c | 9 int sndbuf; variable 329 sndbuf = atoi(optarg); in common_options() 330 if (sndbuf <= 0) { in common_options() 594 if (!sndbuf) in sock_setbufs() 595 sndbuf = alloc; in sock_setbufs() 596 setsockopt(icmp_sock, SOL_SOCKET, SO_SNDBUF, (char *)&sndbuf, sizeof(sndbuf)); in sock_setbufs()
|
D | ping_common.h | 135 extern int sndbuf;
|
D | RELNOTES | 546 * ping: option -S allows to change sndbuf
|
/external/kernel-headers/original/uapi/linux/ |
D | rds.h | 196 __u32 sndbuf; member 206 __u32 sndbuf; member
|
/external/ltp/testcases/kernel/sched/process_stress/ |
D | process.c | 221 Msgbuf sndbuf; in send_message() local 223 strcpy(sndbuf.mtext, text); in send_message() 224 sndbuf.mtyp = type; in send_message() 226 rc = msgsnd(id, &sndbuf, sizeof(struct messagebuf), IPC_NOWAIT); in send_message()
|
/external/iproute2/lib/ |
D | libnetlink.c | 141 int sndbuf = 32768; in rtnl_open_byproto() local 154 &sndbuf, sizeof(sndbuf)) < 0) { in rtnl_open_byproto()
|
/external/iputils/doc/ |
D | ping.sgml | 31 <arg choice="opt">-S <replaceable/sndbuf/</arg> 361 <term><option>-S <replaceable/sndbuf/</option></term> 363 Set socket sndbuf. If not specified, it is selected to buffer
|
/external/libevent/ |
D | ChangeLog | 21 o evdns: add new options -- so-rcvbuf/so-sndbuf (546a366c Azat Khuzhin)
|