9
0
Fork 0
This repository has been archived on 2022-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
openggsn/sgsnemu
Andreas Schultz 10abfba949 convert literal APN name to protocol encoded version before use
The definition of the APN field format in GTPv1 is hidden in a chain
of documents.

3GPP TS 29.060 (the GTPv1-C specification) Section 7.7.30:

> The Access Point Name contains a logical name (see 3GPP TS 23.060 [4]).
> It is coded as in the value part defined in 3GPP TS 24.008

3GPP TS 24.008 Section 10.5.6.1:

> The value part is defined in 3GPP TS 23.003.

3GPP TS 23.003 Section 9.1:

> The APN consists of one or more labels. Each label is coded as a one
> octet length field followed by that number of octets coded as 8 bit
> ASCII characters

This converts a literal APN (e.g. Label1.Label2.Label3) to a structured
field (e.g. \006Label1\006Label2\006Label3)

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
2015-11-13 17:16:03 +01:00
..
Makefile.am logging: Switch to using libosmocore logging for all the code 2014-12-04 16:51:15 +01:00
cmdline.c Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
cmdline.ggo Fix various compiler warnings throughout the code 2010-05-04 11:08:38 +02:00
cmdline.h Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
sgsnemu.c convert literal APN name to protocol encoded version before use 2015-11-13 17:16:03 +01:00