Class LLC

  • All Implemented Interfaces:
    IPacket

    public class LLC
    extends BasePacket
    This class represents an Link Local Control header that is used in Ethernet 802.3.
    • Constructor Detail

      • LLC

        public LLC()
    • Method Detail

      • getDsap

        public byte getDsap()
      • setDsap

        public void setDsap​(byte dsap)
      • getSsap

        public byte getSsap()
      • setSsap

        public void setSsap​(byte ssap)
      • getCtrl

        public byte getCtrl()
      • setCtrl

        public void setCtrl​(byte ctrl)
      • serialize

        public byte[] serialize()
        Description copied from interface: IPacket
        Sets all payloads parent packet if applicable, then serializes this packet and all payloads.
        Returns:
        a byte[] containing this packet and payloads
      • deserializer

        public static Deserializer<LLC> deserializer()
        Deserializer function for LLC packets.
        Returns:
        deserializer function