Changeset 23369 in vbox for trunk/src/VBox/Devices/Network/slirp/mbuf.c
- Timestamp:
- Sep 28, 2009 12:41:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/mbuf.c
r23242 r23369 34 34 * Find a nice value for msize 35 35 */ 36 msize = (if_mtu>if_mru ? if_mtu : if_mru) 36 msize = (if_mtu>if_mru ? if_mtu : if_mru) 37 37 + sizeof(struct m_hdr) + sizeof(void *) /*pointer to the backstore*/ 38 38 + if_maxlinkhdr ; … … 244 244 else 245 245 { 246 if ( (char *)dat >= m->m_dat 246 if ( (char *)dat >= m->m_dat 247 247 && (char *)dat < (m->m_dat + m->m_size)) 248 248 return m;
Note:
See TracChangeset
for help on using the changeset viewer.