osmo-msc/openbsc/tests/sgsn
Holger Hans Peter Freyther 39c430ee29 sgsn: Allow to resolve the IPv4 address of a GGSN through DNS
For real networks we need to check if the requested APN string
is allowed and then resolve the GGSN address through DNS. There
are countries with two or three digit MNCs and one could either
try to keep a list of countries that have two/three digits or
just try both of them. I have opted for the later for the ease
of the implementation.

C-Ares doesn't allow to cancel a request so we will need to
have the MMCTX and the Lookup have different lifetimes. We simply
set ->mmctx to NULL in case the MMCTX dies more early.

The selected and verified apn_str will be copied into the out
parameter. In case no static APN/GGSN config is present and the
dynamic mode is enabled a request will be made.
2015-05-25 15:57:57 +08:00
..
Makefile.am sgsn: Allow to resolve the IPv4 address of a GGSN through DNS 2015-05-25 15:57:57 +08:00
sgsn_test.c sgsn: Allow to resolve the IPv4 address of a GGSN through DNS 2015-05-25 15:57:57 +08:00
sgsn_test.ok Revert "gprs: Block other GSUP procedures during PURGE_MS" 2015-02-06 13:22:24 +01:00