MACFRAME
The MACFRAME structure is a union of the most common initial protocols.
typedef union {
LPBYTE MacHeader;
LPETHERNET Ethernet;
LPTOKENRING Tokenring;
LPFDDI Fddi;
} MACFRAME,
*LPMACFRAME;
Members
- MacHeader
Generic pointer to a frame. - Ethernet
Ethernet pointer to a frame. - Tokenring
Token ring pointer to a frame. - Fddi
FDDI pointer to a frame.
Remarks
This structure is most frequently used as an overlay. To make the properties of the first protocol accessible, cast the frame as the same type as the protocol.
Requirements
Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0. |
Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
Header | Declared in Netmon.h. |