Ethernet frame with 802.3 LLC and SNAP headers.
The ssap, dsap and control LLC fields are set to fixed values in the frame: 0xAA, 0xAA, 0x03.
Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1)+ orgCode(3)+localCode(2) + FCS(4) = 26 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 |
---|---|---|
EtherFrameWithLLC | packet |
Ethernet frame with 802.3 LLC header. |
Name | Type | Description |
---|---|---|
byteLength | ||
dsap | int | |
ssap | int | |
control | int | |
orgCode | int |
organizationally unique identifier (OUI); 0 for protocols that have an EtherType (ARP, IPv4, IPv6, etc.) |
localcode | int |
protocol identifier (PID); stores EtherType if orgCode is 0 |
dest | MACAddress | |
src | MACAddress |
// // Ethernet frame with 802.3 LLC and SNAP headers. // // The ssap, dsap and control LLC fields are set to fixed values in the // frame: 0xAA, 0xAA, 0x03. // // Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1)+ // orgCode(3)+localCode(2) + FCS(4) = 26 bytes // packet EtherFrameWithSNAP extends EtherFrameWithLLC { byteLength = ETHER_MAC_FRAME_BYTES + ETHER_LLC_HEADER_LENGTH + ETHER_SNAP_HEADER_LENGTH; dsap = 0xAA; ssap = 0xAA; control = 0x03; int orgCode; // organizationally unique identifier (OUI); 0 for protocols that have an EtherType (ARP, IPv4, IPv6, etc.) int localcode; // protocol identifier (PID); stores ~EtherType if orgCode is 0 }