public class EAPOL extends BasePacket
| Modifier and Type | Field and Description | 
|---|---|
static byte | 
EAPOL_ASF  | 
static byte | 
EAPOL_KEY  | 
static byte | 
EAPOL_LOGOFF  | 
static byte | 
EAPOL_MKA  | 
static byte | 
EAPOL_PACKET  | 
static byte | 
EAPOL_START  | 
static MacAddress | 
PAE_GROUP_ADDR  | 
parent, payload| Constructor and Description | 
|---|
EAPOL()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Deserializer<EAPOL> | 
deserializer()
Deserializer for EAPOL packets. 
 | 
boolean | 
equals(Object o)  | 
byte | 
getEapolType()
Gets the type. 
 | 
short | 
getPacketLength()
Gets the packet length. 
 | 
byte | 
getVersion()
Gets the version. 
 | 
int | 
hashCode()  | 
byte[] | 
serialize()
Serializes the packet, based on the code/type using the payload
 to compute its length. 
 | 
EAPOL | 
setEapolType(byte eapolType)
Sets the EAPOL type. 
 | 
EAPOL | 
setPacketLength(short packetLen)
Sets the packet length. 
 | 
EAPOL | 
setVersion(byte version)
Sets the version. 
 | 
String | 
toString()  | 
clone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic static final byte EAPOL_PACKET
public static final byte EAPOL_START
public static final byte EAPOL_LOGOFF
public static final byte EAPOL_KEY
public static final byte EAPOL_ASF
public static final byte EAPOL_MKA
public static final MacAddress PAE_GROUP_ADDR
public byte getVersion()
public EAPOL setVersion(byte version)
version - EAPOL versionpublic byte getEapolType()
public EAPOL setEapolType(byte eapolType)
eapolType - EAPOL typepublic short getPacketLength()
public EAPOL setPacketLength(short packetLen)
packetLen - packet lengthpublic byte[] serialize()
public int hashCode()
hashCode in class BasePacketpublic boolean equals(Object o)
equals in class BasePacketpublic static Deserializer<EAPOL> deserializer()