Searched defs:sndbuf (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy.c375 int sndbuf; local
376 socklen_t optlen = sizeof(sndbuf);
378 status = getsockopt(s, SOL_SOCKET, SO_SNDBUF, (char *)&sndbuf, &optlen);
380 if (sndbuf < 64 * 1024) {
381 sndbuf = 64 * 1024;
383 (char *)&sndbuf, optlen);
H A Dpxtcp.c2003 size_t sndbuf; local
2058 sndbuf = tcp_sndbuf(pcb);
2059 if (sndbuf == 0) {
2077 if (sndbuf < toeob) { /* but we are limited by sndbuf */
2078 /* so beg is not going to wrap, treat sndbuf as lim */
2079 lim = beg + sndbuf; /* ... and proceed to the simple case */
2083 if (toeob == sndbuf || lim == 0) {
2099 sndbuf -= toeob;
2109 sndlim = beg + sndbuf;
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dtcpip.c329 int sndbuf = 1*1024*1024; local
331 int sndbuf = 64*1024;
334 int rcvbuf = sndbuf;
339 (char *) &sndbuf, sizeof(sndbuf) ) )
343 sndbuf, crTCPIPErrorString( err ) );

Completed in 52 milliseconds