Searched refs:setsockopt (Results 1 - 25 of 39) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dsetsockopt.c2 Implement the setsockopt API.
22 <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html">POSIX</a>
36 setsockopt ( function
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobRx/
H A DOobRx.c113 RetVal = setsockopt ( a,
120 printf ( "ERROR - setsockopt RCVTIMEO error, errno: %d\r\n", RetVal );
128 RetVal = setsockopt ( s,
135 printf ( "ERROR - setsockopt OOBINLINE error, errno: %d\r\n", RetVal );
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RecvDgram/
H A DRecvDgram.c67 Status = setsockopt ( s,
/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_subr.c417 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&opt, sizeof(opt));
419 setsockopt(s, SOL_SOCKET, SO_OOBINLINE, (char *)&opt, sizeof(opt));
515 setsockopt(s, SOL_SOCKET, SO_REUSEADDR,(char *)&opt, sizeof(int));
517 setsockopt(s, SOL_SOCKET, SO_OOBINLINE,(char *)&opt, sizeof(int));
520 setsockopt(s, IPPROTO_TCP, TCP_NODELAY,(char *)&opt, sizeof(int));
534 status = setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char *)&opt, sizeof(int));
550 status = setsockopt(s, SOL_SOCKET, SO_SNDBUF, (char *)&opt, sizeof(int));
H A Dudp.c306 ret = setsockopt(so->s, IPPROTO_IP, IP_TTL,
314 ret = setsockopt(so->s, IPPROTO_IP, IP_TOS,
343 ret = setsockopt(so->s, IPPROTO_IP, dfopt,
555 setsockopt(so->s, SOL_SOCKET, SO_BROADCAST, (const char *)&opt, sizeof(opt));
649 setsockopt(so->s, SOL_SOCKET, SO_REUSEADDR,(char *)&opt, sizeof(int));
650 /* setsockopt(so->s, SOL_SOCKET, SO_OOBINLINE,(char *)&opt, sizeof(int)); */
H A Dsocket.c987 || (setsockopt(s, SOL_SOCKET, SO_REUSEADDR,(char *)&opt, sizeof(int)) < 0)
1012 setsockopt(s, SOL_SOCKET, SO_OOBINLINE,(char *)&opt, sizeof(int));
1018 status = setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char *)&opt, sizeof(int));
1025 status = setsockopt(s, SOL_SOCKET, SO_SNDBUF, (char *)&opt, sizeof(int));
H A Dip_icmp.c473 status = setsockopt(pData->icmp_socket.s, IPPROTO_IP, IP_TTL,
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh88 setsockopt(S, SOL_SOCKET, SO_REUSEADDR, 1)
89 or die "setsockopt() failed: \$!";
/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy.c355 status = setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &on, onlen);
382 status = setsockopt(s, SOL_SOCKET, SO_SNDBUF,
385 DPRINTF(("SO_SNDBUF: setsockopt: %R[sockerr]\n", SOCKERRNO()));
529 status = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&on, onlen);
576 setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger));
H A DRTWinSocketPair.cpp87 int rc = setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, (char *)&reuse, cb);
H A Dpxudp.c621 status = setsockopt(pxudp->sock, IPPROTO_IP, IP_TTL,
633 status = setsockopt(pxudp->sock, IPPROTO_IP, IP_TOS,
649 status = setsockopt(pxudp->sock, IPPROTO_IP, dfopt,
671 status = setsockopt(pxudp->sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS,
H A Dpxping.c287 status = setsockopt(sock4, IPPROTO_IP, IP_MTU_DISCOVER,
320 status = setsockopt(sock6, IPPROTO_IPV6, IPV6_RECVPKTINFO,
330 status = setsockopt(sock6, IPPROTO_IPV6, IPV6_RECVHOPLIMIT,
507 status = setsockopt(pxping->sock4, IPPROTO_IP, IP_HDRINCL,
556 /* control DF flag via setsockopt(2) */
569 status = setsockopt(pxping->sock4, IPPROTO_IP, dfopt,
581 status = setsockopt(pxping->sock4, IPPROTO_IP, IP_TTL,
593 status = setsockopt(pxping->sock4, IPPROTO_IP, IP_TOS,
726 status = setsockopt(pxping->sock6, IPPROTO_IPV6, IPV6_UNICAST_HOPS,
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobTx/
H A DOobTx.c129 RetVal = setsockopt ( s,
136 printf ( "ERROR - setsockopt OOBINLINE error, errno: %d\r\n", RetVal );
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dtcpip.c338 if ( setsockopt( sock, SOL_SOCKET, SO_SNDBUF,
342 crWarning( "setsockopt( SO_SNDBUF=%d ) : %s",
346 if ( setsockopt( sock, SOL_SOCKET, SO_RCVBUF,
350 crWarning( "setsockopt( SO_RCVBUF=%d ) : %s",
355 if ( setsockopt( sock, SOL_SOCKET, SO_REUSEADDR,
359 crWarning( "setsockopt( SO_REUSEADDR=%d ) : %s",
363 if ( setsockopt( sock, IPPROTO_TCP, TCP_NODELAY,
367 crWarning( "setsockopt( TCP_NODELAY=%d )"
1288 setsockopt(conn->tcp_socket, SOL_SOCKET, SO_REUSEADDR, &err, sizeof(int));
H A Dudptcpip.c703 if ( setsockopt(conn->udp_socket, SOL_IP, IP_MTU_DISCOVER, &opt, sizeof(opt)) == -1 )
/vbox/src/VBox/RDP/client-1.8.3/
H A Dtcp.c33 #include <sys/socket.h> /* socket connect setsockopt */
513 setsockopt(g_sock, IPPROTO_TCP, TCP_NODELAY, (void *) &option_value, option_len);
521 setsockopt(g_sock, SOL_SOCKET, SO_RCVBUF, (void *) &option_value,
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/SetSockOpt/
H A DSetSockOpt.c332 Status = setsockopt ( s,
338 Print ( L"ERROR - setsockopt failed, errno: %d\r\n", errno );
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dsockets.h256 #define setsockopt(a,b,c,d,e) lwip_setsockopt(a,b,c,d,e) macro
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/
H A D_sunos4.h134 extern int setsockopt (int s, int level, int optname, const char* optval, int optlen);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Dsocket.h559 int setsockopt(int, int, int, const void *, socklen_t);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dsockets.h199 #define TCP_KEEPIDLE 0x03 /* set pcb->keep_idle - Same as TCP_KEEPALIVE, but use seconds for get/setsockopt */
200 #define TCP_KEEPINTVL 0x04 /* set pcb->keep_intvl - Use seconds for get/setsockopt */
201 #define TCP_KEEPCNT 0x05 /* set pcb->keep_cnt - Use number of probes sent for get/setsockopt */
408 #define setsockopt(a,b,c,d,e) lwip_setsockopt(a,b,c,d,e) macro
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c2595 if (setsockopt(sd->secret->md.osfd, SOL_TCP, TCP_CORK,
2612 "setsockopt(TCP_CORK) failed with EINVAL\n"));
2672 if (setsockopt(sd->secret->md.osfd, SOL_TCP, TCP_CORK,
2962 * translate to a setsockopt call.
2980 rv = setsockopt(
2990 rv = setsockopt(
3004 rv = setsockopt(
3014 rv = setsockopt(
3022 rv = setsockopt(
3030 rv = setsockopt(
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw95sock.c444 rv = setsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen);
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_db.c2876 r = setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_ADD, rulebuf, i);
2878 err(1, "alias punch inbound(1) setsockopt(IP_FW_ADD)");
2884 r = setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_ADD, rulebuf, i);
2886 err(1, "alias punch inbound(2) setsockopt(IP_FW_ADD)");
2912 while (!setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_DEL,
2934 while (!setsockopt(la->fireWallFD, IPPROTO_IP, IP_FW_DEL, &r, sizeof r));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbfile.c117 setsockopt(fd->secret->md.osfd, SOL_SOCKET, SO_NONBLOCK, &blocking, sizeof(blocking));

Completed in 3520 milliseconds

12