Changeset 10962 in vbox
- Timestamp:
- Jul 29, 2008 10:24:13 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33832
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/types.h
r10944 r10962 1253 1253 typedef const RTRECT *PCRTRECT; 1254 1254 1255 1256 /** 1257 * Ethernet MAC address. 1258 * 1259 * The first 24 bits make up the Organisationally Unique Identifier (OUI), 1260 * where the first bit (little endian) indicates multicast (set) / unicast, 1261 * and the second bit indicates locally (set) / global administered. If all 1262 * bits are set, it's a broadcast. 1263 */ 1264 typedef union RTMAC 1265 { 1266 /** @todo add a bitfield view of this stuff. */ 1267 /** 8-bit view. */ 1268 uint8_t au8[6]; 1269 /** 16-bit view. */ 1270 uint16_t au16[3]; 1271 } RTMAC; 1272 /** Pointer to a MAC address. */ 1273 typedef RTMAC *PRTMAC; 1274 /** Pointer to a readonly MAC address. */ 1275 typedef const RTMAC *PCRTMAC; 1276 1255 1277 /** @} */ 1256 1278
Note:
See TracChangeset
for help on using the changeset viewer.