パッケージ org.pcap4j.packet
クラス IpV4StrictSourceRouteOption
- java.lang.Object
-
- org.pcap4j.packet.IpV4StrictSourceRouteOption
-
- すべての実装されたインタフェース:
Serializable
,IpV4Packet.IpV4Option
public final class IpV4StrictSourceRouteOption extends Object
- 導入されたバージョン:
- pcap4j 0.9.11
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
IpV4StrictSourceRouteOption.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
IpV4StrictSourceRouteOption.Builder
getBuilder()
byte
getLength()
int
getLengthAsInt()
byte
getPointer()
int
getPointerAsInt()
byte[]
getRawData()
List<Inet4Address>
getRouteData()
IpV4OptionType
getType()
int
hashCode()
int
length()
static IpV4StrictSourceRouteOption
newInstance(byte[] rawData, int offset, int length)
A static factory method.String
toString()
-
-
-
メソッドの詳細
-
newInstance
public static IpV4StrictSourceRouteOption 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 IpV4StrictSourceRouteOption object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getType
public IpV4OptionType getType()
- 定義:
getType
インタフェース内IpV4Packet.IpV4Option
- 戻り値:
- type
-
getBuilder
public IpV4StrictSourceRouteOption.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
getLength
public byte getLength()
- 戻り値:
- length
-
getLengthAsInt
public int getLengthAsInt()
- 戻り値:
- length
-
getPointer
public byte getPointer()
- 戻り値:
- pointer
-
getPointerAsInt
public int getPointerAsInt()
- 戻り値:
- pointer
-
getRouteData
public List<Inet4Address> getRouteData()
- 戻り値:
- routeData
-
length
public int length()
- 定義:
length
インタフェース内IpV4Packet.IpV4Option
- 戻り値:
- length
-
getRawData
public byte[] getRawData()
- 定義:
getRawData
インタフェース内IpV4Packet.IpV4Option
- 戻り値:
- raw data
-
-