Package org.onlab.packet
Class IGMP.IGMPv3
- java.lang.Object
-
- org.onlab.packet.BasePacket
-
- org.onlab.packet.IGMP
-
- org.onlab.packet.IGMP.IGMPv3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.onlab.packet.IGMP
IGMP.IGMPv2, IGMP.IGMPv3
-
-
Field Summary
Fields Modifier and Type Field Description static int
MINIMUM_HEADER_LEN
-
Fields inherited from class org.onlab.packet.IGMP
checksum, igmpType, resField, TYPE_IGMPV1_MEMBERSHIP_REPORT, TYPE_IGMPV2_LEAVE_GROUP, TYPE_IGMPV2_MEMBERSHIP_REPORT, TYPE_IGMPV3_MEMBERSHIP_QUERY, TYPE_IGMPV3_MEMBERSHIP_REPORT
-
Fields inherited from class org.onlab.packet.BasePacket
parent, payload
-
-
Constructor Summary
Constructors Constructor Description IGMPv3()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addGroup(IGMPGroup group)
Add a multicast group to this IGMP message.void
setMaxRespCode(byte respCode)
Set the Max Resp Code.protected boolean
validChecksum()
Validates the message's checksum.-
Methods inherited from class org.onlab.packet.IGMP
deserializer, equals, getChecksum, getGroups, getIgmpType, getMaxRespField, hashCode, serialize, setIgmpType, toString
-
Methods inherited from class org.onlab.packet.BasePacket
clone, getParent, getPayload, resetChecksum, setParent, setPayload
-
-
-
-
Field Detail
-
MINIMUM_HEADER_LEN
public static final int MINIMUM_HEADER_LEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
setMaxRespCode
public void setMaxRespCode(byte respCode)
Description copied from class:IGMP
Set the Max Resp Code.- Specified by:
setMaxRespCode
in classIGMP
- Parameters:
respCode
- the Maximum Response Code.
-
addGroup
public boolean addGroup(IGMPGroup group)
Description copied from class:IGMP
Add a multicast group to this IGMP message.
-
validChecksum
protected boolean validChecksum()
Description copied from class:IGMP
Validates the message's checksum.- Specified by:
validChecksum
in classIGMP
- Returns:
- true if valid, false if not
-
-