Changeset 28025 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c
- Timestamp:
- Apr 7, 2010 6:37:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c
r25699 r28025 61 61 #include <VBox/err.h> 62 62 #include <VBox/log.h> 63 #include <VBox/intnetinline.h> 63 64 #include <iprt/initterm.h> 64 65 #include <iprt/string.h> … … 188 189 struct mbuf *m0; 189 190 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*/); 197 192 198 193 for (m0 = m, i = segOffset; m0; m0 = m0->m_next) … … 217 212 } 218 213 #endif 214 219 215 pSG->cSegsUsed = i; 220 216 }
Note:
See TracChangeset
for help on using the changeset viewer.