Documentation
¶
Overview ¶
Package gtpv0 provides simple and painless handling of GTPv0 protocol in pure Golang.
This package is still under construction. The networking feature would be available in the future. Please see README.md for detailed usage of the APIs provided by this package.
Index ¶
Constants ¶
View Source
const ( CauseRequestIMSI uint8 = 0 CauseRequestIMEI uint8 = 1 CauseRequestIMSIandIMEI uint8 = 2 CauseNoIdentityNeeded uint8 = 3 CauseRequestAccepted uint8 = 128 CauseNonExistent uint8 = 192 CauseInvalidMessageFormat uint8 = 193 CauseIMSINotKnown uint8 = 194 CauseMSIsGPRSDetached uint8 = 195 CauseMSIsNotGPRSResponding uint8 = 196 CauseMSRefuses uint8 = 197 CauseVersionNotSupported uint8 = 198 CauseNoResourcesAvailable uint8 = 199 CauseServiceNotSupported uint8 = 200 CauseMandatoryIEIncorrect uint8 = 201 CauseMandatoryIEMissing uint8 = 202 CauseOptionalIEIncorrect uint8 = 203 CauseSystemFailure uint8 = 204 CauseRoamingRestriction uint8 = 205 CausePTMSISignatureMismatch uint8 = 206 CauseGPRSConnectionSuspended uint8 = 207 CauseAuthenticationFailure uint8 = 208 CauseUserAuthenticationFailed uint8 = 209 )
Cause definitions.
View Source
const ( PDPTypeETSI uint8 = iota | 0xf0 PDPTypeIETF )
PDP Type Organization definitions.
View Source
const ( SelectionModeMSorNetworkProvidedAPNSubscribedVerified uint8 = iota | 0xf0 SelectionModeMSProvidedAPNSubscriptionNotVerified SelectionModeNetworkProvidedAPNSubscriptionNotVerified )
SelectionMode definitions.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package ie provides encoding/decoding feature of GTPv0 Information Elements.
|
Package ie provides encoding/decoding feature of GTPv0 Information Elements. |
Package message provides encoding/decoding feature of GTPv0 protocol.
|
Package message provides encoding/decoding feature of GTPv0 protocol. |
Package testutils is an internal package to be used for unit tests.
|
Package testutils is an internal package to be used for unit tests. |
Click to show internal directories.
Click to hide internal directories.