MACFRAME union
The MACFRAME structure is a union of the most common initial protocols.
Syntax
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
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|