openbsc.git branch neels/gtphub updated. 0.15.0-31-gd84bb83

gitosis at gitosis at
Sat Nov 7 02:04:22 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  b807849c1e51657de2274c41c8cdbba773eca717 (commit)
       via  d84bb8398ce1a01c43b1d2d3f1edb405c221b967 (commit)
       via  4f815647fca3f591170ba336476cb458192c51e9 (commit)
       via  c707e1e6fb9499db74e8e4621ac2ff61d49c43b9 (commit)
       via  3bba8e9b1a8ec677d9baf3000ecb4d239706bde0 (commit)
       via  7ba19e14286dc3274fbdef3edbbfe2d28e689058 (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 (b807849c1e51657de2274c41c8cdbba773eca717)
             N -- N -- N (d84bb8398ce1a01c43b1d2d3f1edb405c221b967)

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 d84bb8398ce1a01c43b1d2d3f1edb405c221b967
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sat Nov 7 03:02:25 2015 +0100

    gtphub: publish gtphub_port_find_sa() to enhance test
    gtphub_test: find the GGSN peer struct and verify seq_map entries and timeouts.
    Also verify tei_map entries and timeouts.

commit 4f815647fca3f591170ba336476cb458192c51e9
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sat Nov 7 03:01:24 2015 +0100

    gtphub_test: cosmetic
    Rename seq_map_is to nr_map_is.

commit c707e1e6fb9499db74e8e4621ac2ff61d49c43b9
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sat Nov 7 02:29:38 2015 +0100

    gtphub: pull out current time to unit tests.
    An obsolete forward definition is dropped along the way.

commit 3bba8e9b1a8ec677d9baf3000ecb4d239706bde0
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sat Nov 7 02:18:25 2015 +0100

    gtphub: cosmetic
    Tweak comment.
    Rename gtphub_sep.c to gtphub_ext.c (personal preference) and add copyright
    Sort some definitions around in gtphub.c.
    In gtphub_from_sgsns_handle_buf, move a variable into the scope where it is
    Remove a debug peer counter.

commit 7ba19e14286dc3274fbdef3edbbfe2d28e689058
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu Nov 5 15:03:15 2015 +0100

    gtphub: restructure
    Allow multiple addresses per peer.
    Allow multiple ports per address.
    Don't track ctrl<->user plane peers, allow any number of them.
    Have a single TEI map per plane, across all GGSNs and SGSNs. This is not only
    simpler, but necessary to establish mappings during a Create PDP Context
    Request <-> Response (thanks Holger!) -- during a Create PDP Context Request,
    we want to map TEI numbers before sending to the GGSN, but the GGSN has not
    announced its final tunnel endpoint addresses yet. We can't find an unused TEI
    for a given address if we don't know the address. The solution is to have
    globally unique mapped TEIs (per Ctrl / User plane).
    Change naming: "port" to "plane". There's now a gtphub_peer_port, so the "port"
    naming for the planes was confusing.
    Separate expiry from nr_map. It happened along the way, becoming obsolete again
    by the central TEI map, and now the code is there.


Summary of changes:
 openbsc/include/openbsc/gtphub.h   |  107 ++--
 openbsc/src/gprs/       |    2 +-
 openbsc/src/gprs/gtphub.c          | 1014 +++++++++++++++++-------------------
 openbsc/src/gprs/gtphub_ext.c      |   58 +++
 openbsc/src/gprs/gtphub_sep.c      |   26 -
 openbsc/src/gprs/gtphub_vty.c      |   66 +--
 openbsc/tests/gtphub/gtphub_test.c |  194 ++++---
 7 files changed, 765 insertions(+), 702 deletions(-)
 create mode 100644 openbsc/src/gprs/gtphub_ext.c
 delete mode 100644 openbsc/src/gprs/gtphub_sep.c

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

More information about the osmocom-commitlog mailing list