Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 10 of 10) sorted by relevance

/external/iproute2/tc/
Dq_atm.c56 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/
Dtcp_mmap.c94 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/
Dctrl_iface_unix.c81 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/
Dping_common.c9 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()
Dping_common.h135 extern int sndbuf;
DRELNOTES546 * ping: option -S allows to change sndbuf
/external/kernel-headers/original/uapi/linux/
Drds.h188 __u32 sndbuf; member
198 __u32 sndbuf; member
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c221 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/
Dlibnetlink.c141 int sndbuf = 32768; in rtnl_open_byproto() local
154 &sndbuf, sizeof(sndbuf)) < 0) { in rtnl_open_byproto()
/external/iputils/doc/
Dping.sgml31 <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