Package org.pcap4j.packet.namednumber
Class GtpV1ExtensionHeaderType
- java.lang.Object
-
- org.pcap4j.packet.namednumber.NamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
-
- org.pcap4j.packet.namednumber.GtpV1ExtensionHeaderType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GtpV1ExtensionHeaderType>
public final class GtpV1ExtensionHeaderType extends NamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
GTPv1 Extension Header Type- Since:
- pcap4j 1.6.6
- Author:
- Kaito Yamada
- See Also:
- ETSI TS 129 060 V12.6.0, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GtpV1ExtensionHeaderType.ComprehensionRequirement
Comprehension requirement of Extension Header Type (Definition of bits 7 and 8 of the Extension Header Type)
-
Field Summary
Fields Modifier and Type Field Description static GtpV1ExtensionHeaderType
MBMS_SUPPORT_INDICATION
MBMS support indication: 0000 0001static GtpV1ExtensionHeaderType
MS_INFO_CHANGE_REPORTING_SUPPORT_INDICATION
MS Info Change Reporting support indication: 0000 0010static GtpV1ExtensionHeaderType
NO_MORE_EXTENSION_HEADERS
No more extension headers: 0000 0000static GtpV1ExtensionHeaderType
PDCP_PDU_NUMBER
PDCP PDU number: 1100 0000static GtpV1ExtensionHeaderType
SUSPEND_REQUEST
Suspend Request: 1100 0001static GtpV1ExtensionHeaderType
SUSPEND_RESPONSE
Suspend Response: 1100 0010
-
Constructor Summary
Constructors Constructor Description GtpV1ExtensionHeaderType(java.lang.Byte value, java.lang.String name)
-
Method Summary
Modifier and Type Method Description int
compareTo(GtpV1ExtensionHeaderType o)
GtpV1ExtensionHeaderType.ComprehensionRequirement
getComprehensionRequirement()
static GtpV1ExtensionHeaderType
getInstance(java.lang.Byte value)
static GtpV1ExtensionHeaderType
register(GtpV1ExtensionHeaderType type)
java.lang.String
valueAsString()
-
-
-
Field Detail
-
NO_MORE_EXTENSION_HEADERS
public static final GtpV1ExtensionHeaderType NO_MORE_EXTENSION_HEADERS
No more extension headers: 0000 0000
-
MBMS_SUPPORT_INDICATION
public static final GtpV1ExtensionHeaderType MBMS_SUPPORT_INDICATION
MBMS support indication: 0000 0001
-
MS_INFO_CHANGE_REPORTING_SUPPORT_INDICATION
public static final GtpV1ExtensionHeaderType MS_INFO_CHANGE_REPORTING_SUPPORT_INDICATION
MS Info Change Reporting support indication: 0000 0010
-
PDCP_PDU_NUMBER
public static final GtpV1ExtensionHeaderType PDCP_PDU_NUMBER
PDCP PDU number: 1100 0000
-
SUSPEND_REQUEST
public static final GtpV1ExtensionHeaderType SUSPEND_REQUEST
Suspend Request: 1100 0001
-
SUSPEND_RESPONSE
public static final GtpV1ExtensionHeaderType SUSPEND_RESPONSE
Suspend Response: 1100 0010
-
-
Method Detail
-
getComprehensionRequirement
public GtpV1ExtensionHeaderType.ComprehensionRequirement getComprehensionRequirement()
- Returns:
- a ComprehensionRequirement object.
-
getInstance
public static GtpV1ExtensionHeaderType getInstance(java.lang.Byte value)
- Parameters:
value
- value- Returns:
- a GtpV1MessageType object.
-
register
public static GtpV1ExtensionHeaderType register(GtpV1ExtensionHeaderType type)
- Parameters:
type
- type- Returns:
- a GtpV1MessageType object.
-
valueAsString
public java.lang.String valueAsString()
- Overrides:
valueAsString
in classNamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
- Returns:
- a string representation of this value.
-
compareTo
public int compareTo(GtpV1ExtensionHeaderType o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<GtpV1ExtensionHeaderType>
- Specified by:
compareTo
in classNamedNumber<java.lang.Byte,GtpV1ExtensionHeaderType>
-
-