VirtualBox

Ignore:
Timestamp:
Apr 7, 2010 6:37:43 AM (15 years ago)
Author:
vboxsync
Message:

intnet, VBoxNet*, network device & drivers: GSO preps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r25699 r28025  
    6161#include <VBox/err.h>
    6262#include <VBox/log.h>
     63#include <VBox/intnetinline.h>
    6364#include <iprt/initterm.h>
    6465#include <iprt/string.h>
     
    188189    struct mbuf *m0;
    189190
    190     pSG->cbTotal = m_length(m, NULL);
    191     pSG->pvOwnerData = NULL;
    192     pSG->pvUserData = NULL;
    193     pSG->pvUserData2 = NULL;
    194     pSG->cUsers = 1;
    195     pSG->fFlags = INTNETSG_FLAGS_TEMP;
    196     pSG->cSegsAlloc = cSegs;
     191    INTNETSgInitTempSegs(pSG, m_length(m, NULL), cSegs, 0 /*cSegsUsed*/);
    197192
    198193    for (m0 = m, i = segOffset; m0; m0 = m0->m_next)
     
    217212    }
    218213#endif
     214
    219215    pSG->cSegsUsed = i;
    220216}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette