package
0.8.11
Repository: https://github.com/wmnsk/go-gtp.git
Documentation: pkg.go.dev

# Functions

AddGroupedIEType adds IE type(s) to the defaultGroupedIEMap.
Decode decodes bytes as IE.
New creates new IE.
NewAccessPointName creates a new AccessPointName IE.
NewAggregateMaximumBitRate creates a new AggregateMaximumBitRate IE.
NewAggregateMaximumBitRateFields creates a new AggregateMaximumBitRateFields.
NewAllocationRetensionPriority creates a new AllocationRetensionPriority IE.
NewAPNRestriction creates a new APNRestriction IE.
NewBearerContext creates a new BearerContext IE.
NewBearerContextWithinContextAcknowledge creates a new BearerContext used within ContextAcknowledge.
NewBearerContextWithinContextResponse creates a new BearerContext used within ContextResponse.
NewBearerContextWithinCreateBearerRequest creates a new BearerContext used within CreateBearerRequest.
NewBearerContextWithinCreateBearerResponse creates a new BearerContext used within CreateBearerResponse.
NewBearerContextWithinCreateIndirectDataForwardingTunnelRequest creates a new BearerContext used within CreateIndirectDataForwardingTunnelRequest.
NewBearerContextWithinCreateIndirectDataForwardingTunnelResponse creates a new BearerContext used within CreateIndirectDataForwardingTunnelResponse.
NewBearerContextWithinDeleteBearerCommand creates a new BearerContext used within DeleteBearerCommand.
NewBearerContextWithinDeleteBearerFailureIndication creates a new BearerContext used within DeleteBearerFailureIndication.
NewBearerContextWithinDeleteBearerRequest creates a new BearerContext used within DeleteBearerRequest.
NewBearerContextWithinDeleteBearerResponse creates a new BearerContext used within DeleteBearerResponse.
NewBearerContextWithinForwardRelocationRequest creates a new BearerContext used within ForwardRelocationRequest.
NewBearerContextWithinModifyBearerCommand creates a new BearerContext used within ModifyBearerCommand.
NewBearerContextWithinUpdateBearerRequest creates a new BearerContext used within UpdateBearerRequest.
NewBearerContextWithinUpdateBearerResponse creates a new BearerContext used within UpdateBearerResponse.
NewBearerFlags creates a new BearerFlags IE.
NewBearerQoS creates a new BearerQoS IE.
NewBearerQoSFields creates a new BearerQoSFields.
NewBearerTFT creates a new BearerTFT IE.
NewBearerTFTAddPacketFilters creates a new BearerTFT IE with opcode=AddPacketFiltersToExistingTFT.
NewBearerTFTCreateNewTFT creates a new BearerTFT IE with opcode=CreateNewTFT.
NewBearerTFTDeleteExistingTFT creates a new BearerTFT IE with opcode=DeleteExistingTFT.
NewBearerTFTDeletePacketFilters creates a new BearerTFT IE with opcode=DeletePacketFiltersFromExistingTFT.
NewBearerTFTNoTFTOperation creates a new BearerTFT IE with opcode=NoTFTOperation.
NewBearerTFTReplacePacketFilters creates a new BearerTFT IE with opcode=ReplacePacketFiltersInExistingTFT.
NewCause creates a new Cause IE.
NewCGI creates a new CGI.
NewCHAPFields creates a new CHAPFields.
NewChargingCharacteristics creates a new ChargingCharacteristics IE.
NewChargingID creates a new ChargingID IE.
NewCSGID creates a new CSGID IE.
NewCSGMembershipIndication creates a new CSGMembershipIndication IE.
NewDelayValue creates a new DelayValue IE.
NewDelayValueRaw creates a new DelayValue IE from a uint8 value.
NewDetachType creates a new DetachType IE.
NewECGI creates a new ECGI.
NewEMENBI creates a new EMENBI.
NewEPCTimer creates a new EPCTimer IE.
NewEPCTimerRaw creates a new EPCTimer IE from a uint8 value.
NewEPSBearerID creates a new EPSBearerID IE.
NewFlowQoS creates a new FlowQoS IE.
NewFlowQoSFields creates a new FlowQoSFields.
NewFQDNIE creates a new IE with FQDN value.
NewFullyQualifiedCSID creates a new FullyQualifiedCSID IE.
NewFullyQualifiedCSIDFields creates a new FullyQualifiedCSIDFields.
NewFullyQualifiedDomainName creates a new FullyQualifiedDomainName IE.
NewFullyQualifiedTEID creates a new FullyQualifiedTEID IE.
NewFullyQualifiedTEIDFields creates a new FullyQualifiedTEIDFields.
NewFullyQualifiedTEIDNetIP creates a new FullyQualifiedTEID IE from net.IP instead of string.
NewGlobalCNID creates a new GlobalCNID IE.
NewGroupedIE creates a new IE with the given IEs.
NewGUTI creates a new GUTI IE.
NewGUTIFields creates a new GUTIFields.
NewHopCounter creates a new HopCounter IE.
NewIMSI creates a new IMSI IE.
NewIndication creates a new Indication IE.
NewIndicationFromBitSequence creates a new Indication IE from string-formatted sequence of bits.
NewIndicationFromOctets creates a new IndicationFromOctets IE from the set of octets.
NewIntegerNumber creates a new IntegerNumber IE.
NewIPAddress creates a new IPAddress IE from string.
NewIPAddressNetIP creates a new IPAddress IE from net.IP.
NewIPCPOption creates an IPCPOption with given IP address.
NewIPCPOptionIPAddress creates an IPCPOption with given IP address.
NewIPCPOptionMobileIPv4 creates an IPCPOption with given IP address.
NewIPCPOptionPrimaryDNS creates an IPCPOption with given IP address.
NewIPCPOptionSecondaryDNS creates an IPCPOption with given IP address.
NewLAI creates a new LAI.
NewLocalDistinguishedName creates a new LocalDistinguishedName IE.
NewMBMSFlags creates a new MBMSFlags IE.
NewMENBI creates a new MENBI.
NewMobileEquipmentIdentity creates a new MobileEquipmentIdentity IE.
NewMSISDN creates a new MSISDN IE.
NewNodeFeatures creates a new NodeFeatures IE.
NewNodeType creates a new NodeType IE.
NewPacketTMSI creates a new PacketTMSI IE.
NewPagingAndServiceInformation creates a new PagingAndServiceInformation IE.
NewPagingAndServiceInformationFields creates a new PagingAndServiceInformationFields.
NewPAPFields creates a new PAPFields.
NewPCOContainer creates a new PCOContainer.
NewPCOPPP creates a new PCOPPP.
NewPCOPPPWithCHAP creates a new PCOPPP with given CHAP.
NewPCOPPPWithIPCPOptions creates a new PCOPPP with given IPCPOptions.
NewPCOPPPWithPAP creates a new PCOPPP with given PAP.
NewPDNAddressAllocation creates a new PDNAddressAllocation IE.
NewPDNAddressAllocationDual creates a new PDNAddressAllocation IE with IPv4 address and IPv6 address given.
NewPDNAddressAllocationDualNetIP creates a new PDNAddressAllocation IE from IPv4 and IPv6 in net.IP.
NewPDNAddressAllocationFields creates a new PDNAddressAllocationFields.
NewPDNAddressAllocation creates a new PDNAddressAllocation IE with IPv6 value.
NewPDNAddressAllocationNetIP creates a new PDNAddressAllocation IE from net.IP.
NewPDNType creates a new PDNType IE.
NewPLMNID creates a PLMNID IE.
NewPortNumber creates a new PortNumber IE.
NewPrivateExtension creates a new PrivateExtension IE.
NewProcedureTransactionID creates a new ProcedureTransactionID IE.
NewProtocolConfigurationOptions creates a new ProtocolConfigurationOptions IE.
NewProtocolConfigurationOptionsFields creates a new ProtocolConfigurationOptionsFields.
NewPTMSISignature creates a new PTMSISignature IE.
NewRAI creates a new RAI.
NewRANNASCause creates a new RANNASCause IE.
NewRANNASCauseFields creates a new RANNASCauseFields.
NewRATType creates a new RATType IE.
NewRecovery creates a new Recovery IE.
NewRFSPIndex creates a new RFSPIndex IE.
NewS103PDNDataForwardingInfo creates a new S103PDNDataForwardingInfo IE.
NewS103PDNDataForwardingInfoFields creates a new S103PDNDataForwardingInfoFields.
NewS103PDNDataForwardingInfoNetIP creates a new S103PDNDataForwardingInfo IE.
NewS1UDataForwarding creates a new S1UDataForwarding IE.
NewS1UDataForwardingFields creates a new S1UDataForwardingFields.
NewS1UDataForwardingNetIP creates a new S1UDataForwarding IE.
NewSAI creates a new SAI.
NewSelectionMode creates a new SelectionMode IE.
NewServiceIndicator creates a new ServiceIndicator IE.
NewServingNetwork creates a ServingNetwork IE.
NewStringIE creates a new IE with string value.
NewTAI creates a new TAI.
NewTFTPacketFilter creates a new TFTPacketFilter.
NewTFTParameter creates a new TFTParameter.
NewTFTPFComponent creates a new TFTPFComponent.
NewTFTPFComponentDestinationMACAddress creates a new TFTPFComponent of type DestinationMACAddress.
NewTFTPFComponentDot1QCTAGPCPDEI creates a new TFTPFComponent of type Dot1QCTAGPCPDEI.
NewTFTPFComponentDot1QCTAGVID creates a new TFTPFComponent of type Dot1QCTAGVID.
NewTFTPFComponentDot1QSTAGPCPDEI creates a new TFTPFComponent of type Dot1QSTAGPCPDEI.
NewTFTPFComponentDot1QSTAGVID creates a new TFTPFComponent of type Dot1QSTAGVID.
NewTFTPFComponentEthertype creates a new TFTPFComponent of type Ethertype.
NewTFTPFComponentFlowLabel creates a new TFTPFComponent of type FlowLabel.
NewTFTPFComponentIPv4LocalAddress creates a new TFTPFComponent of type IPv4LocalAddress.
NewTFTPFComponentIPv4RemoteAddress creates a new TFTPFComponent of type IPv4RemoteAddress.
NewTFTPFComponentIPv6LocalAddressPrefixLength creates a new TFTPFComponent of type IPv6LocalAddressPrefixLength.
NewTFTPFComponentIPv6RemoteAddress creates a new TFTPFComponent of type IPv6RemoteAddress.
NewTFTPFComponentIPv6RemoteAddressPrefixLength creates a new TFTPFComponent of type IPv6RemoteAddressPrefixLength.
NewTFTPFComponentLocalPortRange creates a new TFTPFComponent of type LocalPortRange.
NewTFTPFComponentProtocolIdentifierNextHeader creates a new TFTPFComponent of type ProtocolIdentifierNextHeader.
NewTFTPFComponentRemotePortRange creates a new TFTPFComponent of type RemotePortRange.
NewTFTPFComponentSecurityParameterIndex creates a new TFTPFComponent of type SecurityParameterIndex.
NewTFTPFComponentSingleLocalPort creates a new TFTPFComponent of type SingleLocalPort.
NewTFTPFComponentSingleRemotePort creates a new TFTPFComponent of type SingleRemotePort.
NewTFTPFComponentSourceMACAddress creates a new TFTPFComponent of type SourceMACAddress.
NewTFTPFComponentTypeOfServiceTrafficClass creates a new TFTPFComponent of type TypeOfServiceTrafficClass.
NewThrottling creates a new Timer IE.
NewThrottlingFields creates a new ThrottlingFields.
NewTMSI creates a new TMSI IE.
NewTraceReference creates a new TraceReference IE.
NewTraceReferenceFields creates a new TraceReferenceFields.
NewTrafficAggregateDescription creates a new TrafficAggregateDescription IE.
NewTrafficAggregateDescriptionAddPacketFilters creates a new TrafficAggregateDescription IE with opcode=AddPacketFiltersToExistingTFT.
NewTrafficAggregateDescriptionCreateNewTFT creates a new TrafficAggregateDescription IE with opcode=CreateNewTFT.
NewTrafficAggregateDescriptionDeleteExistingTFT creates a new TrafficAggregateDescription IE with opcode=DeleteExistingTFT.
NewTrafficAggregateDescriptionDeletePacketFilters creates a new TrafficAggregateDescription IE with opcode=DeletePacketFiltersFromExistingTFT.
NewTrafficAggregateDescriptionNoTFTOperation creates a new TrafficAggregateDescription IE with opcode=NoTFTOperation.
NewTrafficAggregateDescriptionReplacePacketFilters creates a new TrafficAggregateDescription IE with opcode=ReplacePacketFiltersInExistingTFT.
NewTrafficFlowTemplate creates a new TrafficFlowTemplate.
NewUETimeZone creates a new UETimeZone IE.
NewUint16IE creates a new IE with uint16 value.
NewUint32IE creates a new IE with uint32 value.
NewUint64IE creates a new IE with uint64 value.
NewUint8IE creates a new IE with uint8 value.
NewULITimestamp creates a new ULITimestamp IE.
NewUserCSGInformation creates a new UserCSGInformation IE.
NewUserCSGInformationFields creates a new UserCSGInformationFields.
NewUserLocationInformation creates a new UserLocationInformation IE.
NewUserLocationInformationFields creates a new NewUserLocationInformationFields.
NewUserLocationInformationLazy creates a new UserLocationInformation IE.
NewUserLocationInformationStruct creates a new UserLocationInformation IE from the structs defined in gtpv2/ie package.
Parse decodes given byte sequence as a GTPv2 Information Element.
ParseAggregateMaximumBitRateFields decodes AggregateMaximumBitRateFields.
ParseBearerQoSFields decodes BearerQoSFields.
ParseCHAPFields decodes CHAPFields.
ParseFlowQoSFields decodes FlowQoSFields.
ParseFullyQualifiedCSIDFields decodes FullyQualifiedCSIDFields.
ParseFullyQualifiedTEIDFields decodes FullyQualifiedTEIDFields.
ParseGUTIFields decodes GUTIFields.
ParseIPCPOption decodes IPCPOption.
ParseMultiIEs decodes multiple IEs at a time.
ParseMultiTFTParameters decodes TFTParameter.
ParseMultiTFTPFComponent decodes TFTPFComponent.
ParsePagingAndServiceInformationFields decodes PagingAndServiceInformationFields.
ParsePAPFields decodes PAPFields.
ParsePCOContainer decodes PCOContainer.
ParsePCOPPP decodes PCOPPP.
ParsePDNAddressAllocationFields decodes PDNAddressAllocationFields.
ParseProtocolConfigurationOptionsFields decodes ProtocolConfigurationOptionsFields.
ParseRANNASCauseFields decodes RANNASCauseFields.
ParseS103PDNDataForwardingInfoFields decodes S103PDNDataForwardingInfoFields.
ParseS1UDataForwardingFields decodes S1UDataForwardingFields.
ParseTFTPacketFilter decodes TFTPacketFilter.
ParseTFTParameter decodes TFTParameter.
ParseTFTPFComponent decodes TFTPFComponent.
ParseThrottlingFields decodes ThrottlingFields.
ParseTraceReferenceFields decodes TraceReferenceFields.
ParseTrafficFlowTemplate decodes TrafficFlowTemplate.
ParseUserCSGInformationFields decodes UserCSGInformationFields.
ParseUserLocationInformationFields decodes UserLocationInformationFields.
SetIsGroupedFun sets a function to check if an IE is of grouped type or not.

