Changeset 40652 in vbox for trunk/include
- Timestamp:
- Mar 26, 2012 4:36:16 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77084
- Location:
- trunk/include/VBox
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/log.h
r40383 r40652 260 260 /** The common network service group */ 261 261 LOG_GROUP_NET_SERVICE, 262 /** Network traffic shaper driver group. */ 263 LOG_GROUP_NET_SHAPER, 262 264 /** PATM group. */ 263 265 LOG_GROUP_PATM, … … 491 493 "NET_FLT_DRV", \ 492 494 "NET_SERVICE", \ 495 "NET_SHAPER", \ 493 496 "PATM", \ 494 497 "PDM", \ -
trunk/include/VBox/vmm/mm.h
r39078 r40652 101 101 MM_TAG_PDM_USB_USER, 102 102 MM_TAG_PDM_LUN, 103 #ifdef VBOX_WITH_NETSHAPER 104 MM_TAG_PDM_NET_SHAPER, 105 #endif /* VBOX_WITH_NETSHAPER */ 103 106 MM_TAG_PDM_QUEUE, 104 107 MM_TAG_PDM_THREAD, -
trunk/include/VBox/vmm/pdmdrv.h
r40416 r40652 34 34 #include <VBox/vmm/pdmcommon.h> 35 35 #include <VBox/vmm/pdmasynccompletion.h> 36 #ifdef VBOX_WITH_NETSHAPER 37 #include <VBox/vmm/pdmnetshaper.h> 38 #endif /* VBOX_WITH_NETSHAPER */ 36 39 #include <VBox/vmm/pdmblkcache.h> 37 40 #include <VBox/vmm/tm.h> … … 1165 1168 const char *pszDesc)); 1166 1169 1170 #ifdef VBOX_WITH_NETSHAPER 1171 /** 1172 * Attaches network filter driver to a bandwidth group. 1173 * 1174 * @returns VBox status code. 1175 * @param pDrvIns The driver instance. 1176 * @param pcszBwGroup Name of the bandwidth group to attach to. 1177 * @param pFilter Pointer to the filter we attach. 1178 */ 1179 DECLR3CALLBACKMEMBER(int, pfnNetShaperAttach,(PPDMDRVINS pDrvIns, const char *pszBwGroup, 1180 PPDMNSFILTER pFilter)); 1181 1182 1183 /** 1184 * Detaches network filter driver to a bandwidth group. 1185 * 1186 * @returns VBox status code. 1187 * @param pDrvIns The driver instance. 1188 * @param pFilter Pointer to the filter we attach. 1189 */ 1190 DECLR3CALLBACKMEMBER(int, pfnNetShaperDetach,(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter)); 1191 #endif /* VBOX_WITH_NETSHAPER */ 1192 1167 1193 1168 1194 /** … … 1704 1730 # endif 1705 1731 1732 # ifdef VBOX_WITH_NETSHAPER 1733 /** 1734 * @copydoc PDMDRVHLP::pfnNetShaperAttach 1735 */ 1736 DECLINLINE(int) PDMDrvHlpNetShaperAttach(PPDMDRVINS pDrvIns, const char *pcszBwGroup, PPDMNSFILTER pFilter) 1737 { 1738 return pDrvIns->pHlpR3->pfnNetShaperAttach(pDrvIns, pcszBwGroup, pFilter); 1739 } 1740 1741 /** 1742 * @copydoc PDMDRVHLP::pfnNetShaperDetach 1743 */ 1744 DECLINLINE(int) PDMDrvHlpNetShaperDetach(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter) 1745 { 1746 return pDrvIns->pHlpR3->pfnNetShaperDetach(pDrvIns, pFilter); 1747 } 1748 # endif 1749 1706 1750 /** 1707 1751 * @copydoc PDMDRVHLP::pfnCritSectInit
Note:
See TracChangeset
for help on using the changeset viewer.