Module org.pcap4j.core
Package org.pcap4j.packet.namednumber
Enum GtpV1ExtensionHeaderType.ComprehensionRequirement
- java.lang.Object
-
- java.lang.Enum<GtpV1ExtensionHeaderType.ComprehensionRequirement>
-
- org.pcap4j.packet.namednumber.GtpV1ExtensionHeaderType.ComprehensionRequirement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GtpV1ExtensionHeaderType.ComprehensionRequirement>
- Enclosing class:
- GtpV1ExtensionHeaderType
public static enum GtpV1ExtensionHeaderType.ComprehensionRequirement extends java.lang.Enum<GtpV1ExtensionHeaderType.ComprehensionRequirement>
Comprehension requirement of Extension Header Type (Definition of bits 7 and 8 of the Extension Header Type)- Since:
- pcap4j 1.6.6
- See Also:
- ETSI TS 129 060 V12.6.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_REQUIRED_SHALL_DISCARDComprehension of this extension header is not required.NOT_REQUIRED_SHALL_FORWARDComprehension of this extension header is not required.REQUIRED_BY_ENDPOINTComprehension of this extension header is required by the Endpoint Receiver but not by an Intermediate Node.REQUIRED_BY_RECIPIENTComprehension of this header type is required by recipient (either Endpoint Receiver or Intermediate Node)
-
Constructor Summary
Constructors Modifier Constructor Description privateComprehensionRequirement()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GtpV1ExtensionHeaderType.ComprehensionRequirementvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GtpV1ExtensionHeaderType.ComprehensionRequirement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUIRED_SHALL_FORWARD
public static final GtpV1ExtensionHeaderType.ComprehensionRequirement NOT_REQUIRED_SHALL_FORWARD
Comprehension of this extension header is not required. An Intermediate Node shall forward it to any Receiver Endpoint
-
NOT_REQUIRED_SHALL_DISCARD
public static final GtpV1ExtensionHeaderType.ComprehensionRequirement NOT_REQUIRED_SHALL_DISCARD
Comprehension of this extension header is not required. An Intermediate Node shall discard the Extension Header Content and not forward it to any Receiver Endpoint. Other extension headers shall be treated independently of this extension header.
-
REQUIRED_BY_ENDPOINT
public static final GtpV1ExtensionHeaderType.ComprehensionRequirement REQUIRED_BY_ENDPOINT
Comprehension of this extension header is required by the Endpoint Receiver but not by an Intermediate Node. An Intermediate Node shall forward the whole field to the Endpoint Receiver.
-
REQUIRED_BY_RECIPIENT
public static final GtpV1ExtensionHeaderType.ComprehensionRequirement REQUIRED_BY_RECIPIENT
Comprehension of this header type is required by recipient (either Endpoint Receiver or Intermediate Node)
-
-
Method Detail
-
values
public static GtpV1ExtensionHeaderType.ComprehensionRequirement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GtpV1ExtensionHeaderType.ComprehensionRequirement c : GtpV1ExtensionHeaderType.ComprehensionRequirement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GtpV1ExtensionHeaderType.ComprehensionRequirement valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-