Changeset 53624 in vbox for trunk/src/VBox/NetworkServices/NAT
- Timestamp:
- Dec 31, 2014 2:59:44 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97393
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/lwipopts.h
r52001 r53624 104 104 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. 105 105 Use default that is based on TCP_MSS and PBUF_LINK_HLEN. */ 106 #undef PBUF_POOL_BUFSIZE 106 #undef PBUF_POOL_BUFSIZE 107 107 108 108 /** Turn on support for lightweight critical region protection. Leaving this … … 132 132 #define LWIP_ND6_ALLOW_RA_UPDATES (!LWIP_IPV6_FORWARD) 133 133 #define LWIP_IPV6_SEND_ROUTER_SOLICIT (!LWIP_IPV6_FORWARD) 134 /* IPv6 autoconfig we don't need in proxy, but it required for very seldom cases 134 /* IPv6 autoconfig we don't need in proxy, but it required for very seldom cases 135 135 * iSCSI over intnet with IPv6 136 136 */ 137 #define LWIP_IPV6_AUTOCONFIG 1 137 #define LWIP_IPV6_AUTOCONFIG 1 138 138 #if LWIP_IPV6_FORWARD /* otherwise use the default from lwip/opt.h */ 139 139 #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 0 … … 142 142 #define LWIP_IPV6_FRAG 1 143 143 144 /** 144 /** 145 145 * aka Slirp mode. 146 146 */ -
trunk/src/VBox/NetworkServices/NAT/portfwd.c
r51574 r53624 173 173 if (sdom == PF_INET) { 174 174 fwspec->src.sin.sin_port = htons(src_port); 175 fwspec->dst.sin.sin_port = htons(dst_port); 175 fwspec->dst.sin.sin_port = htons(dst_port); 176 176 } 177 177 else { /* PF_INET6 */ 178 178 fwspec->src.sin6.sin6_port = htons(src_port); 179 fwspec->dst.sin6.sin6_port = htons(dst_port); 179 fwspec->dst.sin6.sin6_port = htons(dst_port); 180 180 } 181 181 -
trunk/src/VBox/NetworkServices/NAT/proxy.c
r52930 r53624 530 530 */ 531 531 setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger)); 532 532 533 533 closesocket(s); 534 534 } -
trunk/src/VBox/NetworkServices/NAT/pxdns.c
r51597 r53624 694 694 nsent = sendto(pxdns->sock4, req->data, req->size, 0, 695 695 &resolver->sa, sizeof(resolver->sin)); 696 696 697 697 } 698 698 else if (resolver->sa.sa_family == AF_INET6) { -
trunk/src/VBox/NetworkServices/NAT/pxping.c
r51703 r53624 796 796 } 797 797 } 798 798 799 799 cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, NULL, 800 800 " id %04x->%04x", ntohs(pcb->guest_id), ntohs(pcb->host_id)); -
trunk/src/VBox/NetworkServices/NAT/pxping_win.c
r53368 r53624 547 547 goto out; 548 548 } 549 549 550 550 pong = NULL; /* callback owns it now */ 551 551 out: -
trunk/src/VBox/NetworkServices/NAT/pxtcp.c
r52650 r53624 1721 1721 */ 1722 1722 if (!pxtcp->outbound_close_done) { 1723 /* 1723 /* 1724 1724 * We might still need to poll for POLLOUT, but we can not 1725 1725 * poll for POLLIN anymore (even if not all data are read) -
trunk/src/VBox/NetworkServices/NAT/winutils.h
r52286 r53624 175 175 return error == EWOULDBLOCK 176 176 # if EAGAIN != EWOULDBLOCK 177 177 || error == EAGAIN 178 178 # endif 179 180 181 179 || error == EINTR 180 || error == ENOBUFS 181 || error == ENOMEM; 182 182 # else 183 183 return error == WSAEWOULDBLOCK 184 || error == WSAEINTR/* NB: we don't redefine EINTR above */185 184 || error == WSAEINTR /* NB: we don't redefine EINTR above */ 185 || error == WSAENOBUFS; 186 186 # endif 187 187 }
Note:
See TracChangeset
for help on using the changeset viewer.