Ethernet frame with 802.3 LLC header.
Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) + FCS(4) = 21 bytes
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
EtherFrame | packet |
Common base class for classes representing Ethernet II and 802.3 frame types, containing their common header fields. |
Name | Type | Description |
---|---|---|
EtherFrameWithSNAP | packet |
Ethernet frame with 802.3 LLC and SNAP headers. |
Name | Type | Description |
---|---|---|
byteLength | ||
dsap | int | |
ssap | int | |
control | int | |
dest | MACAddress | |
src | MACAddress |
// // Ethernet frame with 802.3 LLC header. // // Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) + FCS(4) = 21 bytes // packet EtherFrameWithLLC extends EtherFrame { byteLength = ETHER_MAC_FRAME_BYTES + ETHER_LLC_HEADER_LENGTH; int dsap; int ssap; int control; }