Package org.onlab.packet
Class EAPOLMkpduICVIndicatorParameterSet
- java.lang.Object
 - 
- org.onlab.packet.BasePacket
 - 
- org.onlab.packet.EAPOLMkpduICVIndicatorParameterSet
 
 
 
- 
- All Implemented Interfaces:
 EAPOLMkpduParameterSet,IPacket
public class EAPOLMkpduICVIndicatorParameterSet extends BasePacket implements EAPOLMkpduParameterSet
Class representing MKPDU ICV Indicator. IEEE 802.1X Clause 11; Figure 11-16 
- 
- 
Field Summary
Fields Modifier and Type Field Description static shortTOTAL_ICVPS_BODY_LENGTH- 
Fields inherited from class org.onlab.packet.BasePacket
parent, payload 
- 
Fields inherited from interface org.onlab.packet.EAPOLMkpduParameterSet
BODY_LENGTH_MSB_MASK, BODY_LENGTH_MSB_SHIFT, BODY_LENGTH_OCTET_OFFSET, FIELD_MI_LENGTH, FIELD_MN_LENGTH, FIELD_SCI_LENGTH, PARAMETERSET_TYPE_BASIC, PARAMETERSET_TYPE_DISTRIBUTED_SAK, PARAMETERSET_TYPE_ICV_INDICATOR, PARAMETERSET_TYPE_LIVE_PEER_LIST, PARAMETERSET_TYPE_MACSEC_SAK_USE, PARAMETERSET_TYPE_POTENTIAL_PEER_LIST 
 - 
 
- 
Constructor Summary
Constructors Constructor Description EAPOLMkpduICVIndicatorParameterSet() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deserializer<EAPOLMkpduICVIndicatorParameterSet>deserializer()Deserializer function for ICV Indicator Parameter Set.shortgetBodyLength()Retrieve Body Length field of Parameter Set.bytegetParameterSetType()Retrieve Type of Parameter Set.shortgetTotalLength()Total length; ie.byte[]serialize()Utility function for Serializing Parameter Set.voidsetBodyLength(short bodyLength)To set body length.voidsetICV(byte[] icv)To set ICV.- 
Methods inherited from class org.onlab.packet.BasePacket
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TOTAL_ICVPS_BODY_LENGTH
public static final short TOTAL_ICVPS_BODY_LENGTH
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
serialize
public byte[] serialize()
Description copied from interface:EAPOLMkpduParameterSetUtility function for Serializing Parameter Set.- Specified by:
 serializein interfaceEAPOLMkpduParameterSet- Specified by:
 serializein interfaceIPacket- Returns:
 - byte[] value
 
 
- 
deserializer
public static Deserializer<EAPOLMkpduICVIndicatorParameterSet> deserializer()
Deserializer function for ICV Indicator Parameter Set.- Returns:
 - deserializer function
 
 
- 
getParameterSetType
public byte getParameterSetType()
Description copied from interface:EAPOLMkpduParameterSetRetrieve Type of Parameter Set.- Specified by:
 getParameterSetTypein interfaceEAPOLMkpduParameterSet- Returns:
 - parameter set type.
 
 
- 
getTotalLength
public short getTotalLength()
Description copied from interface:EAPOLMkpduParameterSetTotal length; ie. including header and body length.- Specified by:
 getTotalLengthin interfaceEAPOLMkpduParameterSet- Returns:
 - short value.
 
 
- 
getBodyLength
public short getBodyLength()
Description copied from interface:EAPOLMkpduParameterSetRetrieve Body Length field of Parameter Set.- Specified by:
 getBodyLengthin interfaceEAPOLMkpduParameterSet- Returns:
 - body length of parameter set.
 
 
- 
setBodyLength
public void setBodyLength(short bodyLength)
To set body length.- Parameters:
 bodyLength- ,type short
 
- 
setICV
public void setICV(byte[] icv)
To set ICV.- Parameters:
 icv- , type byte[]
 
 - 
 
 -