/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | reliantunix.c | 60 PRInt32 _MD_connect(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 66 rv = _connect(osfd,addr,addrlen); 70 PRInt32 _MD_accept(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 76 rv = _accept(osfd,addr,addrlen);
|
H A D | scoos.c | 60 PRInt32 _MD_connect(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 66 rv = _connect(osfd,addr,addrlen); 70 PRInt32 _MD_accept(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 76 rv = _accept(osfd,addr,addrlen);
|
H A D | ncr.c | 60 PRInt32 _MD_connect(PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, argument 66 rv = _connect(osfd,addr,addrlen); 70 PRInt32 _MD_accept(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 76 rv = _accept(osfd,addr,addrlen);
|
H A D | unixware.c | 63 PRInt32 _MD_connect(PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, argument 69 rv = _connect(osfd,addr,addrlen); 73 PRInt32 _MD_accept(PRInt32 osfd, PRNetAddr *addr, PRInt32 addrlen, argument 79 rv = _accept(osfd,addr,addrlen);
|
H A D | irix.c | 440 PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, PRIntervalTime timeout) 446 rv = connect(osfd, addr, addrlen); 439 _MD_irix_connect( PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, PRIntervalTime timeout) argument
|
H A D | unix.c | 830 PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, 837 while ((*addrlen = PR_NETADDR_SIZE(addr)), 839 (struct sockaddr *) addr, (_PRSockLen_t *)addrlen)) == -1)) { 953 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) 962 ((struct sockaddr *) &addrCopy)->sa_len = addrlen; 966 (struct sockaddr *) &addrCopy, addrlen)) == -1) { 969 (struct sockaddr *) addr, addrlen)) == -1) { 1064 PRUint32 *addrlen, PRIntervalTime timeout) 1071 (_PRSockLen_t *)addrlen)) == -1) { 1107 PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTim 829 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 951 _MD_sendto( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 1063 _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 1106 _MD_connect( PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 1193 _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 1250 _MD_getsockname(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument 1272 _MD_getpeername(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument 3219 _PRSockLen_t addrlen = sizeof(addr); local [all...] |
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | tcp_subr.c | 470 socklen_t addrlen = sizeof(struct sockaddr_in); local 493 closesocket(accept(inso->s,(struct sockaddr *)&addr,&addrlen)); 508 if ((s = accept(inso->s,(struct sockaddr *)&addr,&addrlen)) < 0)
|
H A D | udp.c | 603 socklen_t addrlen = sizeof(struct sockaddr_in); local 642 if (bind(so->s,(struct sockaddr *)&addr, addrlen) < 0) 652 getsockname(so->s,(struct sockaddr *)&addr,&addrlen);
|
H A D | socket.c | 700 socklen_t addrlen = sizeof(struct sockaddr_in); local 737 mh.msg_namelen = addrlen; 749 (struct sockaddr *)&addr, &addrlen, 937 socklen_t addrlen = sizeof(addr); local 1014 getsockname(s,(struct sockaddr *)&addr,&addrlen); 1325 socklen_t addrlen = sizeof(struct sockaddr_in); local 1332 (struct sockaddr *)&addr, &addrlen); 1386 addrlen = sizeof(struct sockaddr_in); 1387 memset(&addr, 0, addrlen); 1389 (struct sockaddr *)&addr, &addrlen); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2sock.c | 286 PRUint32 *addrlen, PRIntervalTime timeout) 292 while ((rv = accept(osfd, (struct sockaddr*) addr, (int*)addrlen)) == -1) 320 _PR_MD_CONNECT(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, argument 328 ((struct sockaddr *)&addrCopy)->sa_len = addrlen; 346 if ((rv = connect(osfd, (struct sockaddr *)addr, addrlen)) == -1) 391 _PR_MD_BIND(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 396 ((struct sockaddr *)&addrCopy)->sa_len = addrlen; 400 rv = bind(fd->secret->md.osfd, (struct sockaddr *) addr, (int )addrlen); 498 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) 505 ((struct sockaddr *)&addrCopy)->sa_len = addrlen; 285 _MD_Accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 497 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 534 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 652 _PR_MD_GETSOCKNAME(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument 670 _PR_MD_GETPEERNAME(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95sock.c | 141 _PR_MD_CONNECT(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, argument 148 if ((rv = connect(osfd, (struct sockaddr *) addr, addrlen)) == -1) 171 _PR_MD_BIND(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 175 rv = bind(fd->secret->md.osfd, (const struct sockaddr *)&(addr->inet), addrlen); 280 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) 289 addrlen)) == -1) 325 PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) 331 addrlen)) == -1) 279 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 324 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument
|
H A D | w16sock.c | 170 _PR_MD_ACCEPT(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, argument 178 MD_ASSERTINT( *addrlen ); 181 (int *)addrlen)) == INVALID_SOCKET ) { 222 _PR_MD_CONNECT(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, argument 229 while ((rv = connect(osfd, (struct sockaddr *)addr, addrlen)) == -1) { 274 _PR_MD_BIND(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 279 rv = bind(fd->secret->md.osfd, (const struct sockaddr *)&(addr->inet), addrlen); 380 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) 387 (struct sockaddr *) addr, addrlen)) == -1) { 425 PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTim 379 _PR_MD_SENDTO(PRFileDesc*fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 424 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument [all...] |
H A D | ntio.c | 121 static PRInt32 _nt_nonblock_accept(PRFileDesc *fd, struct sockaddr *addr, int *addrlen, PRIntervalTime); 122 static PRInt32 _nt_nonblock_connect(PRFileDesc *fd, struct sockaddr *addr, int addrlen, PRIntervalTime); 224 PRIntn addrlen, PRIntervalTime timeout); 1158 PRUint32 addrlen; member in struct:connect_data_s 1167 cd->status = connect(cd->osfd, cd->addr, cd->addrlen); 1177 _PR_MD_CONNECT(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, argument 1192 if ((rv = connect(osfd, (struct sockaddr *) addr, addrlen)) == -1) { 1209 rc = _nt_nonblock_connect(fd, (struct sockaddr *) addr, addrlen, timeout); 1220 _PR_MD_BIND(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 1227 rv = bind(fd->secret->md.osfd, (const struct sockaddr *)&(addr->inet), addrlen); 1901 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 1919 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 3795 _nt_nonblock_accept(PRFileDesc *fd, struct sockaddr *addr, int *addrlen, PRIntervalTime timeout) argument 3854 _nt_nonblock_connect(PRFileDesc *fd, struct sockaddr *addr, int addrlen, PRIntervalTime timeout) argument 4045 _nt_nonblock_sendto( PRFileDesc *fd, const char *buf, int len, const struct sockaddr *addr, int addrlen, PRIntervalTime timeout) argument 4112 _nt_nonblock_recvfrom(PRFileDesc *fd, char *buf, int len, struct sockaddr *addr, int *addrlen, PRIntervalTime timeout) argument 4612 pt_SendTo( SOCKET osfd, const void *buf, PRInt32 amount, PRInt32 flags, const PRNetAddr *addr, PRIntn addrlen, PRIntervalTime timeout) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bnet.c | 265 PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) 271 while ((*addrlen = PR_NETADDR_SIZE(addr)), 274 (_PRSockLen_t *)addrlen)) == -1)) { 385 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) 394 ((struct sockaddr *) &addrCopy)->sa_len = addrlen; 398 (struct sockaddr *) &addrCopy, addrlen)) == -1) { 401 (struct sockaddr *) addr, addrlen)) == -1) { 496 _MD_accept (PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, argument 504 (_PRSockLen_t *)addrlen)) == -1) { 528 err = getpeername(rv, (struct sockaddr *) addr, (_PRSockLen_t *)addrlen); 264 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 384 _MD_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 543 _MD_connect(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 664 _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen) argument 749 _MD_getsockname(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument 772 _MD_getpeername(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument [all...] |
/vbox/src/VBox/Devices/Network/lwip/src/api/ |
H A D | sockets.c | 166 lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen) argument 193 if (*addrlen > (socklen_t)sizeof(sin)) 194 *addrlen = sizeof(sin); 196 memcpy(addr, &sin, *addrlen);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/ |
H A D | prsocket.c | 1070 PRUint32 addrlen; local 1072 addrlen = sizeof(PRNetAddr); 1073 result = _PR_MD_GETSOCKNAME(fd, addr, &addrlen); 1082 PR_ASSERT(IsValidNetAddrLen(addr, addrlen) == PR_TRUE); 1089 PRUint32 addrlen; local 1091 addrlen = sizeof(PRNetAddr); 1092 result = _PR_MD_GETPEERNAME(fd, addr, &addrlen); 1101 PR_ASSERT(IsValidNetAddrLen(addr, addrlen) == PR_TRUE);
|
/vbox/src/VBox/Devices/Network/lwip-new/src/api/ |
H A D | sockets.c | 384 lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen) argument 421 /* Note that POSIX only requires us to check addr is non-NULL. addrlen must 434 LWIP_ASSERT("addr valid but addrlen NULL", addrlen != NULL); 437 if (*addrlen > tempaddr.sa.sa_len) { 438 *addrlen = tempaddr.sa.sa_len; 440 MEMCPY(addr, &tempaddr, *addrlen);
|
/vbox/src/libs/libxml2-2.6.31/ |
H A D | nanoftp.c | 859 int addrlen = sizeof (struct sockaddr_in); local 923 addrlen = tmp->ai_addrlen; 951 addrlen = sizeof (struct sockaddr_in); 963 addrlen) < 0) {
|
H A D | nanohttp.c | 812 int addrlen; local 818 addrlen = sizeof (struct sockaddr_in6); 824 addrlen = sizeof (struct sockaddr_in); 875 if (connect (s, addr, addrlen) == -1) {
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prnetdb.c | 646 #define GETHOSTBYADDR(addr, addrlen, af) \ 647 (gethostbyaddr_r(addr, addrlen, af, \ 656 #define GETHOSTBYADDR(addr, addrlen, af) \ 657 gethostbyaddr_r(addr, addrlen, af, &tmphe, tmpbuf, bufsize, &h_err) 663 #define GETHOSTBYADDR(addr, addrlen, af) gethostbyaddr(addr, addrlen, af) 1006 int addrlen; local 1046 addrlen = sizeof(hostaddr->ipv6.ip); 1059 addrlen = sizeof(tmp_ip); 1065 addrlen [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/ |
H A D | macsockotpt.c | 580 PRInt32 _MD_bind(PRFileDesc *fd, PRNetAddr *addr, PRUint32 addrlen) argument 606 bindReq.addr.len = addrlen; 608 bindReq.addr.maxlen = addrlen; 735 PRInt32 _MD_getsockname(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen) argument 752 bindReq.addr.len = *addrlen; 753 bindReq.addr.maxlen = *addrlen; 775 *addrlen = PR_NETADDR_SIZE(addr); 1190 PRInt32 _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 1210 call.addr.maxlen = *addrlen; 1211 call.addr.len = *addrlen; 1306 _MD_connect(PRFileDesc *fd, PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 1589 SendReceiveDgram(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout, SndRcvOpCode opCode) argument 1667 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument 1676 _MD_sendto(PRFileDesc *fd,const void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument 2196 gethostbyaddr(const void *addr, int addrlen, int type) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/ |
H A D | primpl.h | 1176 PRUint32 addrlen, PRIntervalTime timeout); 1181 PRUint32 *addrlen, PRIntervalTime timeout); 1184 extern PRInt32 _PR_MD_BIND(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen); 1209 PRUint32 *addrlen, PRIntervalTime timeout, 1230 PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); 1234 PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); 1254 PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout); 1259 const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout); 2129 PRUint32 addrlen; member in struct:_ConnectListNode
|