VirtualBox

Changeset 9765 in vbox for trunk/include


Ignore:
Timestamp:
Jun 17, 2008 1:41:56 PM (17 years ago)
Author:
vboxsync
Message:

Promoted PDMMAC from pdmifs.h to types.h.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmifs.h

    r8426 r9765  
    21382138
    21392139
    2140 /**
    2141  * MAC address.
    2142  * (The first 24 bits are the 'company id', where the first bit seems to have a special meaning if set.)
    2143  */
    2144 typedef union PDMMAC
    2145 {
    2146     /** 8-bit view. */
    2147     uint8_t     au8[6];
    2148     /** 16-bit view. */
    2149     uint16_t    au16[3];
    2150 } PDMMAC;
    2151 /** Pointer to a MAC address. */
    2152 typedef PDMMAC *PPDMMAC;
    2153 /** Pointer to a const MAC address. */
    2154 typedef const PDMMAC *PCPDMMAC;
    2155 
    2156 
    21572140/** Pointer to a network port interface */
    21582141typedef struct PDMINETWORKPORT *PPDMINETWORKPORT;
  • trunk/include/VBox/types.h

    r9656 r9765  
    561561
    562562
     563/**
     564 * MAC address.
     565 * (The first 24 bits are the 'company id', where the first bit seems to have a special meaning if set.)
     566 */
     567typedef union PDMMAC
     568{
     569    /** 8-bit view. */
     570    uint8_t     au8[6];
     571    /** 16-bit view. */
     572    uint16_t    au16[3];
     573} PDMMAC;
     574/** Pointer to a MAC address. */
     575typedef PDMMAC *PPDMMAC;
     576/** Pointer to a const MAC address. */
     577typedef const PDMMAC *PCPDMMAC;
     578
     579
    563580/** @} */
    564581
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette