Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dq_atm.c58 int sndbuf = 0; in atm_parse_class_opt() local
94 sndbuf = strtol(*argv,&end,0); in atm_parse_class_opt()
160 if (sndbuf) in atm_parse_class_opt()
161 if (setsockopt(s,SOL_SOCKET,SO_SNDBUF,&sndbuf,sizeof(sndbuf)) < 0) { in atm_parse_class_opt()
/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/ltp/testcases/kernel/sched/process_stress/
Dprocess.c222 Msgbuf sndbuf; in send_message() local
224 strcpy(sndbuf.mtext, text); in send_message()
225 sndbuf.mtyp = type; in send_message()
227 rc = msgsnd(id, &sndbuf, sizeof(struct messagebuf), IPC_NOWAIT); in send_message()
/external/kernel-headers/original/uapi/linux/
Drds.h139 uint32_t sndbuf; member
/external/dhcpcd-6.8.2/
Dipv6.h198 unsigned char sndbuf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; member
Dipv6.c158 ctx->sndhdr.msg_control = ctx->sndbuf; in ipv6_init()
159 ctx->sndhdr.msg_controllen = sizeof(ctx->sndbuf); in ipv6_init()
/external/iproute2/lib/
Dlibnetlink.c50 int sndbuf = 32768; in rtnl_open_byproto() local
61 if (setsockopt(rth->fd,SOL_SOCKET,SO_SNDBUF,&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
/external/syslinux/core/lwip/
DCHANGELOG2485 * tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is