GTP'
From Wikipedia, the free encyclopedia
| Internet protocol suite |
|---|
| Application layer |
| Transport layer |
| Internet layer |
| Link layer |
GTP' (GTP prime) is an IP based protocol used within GSM and UMTS networks. It can be used with UDP or TCP. GTP' uses the same message structure as GTP (GTP-C, GTP-U), but it is largely a separate protocol. GTP' uses registered UDP/TCP port 3386.
GTP' can be used for carrying charging data from the "Charging Data Function" (CDF) of the GSM or UMTS network to the "Charging Gateway Function" (CGF). In most cases, this should mean from many individual network elements such as the GGSNs to a centralised computer which then delivers the charging data more conveniently to the network operator's billing center.
GTP' is used on the Ga interface within the 3GPP GPRS Core Network definition.
GTP' reuses aspects of GTP, although to quote 3GPP TS 32.295, "only the signalling plane of GTP is partly reused".[1] GTP' defines a different header, additional messages, field values, as well as a synchronisation protocol to avoid losing or duplicating CDRs on CGF or SGSN/GGSN failure. Transferred CDRs, if following 3GPP standards, are encoded in ASN.1.
GTP' v1 and v2 headers contain the following fields
| + | Bits 0-2 | 3 | 4 | 5 | 6 | 7 | 8-15 | 16-31 | 32-47 | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | Version | PT [0] | Reserved | Hdr len | Message Type | Length | Sequence Number | |||||||||||||||||||||||||||||||||||||||||
- Version
- The first header field in a GTP' packet is the 3-bit version field. For GTP' v2, this has a value of 2 (hence the name GTP' v2).
- Protocol Type (PT)
- a 1-bit value that differentiates GTP' (value 0) from GTP (value 1).
- Reserved
- a 3-bit reserved field (must be 1's).
- Header Length (Hdr len)
- a 1-bit value that for GTP' version 0 indicates if using a 20 byte header (value 0) (as per GTP) or this 6 byte header. This bit must be unset (value 0) for subsequent GTP' versions and in these does not indicate the header length as this must always be 6 bytes.
- Message Type
- An 8-bit field that states the message type. Possible values:
| Message Type | Description |
|---|---|
| 1 | Echo Request |
| 2 | Echo Response |
| 3 | Version Not Supported |
| 4 | Node Alive Request |
| 5 | Node Alive Response |
| 6 | Redirection Request |
| 7 | Redirection Response |
| 240 | Data Record Transfer Request |
| 241 | Data Record Transfer Response |
- Length
- A 16-bit field that states the length of the packet being encapsulated by GTP' (not including the GTP' header itself).
- Sequence Number
- A 16-bit field that uniquely identifies this packet and allows detection of loss or duplication