openbsc.git branch neels/gtphub updated. 0.15.0-26-g40f44ea

gitosis at gitosis at
Mon Nov 9 12:54:12 UTC 2015

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 -----------------------------------------------------------------

commit 40f44ea23433b1a721d78eb9d6779db48cf5b341
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Nov 8 23:39:57 2015 +0100

    gtphub: lose the netcat test.

commit 6d2dd370bf64e8c4e2380d430785c5b582e29666
Author: Neels Hofmeyr <nhofmeyr at>
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:
    Minor cosmetics just to see if you're paying attention... ;)


Summary of changes:
 openbsc/include/openbsc/gtphub.h   |  8 +++++--
 openbsc/src/gprs/       |  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/   |  1 +
 openbsc/tests/gtphub/gtphub_test.c | 28 ++++++++++++------------
 8 files changed, 62 insertions(+), 48 deletions(-)

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list