Changeset 29662 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin
- Timestamp:
- May 19, 2010 2:46:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r29491 r29662 842 842 vboxNetFltDarwinMBufToSG(pThis, pMBuf, pvFrame, pSG, cSegs, fSrc); 843 843 844 fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, pSG, fSrc);844 fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, NULL /* pvIf */, pSG, fSrc); 845 845 if (fDropIt) 846 846 mbuf_freem(pMBuf); … … 982 982 983 983 984 int vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst) 985 { 984 int vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, void *pvIfData, PINTNETSG pSG, uint32_t fDst) 985 { 986 NOREF(pvIfData); 987 986 988 int rc = VINF_SUCCESS; 987 989 ifnet_t pIfNet = vboxNetFltDarwinRetainIfNet(pThis); … … 1192 1194 1193 1195 1194 void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf, PCRTMAC pMac)1195 { 1196 NOREF(pThis); NOREF( hIf); NOREF(pMac);1197 } 1198 1199 1200 int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)1196 void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, void *pvIfData, PCRTMAC pMac) 1197 { 1198 NOREF(pThis); NOREF(pvIfData); NOREF(pMac); 1199 } 1200 1201 1202 int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, void *pvIf, void **ppvIfData) 1201 1203 { 1202 1204 /* Nothing to do */ 1203 NOREF(pThis); NOREF( hIf);1205 NOREF(pThis); NOREF(pvIf); NOREF(ppvIfData); 1204 1206 return VINF_SUCCESS; 1205 1207 } 1206 1208 1207 1209 1208 int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)1210 int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, void *pvIfData) 1209 1211 { 1210 1212 /* Nothing to do */ 1211 NOREF(pThis); NOREF( hIf);1213 NOREF(pThis); NOREF(pvIfData); 1212 1214 return VINF_SUCCESS; 1213 1215 }
Note:
See TracChangeset
for help on using the changeset viewer.