Packet EtherFrameWithLLC

File: src/linklayer/ethernet/EtherFrame.msg

Ethernet frame with 802.3 LLC header.

Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) = 17 bytes

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

EtherFrame (packet)

Common base class for classes representing Ethernet II and 802.3 frame types, containing their common header fields.

Fields:

Name Type Description
ssap int
control int
dest MACAddress
src MACAddress

MessageId id; -- uncomment for tracing frames

dsap int

Source code:

//
// Ethernet frame with 802.3 LLC header.
//
// Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) = 17 bytes
//
packet EtherFrameWithLLC extends EtherFrame
{
    int ssap;
    int dsap;
    int control;
}