Changeset 42062 in vbox for trunk/include/VBox/vmm/pdmnetshaper.h
- Timestamp:
- Jul 9, 2012 3:10:00 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78983
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmnetshaper.h
r41891 r42062 4 4 5 5 /* 6 * Copyright (C) 20 07-2012 Oracle Corporation6 * Copyright (C) 2011-2012 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 42 42 { 43 43 /** [R3] Pointer to the next group in the list. */ 44 struct PDMNSFILTER *pNext;44 struct PDMNSFILTER *pNext; 45 45 /** [R3] Pointer to the bandwidth group. */ 46 struct PDMNSBWGROUP *pBwGroupR3; 46 struct PDMNSBWGROUP *pBwGroupR3; 47 /** [R0] Pointer to the bandwidth group. */ 48 R0PTRTYPE(struct PDMNSBWGROUP *) pBwGroupR0; 47 49 /** Becomes true when filter fails to obtain bandwidth. */ 48 bool fChoked;49 /** The driver this filter is aggregated into. */50 PPDMINETWORKDOWN pIDrvNet;50 bool fChoked; 51 /** [R3] The driver this filter is aggregated into. */ 52 PPDMINETWORKDOWN pIDrvNet; 51 53 } PDMNSFILTER; 52 54 … … 61 63 typedef struct PDMNETSHAPER *PPDMNETSHAPER; 62 64 65 66 /** 67 * Obtain bandwidth in a bandwidth group (R0 version). 68 * 69 * @returns VBox status code. 70 * @param pFilter Pointer to the filter that allocates bandwidth. 71 * @param cbTransfer Number of bytes to allocate. 72 */ 73 VMMR0DECL(bool) PDMR0NsAllocateBandwidth(PPDMNSFILTER pFilter, uint32_t cbTransfer); 63 74 64 75 /**
Note:
See TracChangeset
for help on using the changeset viewer.