Changeset 27797 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Mar 29, 2010 4:09:43 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59454
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r26495 r27797 340 340 static int dhcp_send_ack(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m, int fDhcpRequest) 341 341 { 342 struct bootp_t *rbp;343 342 int offReply = 0; /* boot_reply will fill general options and add END before sending response */ 344 343 … … 384 383 struct in_addr daddr; 385 384 int offReply; 386 uint8_t *opt;387 385 uint8_t *req_ip = NULL; 388 386 uint8_t *server_ip = NULL; … … 619 617 struct in_addr req_ip; 620 618 int fDhcpDiscover = 0; 621 int len, tag;622 619 struct mbuf *m = NULL; 623 620 -
trunk/src/VBox/Devices/Network/slirp/mbuf.c
r27448 r27797 137 137 goto recheck_zone; 138 138 AssertMsgFailed(("No mbufs on free list\n")); 139 return NULL; 139 m = NULL; 140 goto end_error; 140 141 #else 141 142 m = (struct mbuf *)RTMemAlloc(msize); -
trunk/src/VBox/Devices/Network/slirp/socket.c
r27573 r27797 568 568 /* A "normal" UDP packet */ 569 569 struct mbuf *m; 570 struct ethhdr *eh;571 570 ssize_t len; 572 571 u_long n = 0; -
trunk/src/VBox/Devices/Network/slirp/tcp_input.c
r25822 r27797 431 431 || so->so_faddr.s_addr != ti->ti_dst.s_addr) 432 432 { 433 #ifdef VBOX_WITH_SLIRP_MT 433 434 struct socket *sonxt; 435 #endif 434 436 QSOCKET_UNLOCK(tcb); 435 437 /* @todo fix SOLOOKUP macrodefinition to be usable here */ -
trunk/src/VBox/Devices/Network/slirp/tcp_output.c
r26404 r27797 81 81 unsigned optlen, hdrlen; 82 82 int idle, sendalot; 83 #ifdef VBOX_WITH_SLIRP_BSD_MBUF 83 84 int size; 85 #endif 84 86 85 87 DEBUG_CALL("tcp_output");
Note:
See TracChangeset
for help on using the changeset viewer.