openbsc.git branch neels/gtphub updated. 0.15.0-49-g1785e5e

gitosis at osmocom.org gitosis at osmocom.org
Thu Oct 22 01:29:36 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  fc0b77724cdaf86ec938b20492e88f290cccbf58 (commit)
  discards  4bf5dfb8e87d7f4392deec0ea404fb00c1c2bd72 (commit)
  discards  e79008f1e5e0e6ef3c0a14bae54aa7b2d04d29bd (commit)
  discards  f70a80bc494fedb21e88c3e6a830fd94fe120649 (commit)
  discards  efa0d4b7e9810cebfb000562283054aee127a602 (commit)
  discards  8839922a09ea16812f0c3b1a2deba7172da82d85 (commit)
       via  1785e5e04772f79c27f70f1094f4056c2d41c396 (commit)
       via  b52bc72ac50556b46e16aa356cec48e9e73291bf (commit)
       via  275d799d7e03ffb3d764a18b402b13a4edb3bd44 (commit)
       via  c5ba79240da21075340c7c0c7b4e07143b7ff1fe (commit)
       via  ae6ae2c5aee38b521a5a70c1dfa1ec280c177b6b (commit)
       via  c2f304aac8684d410d5caf87d7a073c5c4fcb78f (commit)
       via  3e9e7c43c5379f77dc3c142a686974eeecdb4b23 (commit)
       via  b359f24964efbbede26a7a0a7b4b5faf2a9f2b90 (commit)
       via  b9cd49ea37780e86129d8b11bd4aa9604305097a (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 (fc0b77724cdaf86ec938b20492e88f290cccbf58)
            \
             N -- N -- N (1785e5e04772f79c27f70f1094f4056c2d41c396)

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=1785e5e04772f79c27f70f1094f4056c2d41c396

commit 1785e5e04772f79c27f70f1094f4056c2d41c396
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Oct 22 02:13:35 2015 +0200

    seqmaptest wip

http://cgit.osmocom.org/openbsc/commit/?id=b52bc72ac50556b46e16aa356cec48e9e73291bf

commit b52bc72ac50556b46e16aa356cec48e9e73291bf
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Oct 22 03:05:46 2015 +0200

    gtphub: separate socket ops from handling (SGSNs)
    
    Factor out from_sgsns_handle_buf() from from_sgsns_read_cb(), in anticipation
    of a test that uses this entry point.

http://cgit.osmocom.org/openbsc/commit/?id=275d799d7e03ffb3d764a18b402b13a4edb3bd44

commit 275d799d7e03ffb3d764a18b402b13a4edb3bd44
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Oct 22 02:35:51 2015 +0200

    gtphub: separate socket ops from handling (GGSNs)
    
    Factor out from_ggsns_handle_buf() from from_ggsns_read_cb(), in anticipation
    of a test that uses this entry point.

http://cgit.osmocom.org/openbsc/commit/?id=c5ba79240da21075340c7c0c7b4e07143b7ff1fe

commit c5ba79240da21075340c7c0c7b4e07143b7ff1fe
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Oct 21 02:07:52 2015 +0200

    gtphub_test.c: add test_nr_map_expiry().
    
    Rename test_nr_map() to test_nr_map_basic(),
    Add new test test_nr_map_expiry().
    
    Factor out static nr_map_have() to allocate and add a mapping.

http://cgit.osmocom.org/openbsc/commit/?id=ae6ae2c5aee38b521a5a70c1dfa1ec280c177b6b

commit ae6ae2c5aee38b521a5a70c1dfa1ec280c177b6b
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Oct 22 00:09:50 2015 +0200

    gtphub: rewire seqmap to use nr_map (2/2)
    
    Drop obsoleted functions, see previous commit.

http://cgit.osmocom.org/openbsc/commit/?id=c2f304aac8684d410d5caf87d7a073c5c4fcb78f

commit c2f304aac8684d410d5caf87d7a073c5c4fcb78f
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Oct 21 23:27:00 2015 +0200

    gtphub: rewire seqmap to use nr_map (1/2)
    
    The gtphub_seqmap_* functions become thin wrappers around the nr_map API.
    
    To ease diff comprehension, instead of removing obsolete functions, mark them
    with a comment. They will be dropped in the following commit.

http://cgit.osmocom.org/openbsc/commit/?id=3e9e7c43c5379f77dc3c142a686974eeecdb4b23

commit 3e9e7c43c5379f77dc3c142a686974eeecdb4b23
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Oct 21 23:17:42 2015 +0200

    gtphub: add expiry to nr_map.
    
    Introduce a central list of nr mappings for expiry. A number mapping gets a
    separate llist_head for the expiry list. To allow various types of mappings in
    the same list, have a del_cb (destructor callback) for each mapping.

http://cgit.osmocom.org/openbsc/commit/?id=b359f24964efbbede26a7a0a7b4b5faf2a9f2b90

commit b359f24964efbbede26a7a0a7b4b5faf2a9f2b90
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Oct 21 02:41:50 2015 +0200

    gtphub: generalize number mapping (2/2)
    
    Decouple nr_mapping initialization from memory allocation. This allows
    embedding a nr_mapping in a larger struct.
    
    Instead of the mapped number, return the struct nr_mapping*. This allows
    reaching data elements in the larger struct after having found a mapping.

http://cgit.osmocom.org/openbsc/commit/?id=b9cd49ea37780e86129d8b11bd4aa9604305097a

commit b9cd49ea37780e86129d8b11bd4aa9604305097a
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Oct 21 02:07:18 2015 +0200

    gtphub: generalize number mapping (1/2)
    
    Cosmetically prepare for combining tei_map and seqmap to a generalized nr_map:
    
    Rename tei_* to nr_*.
    Instead of uint32_t, introduce a central nr_t typedef.
    Instead of _get_rev, use name _get_inv (harder to misunderstand).

-----------------------------------------------------------------------

Summary of changes:
 openbsc/include/openbsc/gtphub.h   |  83 ++++++---
 openbsc/src/gprs/gtphub.c          | 337 ++++++++++++++++++++++++-------------
 openbsc/tests/gtphub/gtphub_test.c | 204 ++++++++++++++++++++--
 3 files changed, 463 insertions(+), 161 deletions(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list