Changeset 29662 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c
- Timestamp:
- May 19, 2010 2:46:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c
r29491 r29662 424 424 pSG = RTMemTmpAlloc(RT_OFFSETOF(INTNETSG, aSegs[cSegs])); 425 425 vboxNetFltFreeBSDMBufToSG(pThis, m, pSG, cSegs, 0); 426 fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, pSG, INTNETTRUNKDIR_WIRE);426 fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, NULL /* pvIf */, pSG, INTNETTRUNKDIR_WIRE); 427 427 RTMemTmpFree(pSG); 428 428 if (fDropIt) … … 480 480 * Called to deliver a frame to either the host, the wire or both. 481 481 */ 482 int vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst) 483 { 482 int vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, void *pvIfData, PINTNETSG pSG, uint32_t fDst) 483 { 484 NOREF(pvIfData); 485 484 486 void (*input_f)(struct ifnet *, struct mbuf *); 485 487 struct ifnet *ifp; … … 746 748 } 747 749 748 void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf, PCRTMAC pMac)749 { 750 NOREF(pThis); NOREF( hIf); NOREF(pMac);751 } 752 753 int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)750 void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, void *pvIfData, PCRTMAC pMac) 751 { 752 NOREF(pThis); NOREF(pvIfData); NOREF(pMac); 753 } 754 755 int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, void *pvIf, void **ppvIfData) 754 756 { 755 757 /* Nothing to do */ 756 NOREF(pThis); NOREF( hIf);758 NOREF(pThis); NOREF(pvIf); NOREF(ppvIfData); 757 759 return VINF_SUCCESS; 758 760 } 759 761 760 int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)762 int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, void *pvIfData) 761 763 { 762 764 /* Nothing to do */ 763 NOREF(pThis); NOREF( hIf);765 NOREF(pThis); NOREF(pvIfData); 764 766 return VINF_SUCCESS; 765 767 }
Note:
See TracChangeset
for help on using the changeset viewer.