Changeset 16511 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Feb 4, 2009 12:45:10 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42430
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.h
r15636 r16511 171 171 void icmp_reflect _P((PNATState, struct mbuf *)); 172 172 173 struct icmp_msg{ 173 struct icmp_msg 174 { 174 175 LIST_ENTRY(icmp_msg) im_list; 175 176 struct mbuf *im_m; -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r16501 r16511 55 55 /* This should not happen */ \ 56 56 error = WSAGetLastError(); \ 57 LogRel(("WSAEventSelect or (" #label ") error %d (so=%x, socket=%s, event=%x)\n",\57 LogRel(("WSAEventSelect (" #label ") error %d (so=%x, socket=%s, event=%x)\n", \ 58 58 error, (so), (so)->s, VBOX_SOCKET_EVENT)); \ 59 59 } \ 60 } while(0); 60 } while(0); \ 61 61 CONTINUE(label) 62 62 -
trunk/src/VBox/Devices/Network/slirp/socket.c
r16504 r16511 202 202 * would be dangerous. 203 203 */ 204 int status = 0;204 int status, ignored; 205 205 unsigned long pending = 0; 206 int ignored;207 206 status = WSAIoctl(so->s, FIONREAD, NULL, 0, &pending, sizeof(unsigned long), &ignored, NULL, NULL); 208 if(status < 0) 209 { 207 if (status < 0) 210 208 Log2(("error in WSAIoctl: %d\n", WSAGetLastError())); 211 }212 209 if (nn == 0 && (pending != 0)) 213 210 { -
trunk/src/VBox/Devices/Network/slirp/udp.c
r16449 r16511 161 161 */ 162 162 if ( ntohs(uh->uh_dport) == TFTP_SERVER 163 163 && CTL_CHECK(ntohl(ip->ip_dst.s_addr), CTL_TFTP)) 164 164 { 165 165 tftp_input(pData, m);
Note:
See TracChangeset
for help on using the changeset viewer.