File: NetworkInterfaces/Ethernet/EtherFrame.msg
C++ definition: click here
Ethernet frame with 802.3 LLC and SNAP headers.
The fields ssap, dsap and control are not included in the class because they are always set to fixed values: 0xAA, 0xAA, 0x03.
Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1)+ orgCode(3)+localCode(2) = 22 bytes
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
EtherFrame | Common base class for classes representing Ethernet II and 802.3 frame types, containing their common header fields. |
Name | Type | Description |
---|---|---|
orgCode | long | |
localcode | int |
message EtherFrameWithSNAP extends EtherFrame { fields: long orgCode; // SNAP organization code, 0 for IP and ARP int localcode; // SNAP local code (stores EtherType for IP and ARP) };