Changeset 10963 in vbox for trunk/include/iprt
- Timestamp:
- Jul 29, 2008 10:26:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/net.h
r10960 r10963 28 28 */ 29 29 30 #ifndef ___iprt_net protfmt_h31 #define ___iprt_net protfmt_h30 #ifndef ___iprt_net_h 31 #define ___iprt_net_h 32 32 33 33 #include <iprt/cdefs.h> 34 34 #include <iprt/types.h> 35 #include <VBox/types.h> /** @todo switch around PDMMAC and NETMAC. */36 35 #include <iprt/assert.h> 37 36 … … 43 42 * @{ 44 43 */ 45 46 /** A Ethernet MAC address. */47 typedef PDMMAC RTNETMAC;48 /** Pointer to an ethernet MAC address. */49 typedef RTNETMAC *PRTNETMAC;50 /** Pointer to a const ethernet MAC address. */51 typedef RTNETMAC const *PCRTNETMAC;52 44 53 45 /** … … 80 72 uint32_t Network; 81 73 /** The node ID. (Defaults to the MAC address apparently.) */ 82 RT NETMAC Node;74 RTMAC Node; 83 75 } RTNETADDRIPX; 84 76 #pragma pack(0) … … 109 101 RTNETADDRIPX Ipx; 110 102 /** MAC address view. */ 111 RT NETMAC Mac;103 RTMAC Mac; 112 104 } RTNETADDRU; 113 105 AssertCompileSize(RTNETADDRU, 16); … … 124 116 typedef struct RTNETETHERHDR 125 117 { 126 RT NETMACMacDst;127 RT NETMACMacSrc;118 RTMAC MacDst; 119 RTMAC MacSrc; 128 120 /** Ethernet frame type or frame size, depending on the kind of ethernet. 129 121 * This is big endian on the wire. */ … … 324 316 RTNETARPHDR Hdr; 325 317 /** The sender hardware address. */ 326 RT NETMACar_sha;318 RTMAC ar_sha; 327 319 /** The sender protocol address. */ 328 320 RTNETADDRIPV4 ar_spa; 329 321 /** The target hardware address. */ 330 RT NETMACar_tha;322 RTMAC ar_tha; 331 323 /** The arget protocol address. */ 332 324 RTNETADDRIPV4 ar_tpa; … … 349 341 #endif 350 342 351 352
Note:
See TracChangeset
for help on using the changeset viewer.