パッケージ org.pcap4j.packet
クラス IpV6NeighborDiscoveryPrefixInformationOption
- java.lang.Object
-
- org.pcap4j.packet.IpV6NeighborDiscoveryPrefixInformationOption
-
- すべての実装されたインタフェース:
Serializable,IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
public final class IpV6NeighborDiscoveryPrefixInformationOption extends Object implements IcmpV6CommonPacket.IpV6NeighborDiscoveryOption
- 導入されたバージョン:
- pcap4j 0.9.15
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classIpV6NeighborDiscoveryPrefixInformationOption.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleanequals(Object obj)booleangetAddressConfigurationFlag()IpV6NeighborDiscoveryPrefixInformationOption.BuildergetBuilder()bytegetLength()intgetLengthAsInt()booleangetOnLinkFlag()intgetPreferredLifetime()longgetPreferredLifetimeAsLong()Inet6AddressgetPrefix()bytegetPrefixLength()intgetPrefixLengthAsInt()byte[]getRawData()bytegetReserved1()intgetReserved2()IpV6NeighborDiscoveryOptionTypegetType()intgetValidLifetime()longgetValidLifetimeAsLong()inthashCode()intlength()static IpV6NeighborDiscoveryPrefixInformationOptionnewInstance(byte[] rawData, int offset, int length)A static factory method.StringtoString()
-
-
-
メソッドの詳細
-
newInstance
public static IpV6NeighborDiscoveryPrefixInformationOption newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- パラメータ:
rawData- rawDataoffset- offsetlength- length- 戻り値:
- a new IpV6NeighborDiscoveryPrefixInformationOption object.
- 例外:
IllegalRawDataException- if parsing the raw data fails.
-
getType
public IpV6NeighborDiscoveryOptionType getType()
- 定義:
getTypeインタフェース内IcmpV6CommonPacket.IpV6NeighborDiscoveryOption- 戻り値:
- type
-
getLength
public byte getLength()
- 戻り値:
- length
-
getLengthAsInt
public int getLengthAsInt()
- 戻り値:
- length
-
getPrefixLength
public byte getPrefixLength()
- 戻り値:
- prefixLength
-
getPrefixLengthAsInt
public int getPrefixLengthAsInt()
- 戻り値:
- prefixLength
-
getOnLinkFlag
public boolean getOnLinkFlag()
- 戻り値:
- onLinkFlag
-
getAddressConfigurationFlag
public boolean getAddressConfigurationFlag()
- 戻り値:
- addressConfigurationFlag
-
getReserved1
public byte getReserved1()
- 戻り値:
- reserved1
-
getValidLifetime
public int getValidLifetime()
- 戻り値:
- validLifetime
-
getValidLifetimeAsLong
public long getValidLifetimeAsLong()
- 戻り値:
- validLifetime
-
getPreferredLifetime
public int getPreferredLifetime()
- 戻り値:
- preferredLifetime
-
getPreferredLifetimeAsLong
public long getPreferredLifetimeAsLong()
- 戻り値:
- preferredLifetime
-
getReserved2
public int getReserved2()
- 戻り値:
- reserved2
-
getPrefix
public Inet6Address getPrefix()
- 戻り値:
- prefix
-
length
public int length()
- 定義:
lengthインタフェース内IcmpV6CommonPacket.IpV6NeighborDiscoveryOption- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawDataインタフェース内IcmpV6CommonPacket.IpV6NeighborDiscoveryOption- 戻り値:
- raw data
-
getBuilder
public IpV6NeighborDiscoveryPrefixInformationOption.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
-