# Constants

IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
ConfigurationProtocol definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IPCP Options.
IPCP Options.
IPCP Options.
IPCP Options.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
No description provided by the author
No description provided by the author
ProtocolIdentifier definitions.
ProtocolIdentifier definitions.
ProtocolIdentifier definitions.
ProtocolIdentifier definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
Packet Filter Component Type definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Operation Code definitions.
TFT Parameter Identifier definitions.
TFT Parameter Identifier definitions.
TFT Parameter Identifier definitions.
TFT Packet Filter Identifier definitions.
TFT Packet Filter Identifier definitions.
TFT Packet Filter Identifier definitions.
TFT Packet Filter Identifier definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.
IE definitions.

# Variables

Error definitions.
Error definitions.
Error definitions.
Error definitions.
Error definitions.
Error definitions.

# Structs

AggregateMaximumBitRateFields is a set of fields in AggregateMaximumBitRate IE.
BearerQoSFields is a set of fields in BearerQoS IE.
CGI represents a CGI, which is defined to be used as a field of UserLocationInformation IE.
CHAPFields represents a PAP payload on PPP protocol.
ECGI represents a ECGI, which is defined to be used as a field of UserLocationInformation IE.
EMENBI represents a EMENBI, which is defined to be used as a field of UserLocationInformation IE.
FlowQoSFields is a set of fields in FlowQoS IE.
FullyQualifiedCSIDFields is a set of fields in FullyQualifiedCSID IE.
FullyQualifiedTEIDFields is a set of fields in FullyQualifiedTEID IE.
GUTIFields is a set of fields in GUTI IE.
IE is a GTPv2 Information Element.
InvalidTypeError indicates the type of IE is invalid.
IPCPOption is a IPCP Option.
LAI represents a LAI, which is defined to be used as a field of UserLocationInformation IE.
MENBI represents a MENBI, which is defined to be used as a field of UserLocationInformation IE.
PagingAndServiceInformationFields is a set of fields in PagingAndServiceInformation IE.
PAPFields represents a PAP payload on PPP protocol.
PCOContainer is either of a Configuration protocol option or Additional parameters in PCO, which are not distinguishable without meta information(link direction) but fortunately the format is the same.
PCOPPP represents a PPP header and its contents used in PCO.
PDNAddressAllocationFields is a set of fields in PDNAddressAllocation IE.
No description provided by the author
ProtocolConfigurationOptionsFields is a set of fields in ProtocolConfigurationOptions IE.
RAI represents a RAI, which is defined to be used as a field of UserLocationInformation IE.
RANNASCauseFields is a set of fields in RANNASCause IE.
S103PDNDataForwardingInfoFields is a set of fields in S103PDNDataForwardingInfo IE.
S1UDataForwardingFields is a set of fields in S1UDataForwarding IE.
SAI represents a SAI, which is defined to be used as a field of UserLocationInformation IE.
TAI represents a TAI, which is defined to be used as a field of UserLocationInformation IE.
TFTPacketFilter represents a PacketFilter in TFT.
TFTParameter represents a Parameter in TFT.
TFTPFComponent represents a component in Packet Fileter in TFT.
ThrottlingFields is a set of fields in Throttling IE.
TraceReferenceFields is a set of fields in TraceReference IE.
TrafficFlowTemplate is a set of fields in BearerTFT IE.
UserCSGInformationFields is a set of fields in UserCSGInformation IE.
UserLocationInformationFields is a set of fields in UserLocationInformation IE.