Changeset 10843 in vbox for trunk/include/VBox
- Timestamp:
- Jul 23, 2008 9:49:52 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33630
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/intnet.h
r10819 r10843 733 733 734 734 /** 735 * Request buffer for INTNETR0IfSetMacAddressReq / VMMR0_DO_INTNET_IF_SET_MAC_ADDRESS. 736 * @see INTNETR0IfSetMacAddress. 737 */ 738 typedef struct INTNETIFSETMACADDRESSREQ 739 { 740 /** The request header. */ 741 SUPVMMR0REQHDR Hdr; 742 /** Alternative to passing the taking the session from the VM handle. 743 * Either use this member or use the VM handle, don't do both. */ 744 PSUPDRVSESSION pSession; 745 /** Handle to the interface. */ 746 INTNETIFHANDLE hIf; 747 /** The new MAC address. */ 748 PDMMAC Mac; 749 } INTNETIFSETMACADDRESSREQ; 750 /** Pointer to an INTNETR0IfSetMacAddressReq / VMMR0_DO_INTNET_IF_SET_MAC_ADDRESS request buffer. */ 751 typedef INTNETIFSETMACADDRESSREQ *PINTNETIFSETMACADDRESSREQ; 752 753 INTNETR0DECL(int) INTNETR0IfSetMacAddressReq(PINTNET pIntNet, PSUPDRVSESSION pSession, PINTNETIFSETMACADDRESSREQ pReq); 754 755 756 /** 757 * Request buffer for INTNETR0IfSetActiveReq / VMMR0_DO_INTNET_IF_SET_ACTIVE. 758 * @see INTNETR0IfSetActive. 759 */ 760 typedef struct INTNETIFSETACTIVEREQ 761 { 762 /** The request header. */ 763 SUPVMMR0REQHDR Hdr; 764 /** Alternative to passing the taking the session from the VM handle. 765 * Either use this member or use the VM handle, don't do both. */ 766 PSUPDRVSESSION pSession; 767 /** Handle to the interface. */ 768 INTNETIFHANDLE hIf; 769 /** The new state. */ 770 bool fActive; 771 } INTNETIFSETACTIVEREQ; 772 /** Pointer to an INTNETR0IfSetActiveReq / VMMR0_DO_INTNET_IF_SET_ACTIVE request buffer. */ 773 typedef INTNETIFSETACTIVEREQ *PINTNETIFSETACTIVEREQ; 774 775 INTNETR0DECL(int) INTNETR0IfSetActiveReq(PINTNET pIntNet, PSUPDRVSESSION pSession, PINTNETIFSETACTIVEREQ pReq); 776 777 778 /** 735 779 * Request buffer for INTNETR0IfSendReq / VMMR0_DO_INTNET_IF_SEND. 736 780 * @see INTNETR0IfSend. … … 854 898 * @param fPromiscuous Set if the interface should be in promiscuous mode, clear if not. 855 899 */ 856 INTNETR0DECL(int) INTNETR0IfSetPromiscuousMode(PINTNET pIntNet, INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, bool fPromiscuous); 900 INTNETR0DECL(int) INTNETR0IfSetPromiscuousMode( PINTNET pIntNet, INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, bool fPromiscuous); 901 INTNETR0DECL(int) INTNETR0IfSetMacAddress( PINTNET pIntNet, INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, PCPDMMAC pMac); 902 INTNETR0DECL(int) INTNETR0IfSetActive( PINTNET pIntNet, INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, bool fActive); 857 903 858 904 /** -
trunk/include/VBox/vmm.h
r10805 r10843 438 438 /** Call INTNETR0IfSetPromiscuousMode(). */ 439 439 VMMR0_DO_INTNET_IF_SET_PROMISCUOUS_MODE, 440 /** Call INTNETR0IfSetMacAddress(). */ 441 VMMR0_DO_INTNET_IF_SET_MAC_ADDRESS, 442 /** Call INTNETR0IfSetActive(). */ 443 VMMR0_DO_INTNET_IF_SET_ACTIVE, 440 444 /** Call INTNETR0IfSend(). */ 441 445 VMMR0_DO_INTNET_IF_SEND,
Note:
See TracChangeset
for help on using the changeset viewer.