Namespace inet
EtherFrameWithSNAP
packetEthernet 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
Extends
Name | Type | Description |
---|---|---|
EtherFrameWithLLC | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
byteLength | ||
dsap | ||
ssap | ||
control | ||
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 |
Source code
// // 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 }File: src/inet/linklayer/ethernet/EtherFrame.msg