Changeset 32740 in vbox
- Timestamp:
- Sep 23, 2010 9:45:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r30112 r32740 328 328 329 329 /* 330 * We can't make use of the physical addresses on darwin because the way the331 * mbuf / cluster stuffe works (see mbuf_data_to_physical and mcl_to_paddr).332 * So, because we're lazy, we will ASSUME that all SGs coming from INTNET333 * will only contain one single segment.334 */335 Assert(pSG->cSegsUsed == 1);336 Assert(pSG->cbTotal == pSG->aSegs[0].cb);337 Assert(pSG->cbTotal > 0);338 339 /*340 330 * We need some way of getting back to our instance data when 341 331 * the mbuf is freed, so use pvUserData for this. … … 362 352 * 100%, even if it involes some extra work (alloc + copy) we really wished 363 353 * to avoid. 354 * 355 * Note. We can't make use of the physical addresses on darwin because the 356 * way the mbuf / cluster stuffe works (see mbuf_data_to_physical and 357 * mcl_to_paddr). 364 358 */ 365 359 mbuf_t pPkt = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.