Changeset 76404 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Dec 23, 2018 3:48:33 PM (6 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdrv.h
r76403 r76404 36 36 # include <VBox/vmm/pdmasynccompletion.h> 37 37 # include <VBox/vmm/pdmblkcache.h> 38 #endif39 #ifdef VBOX_WITH_NETSHAPER40 # include <VBox/vmm/pdmnetshaper.h>41 38 #endif 42 39 #include <VBox/vmm/tm.h> … … 1185 1182 const char *pszDesc)); 1186 1183 1187 #ifdef VBOX_WITH_NETSHAPER1188 1184 /** 1189 1185 * Attaches network filter driver to a bandwidth group. … … 1194 1190 * @param pFilter Pointer to the filter we attach. 1195 1191 */ 1196 DECLR3CALLBACKMEMBER(int, pfnNetShaperAttach,(PPDMDRVINS pDrvIns, const char *pszBwGroup, 1197 PPDMNSFILTER pFilter)); 1198 1192 DECLR3CALLBACKMEMBER(int, pfnNetShaperAttach,(PPDMDRVINS pDrvIns, const char *pszBwGroup, PPDMNSFILTER pFilter)); 1199 1193 1200 1194 /** … … 1206 1200 */ 1207 1201 DECLR3CALLBACKMEMBER(int, pfnNetShaperDetach,(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter)); 1208 #endif /* VBOX_WITH_NETSHAPER */1209 1210 1202 1211 1203 /** -
trunk/include/VBox/vmm/pdmnetshaper.h
r69107 r76404 28 28 29 29 #include <VBox/types.h> 30 #include <VBox/err.h>31 30 #include <VBox/vmm/pdmnetifs.h> 32 #include <iprt/assert.h>33 31 #include <iprt/sg.h> 34 32 … … 61 59 } PDMNSFILTER; 62 60 63 /** Pointer to a PDM filter handle. */64 typedef struct PDMNSFILTER *PPDMNSFILTER;65 /** Pointer to a network shaper. */66 typedef struct PDMNETSHAPER *PPDMNETSHAPER;67 68 69 61 VMMDECL(bool) PDMNsAllocateBandwidth(PPDMNSFILTER pFilter, size_t cbTransfer); 70 62 VMMR3_INT_DECL(int) PDMR3NsAttach(PUVM pUVM, PPDMDRVINS pDrvIns, const char *pcszBwGroup, PPDMNSFILTER pFilter);
Note:
See TracChangeset
for help on using the changeset viewer.