Searched refs:sndbuf (Results 1 – 10 of 10) sorted by relevance
/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 | 94 static int sndbuf; /* Default: autotuning. Can be set with -w <integer> option */ variable 250 if (sndbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf() 251 SO_SNDBUF, &sndbuf, sizeof(sndbuf)) == -1) { in apply_rcvsnd_buf() 349 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() 286 int sndbuf, outq; in wpas_ctrl_iface_throttle() local 288 optlen = sizeof(sndbuf); in wpas_ctrl_iface_throttle() 289 sndbuf = 0; in wpas_ctrl_iface_throttle() 290 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 | 188 __u32 sndbuf; member 198 __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
|