Changeset 23202 in vbox for trunk/src/VBox
- Timestamp:
- Sep 22, 2009 5:31:44 AM (15 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_output.c
r23178 r23202 309 309 mhip = mtod(m, struct ip *); 310 310 *mhip = *ip; 311 m->m_len += ip->ip_hl << 2; 311 312 #ifdef VBOX_WITH_SLIRP_BSD_MBUF 312 313 m->m_pkthdr.header = mtod(m, void *); … … 343 344 m->m_len += mhlen; 344 345 RTMemFree(buf); 345 m->m_len = ntohs(mhip->ip_len);346 m->m_len += ntohs(mhip->ip_len); 346 347 #endif 347 348 -
trunk/src/VBox/Devices/Network/slirp/mbuf.c
r22428 r23202 33 33 /* 34 34 * Find a nice value for msize 35 * XXX if_maxlinkhdr already in mtu36 35 */ 37 36 msize = (if_mtu>if_mru ? if_mtu : if_mru) 38 + if_maxlinkhdr + sizeof(struct m_hdr ) + 6;37 + sizeof(struct m_hdr ); 39 38 } 40 39
Note:
See TracChangeset
for help on using the changeset viewer.