/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2poll.c | 350 int optval; local 351 int optlen = sizeof(optval); 360 SO_TYPE, (char *) &optval, &optlen) == -1)
|
H A D | os2sock.c | 689 char* optval, PRInt32* optlen) 693 rv = getsockopt(fd->secret->md.osfd, level, optname, optval, (int *)optlen); 703 const char* optval, PRInt32 optlen) 707 rv = setsockopt(fd->secret->md.osfd, level, optname, optval, optlen); 688 _PR_MD_GETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 702 _PR_MD_SETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | nonblock.c | 92 PRSocketOptionData optval; local 107 optval.option = PR_SockOpt_Nonblocking; 108 optval.value.non_blocking = PR_TRUE; 109 PR_SetSocketOption(sock, &optval); 162 PRSocketOptionData optval; local 208 optval.option = PR_SockOpt_Nonblocking; 209 optval.value.non_blocking = PR_TRUE; 210 PR_SetSocketOption(listenSock, &optval); 233 PR_SetSocketOption(sock, &optval);
|
H A D | poll_nm.c | 139 PRSocketOptionData optval; local 199 optval.option = PR_SockOpt_Nonblocking; 200 optval.value.non_blocking = PR_TRUE; 201 PR_SetSocketOption(listenSock1, &optval); 227 PR_SetSocketOption(listenSock2, &optval);
|
/vbox/src/VBox/Additions/solaris/SharedFolders/ |
H A D | vboxfs_vfs.c | 275 char *optval; local 323 if (vfs_optionisset(vfsp, "uid", &optval) && 324 ddi_strtol(optval, NULL, 10, &val) == 0 && 331 if (vfs_optionisset(vfsp, "gid", &optval) && 332 ddi_strtol(optval, NULL, 10, &val) == 0 && 339 if (vfs_optionisset(vfsp, "dmode", &optval) && 340 ddi_strtol(optval, NULL, 8, &val) == 0 && 347 if (vfs_optionisset(vfsp, "fmode", &optval) && 348 ddi_strtol(optval, NULL, 8, &val) == 0 && 355 if (vfs_optionisset(vfsp, "dmask", &optval) [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w32poll.c | 324 int optval; local 325 int optlen = sizeof(optval); 334 SO_TYPE, (char *) &optval, &optlen) == -1)
|
H A D | w95sock.c | 426 _PR_MD_GETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 430 rv = getsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen); 440 _PR_MD_SETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument 444 rv = setsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen);
|
H A D | w16sock.c | 537 _PR_MD_GETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 541 rv = getsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, (int*)optlen); 551 _PR_MD_SETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument 555 rv = setsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen);
|
H A D | ntio.c | 2056 _PR_MD_GETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 2060 rv = getsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen); 2070 _PR_MD_SETSOCKOPT(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument 2074 rv = setsockopt((SOCKET)fd->secret->md.osfd, level, optname, optval, optlen);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bnet.c | 797 PRInt32 optname, char* optval, PRInt32* optlen) 802 optval, (_PRSockLen_t *)optlen); 813 PRInt32 optname, const char* optval, PRInt32 optlen) 817 rv = setsockopt(fd->secret->md.osfd, level, optname, optval, optlen); 796 _MD_getsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 812 _MD_setsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument
|
/vbox/src/VBox/Devices/Network/lwip/src/api/ |
H A D | sockets.c | 974 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen) argument 984 if( NULL == optval || NULL == optlen ) { 1098 *(int*)optval = sock->conn->pcb.tcp->so_options & optname; 1099 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_getsockopt(%d, SOL_SOCKET, optname=0x%x, ..) = %s\n", s, optname, (*(int*)optval?"on":"off"))); 1105 *(int*)optval = SOCK_RAW; 1108 *(int*)optval = SOCK_STREAM; 1113 *(int*)optval = SOCK_DGRAM; 1116 *(int*)optval = sock->conn->type; 1117 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_getsockopt(%d, SOL_SOCKET, SO_TYPE): unrecognized socket type %d\n", s, *(int *)optval)); 1119 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_getsockopt(%d, SOL_SOCKET, SO_TYPE) = %d\n", s, *(int *)optval)); 1164 lwip_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen) argument [all...] |
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | proxy_tftpd.c | 712 tftp_opt_blksize(struct xfer *xfer, const char *optval) argument 718 blksize = strtol(optval, &end, 10); 738 tftp_opt_timeout(struct xfer *xfer, const char *optval) argument 741 LWIP_UNUSED_ARG(optval); 747 tftp_opt_tsize(struct xfer *xfer, const char *optval) argument 749 LWIP_UNUSED_ARG(optval); /* must be "0", but we don't check it */
|
/vbox/src/VBox/Devices/Network/lwip-new/src/api/ |
H A D | sockets.c | 178 void *optval; member in struct:lwip_setgetsockopt_data 179 /** size of *optval */ 1525 lwip_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) argument 1535 if ((NULL == optval) || (NULL == optlen)) { 1733 data.optval = optval; 1753 void *optval; local 1765 optval = data->optval; 1785 *(int*)optval 1971 lwip_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen) argument 2210 const void *optval; local [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/ |
H A D | macsockotpt.c | 784 PRStatus _MD_getsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 848 *((t_linger*)optval) = *((t_linger*)&opt->value); 856 *((PRIntn*)optval) = *((PRIntn*)&opt->value); 860 *((PRUint8*)optval) = *((PRIntn*)&opt->value); 864 *((PRUintn*)optval) = *((PRUint8*)&opt->value); 868 *((PRUint8*)optval) = *((PRUint8*)&opt->value); 874 /* struct ip_mreq and TIPAddMulticast are the same size and optval 876 *((struct ip_mreq *)optval) = *((struct ip_mreq *)&opt->value); 882 *((PRUint32*)optval) = *((PRUint32*)&opt->value); 889 *((PRIntn*)optval) 909 _MD_setsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | unix.c | 1295 PRInt32 optname, char* optval, PRInt32* optlen) 1299 rv = getsockopt(fd->secret->md.osfd, level, optname, optval, (_PRSockLen_t *)optlen); 1308 PRInt32 optname, const char* optval, PRInt32 optlen) 1312 rv = setsockopt(fd->secret->md.osfd, level, optname, optval, optlen); 1294 _MD_getsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen) argument 1307 _MD_setsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen) argument
|