This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, neels/gtphub has been updated
discards 44b12671f4f811412fab2298036c83457ac6ed42 (commit)
discards ff2aff90be399d57e26fe2b9d60355d78b93443c (commit)
via 40f44ea23433b1a721d78eb9d6779db48cf5b341 (commit)
via 6d2dd370bf64e8c4e2380d430785c5b582e29666 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (44b12671f4f811412fab2298036c83457ac6ed42)
\
N -- N -- N (40f44ea23433b1a721d78eb9d6779db48cf5b341)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=40f44ea23433b1a721d78eb9d6779db4…
commit 40f44ea23433b1a721d78eb9d6779db48cf5b341
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 8 23:39:57 2015 +0100
gtphub: lose the netcat test.
http://cgit.osmocom.org/openbsc/commit/?id=6d2dd370bf64e8c4e2380d430785c5b5…
commit 6d2dd370bf64e8c4e2380d430785c5b582e29666
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sun Nov 8 20:34:47 2015 +0100
gtphub: add first bits of GRX ares
For the resolving function, change the function signature to return a
gtphub_peer_port. In consequence, publish two functions concerned with
gtphub_peer_port instances for use in test and gtphub_ext.c.
Add GGSN resolution queue, callback and cache. Simple implementation: if an
SGSN asks for a GGSN, it will first get no answer, and I hope it will ask again
once the GGSN is in the cache.
Within gtphub_ext.c, have a dummy sgsn struct, as the sgsn_ares code currently
depends on it (half the functions pass an sgsn instance pointer around, but the
other half use the global one).
In the unit tests, wrap away the ares initialization so that they can work
without a DNS server around. The netcat test breaks because of this, will
remove it.
Using sgsn_ares, implement the gtphub_resolve_ggsn_addr() function, I hope:
untested.
Minor cosmetics just to see if you're paying attention... ;)
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gtphub.h | 8 +++++--
openbsc/src/gprs/Makefile.am | 2 +-
openbsc/src/gprs/gprs_utils.c | 5 +++--
openbsc/src/gprs/gtphub.c | 17 +++++++++------
openbsc/src/gprs/gtphub_ext.c | 44 +++++++++++++++++++-------------------
openbsc/src/gprs/sgsn_vty.c | 5 +++++
openbsc/tests/gtphub/Makefile.am | 1 +
openbsc/tests/gtphub/gtphub_test.c | 28 ++++++++++++------------
8 files changed, 62 insertions(+), 48 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)