![]() |
Frame Formats - Snap IEEE 802.3 |
The IEEE 802.3 SNAP Frame FormatWhile the original 802.3 specification worked well, the IEEE realized that some upper layer protocols required an Ethertype to work properly. For example, TCP/IP uses the Ethertype to differentiate between ARP packets and normal IP data frames. In order to provide this backwards compatibility with the Version II frame type, the 802.3 SNAP (SubNetwork Access Protocol) format was created. The SNAP Frame Format consists of a normal 802.3 Data Link Header followed by a normal 802.2 LLC Header, and then a 5 byte SNAP field, followed by the normal user data and FCS.
The Data Link Header
Offset 0-5: The Destination Address The first three bytes of the Destination Address are assigned by the IEEE to the vendor of the adapter, and are specific to the vendor. The Destination Address format is identical in all implementations of Ethernet.
Offset 6-11: The Source Address The Source Address format is identical in all implementations of Ethernet.
Offset 12-13: Length
The 802.2 Logical Link Control Header (LLC)Following the Data Link Header is the Logical Link Control Header, which is described in the IEEE 802.2 Specification. The purpose of the LLC header is to provide a "hole in the ceiling" of the Data Link Layer. By specifying into which memory buffer the adapter places the data frame, the LLC header allows the upper layers to know where to find the data.
Offset 14: The DSAP In order to specify that this is a SNAP frame, the DSAP is set to AA hex.
Offset 15: The SSAP In order to specify that this is a SNAP frame, the SSAP is set to AA hex.
Offset 16: The Control Byte
The Sub-Network Access Protocol (SNAP) Header
Offset 17-19: The Vendor Code
Offset 20-21: The Local Code
User Data and the Frame Check Sequence (FCS)
Data: 38-1492 Bytes
FCS: Last 4 Bytes |
| Copyright © 2012 WildPackets, Inc |
| All registered and unregistered trademarks are the sole property of their respective owners |

