osmo-bsc/openbsc/src
Jacob Erlbeck cb1db8b6d5 sgsn: Add functions to handle APN contexts
This commit adds the exported functions apn_ctx_find_alloc,
apn_ctx_free, apn_ctx_by_name, and apn_ctx_match to manage and
retrieve APN to GGSN mappings.

The following VTY commands are added to 'config-sgsn':

 - apn APN ggsn <0-255>
 - apn APN imsi-prefix PREFIX ggsn <0-255>

which maps an APN gateway string to an SGSN id. The SGSN must be
configured in advance. When matching an APN string, entries with a
leading '*' are used for suffix matching, otherwise an exact match is
done.  When a prefix is given, it is matched against the IMSI. If
several entries match, a longer matching IMSI prefix has precedence.
If there are several matching entries with the same PREFIX, the entry
with longest matching APN is returned.

Ticket: OW#1334
Sponsored-by: On-Waves ehf
2015-02-06 09:56:17 +01:00
..
gprs sgsn: Add functions to handle APN contexts 2015-02-06 09:56:17 +01:00
ipaccess adopt recent IPA related symbol rename 2014-08-20 23:47:56 +02:00
libbsc bsc/nitb: Allow to set the GPRS mode through the ctrl command 2015-01-31 22:38:48 +01:00
libcommon bsc/nitb: Allow to set the GPRS mode through the ctrl command 2015-01-31 22:38:48 +01:00
libgb Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
libmgcp mgcp: Honor the rtp IP_TOS settings for Osmux 2015-01-21 11:43:03 +01:00
libmsc meas: Install the scenario command and test it 2015-01-31 12:49:41 +01:00
libtrau rtp_proxy: Remove dead code 2015-01-01 12:20:21 +01:00
osmo-bsc logging: Only compare the subscr address 2015-01-02 11:43:06 +01:00
osmo-bsc_mgcp logging: Only compare the subscr address 2015-01-02 11:43:06 +01:00
osmo-bsc_nat osmux: Initialize the socket only once 2015-01-21 16:56:53 +01:00
osmo-nitb Fix most compiler warnings with gcc-4.9.2 2015-01-01 12:32:03 +01:00
utils meas: Unbreak the build once more 2015-01-10 09:54:30 +01:00
Makefile.am move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00