Here is the part of the branch openbsc:neels/gtphub that I believe may be
merged to master at this point. (Holger: please go ahead with the merge, or
tell me to do so...)
The remaining bit is mostly a unit test netcat'ing to a gtphub instance. To do
that properly, gtphub must be configurable. Hence I'm starting to add VTY
config, which is not complete yet. Hence that part is still omitted here.
Neels Hofmeyr (15):
Add GTP hub stub, as simplistic UDP forwarder.
gtphub: add to build
gtphub: add skeletal gtphub.[hc]
gtphub: populate API impl from test prog
gtphub: add a todo comment
gtphub: add TEI map API.
gtphub: add gtphub_test.c (empty)
gtphub: add TEI map test
gtphub: add GTP header validation
gtphub: undup code: memset on a struct.
gtphub: tweak logging
gtphub: index IEs, decode and log a few.
gtphub: split gtp_relay() in r/w funcs
gtphub: map sequence numbers SGSNs<->GGSNs
gtphub: add signal handler to gtphub_main
openbsc/.gitignore | 2 +
openbsc/configure.ac | 1 +
openbsc/include/openbsc/Makefile.am | 3 +-
openbsc/include/openbsc/debug.h | 1 +
openbsc/include/openbsc/gtphub.h | 151 ++++++++
openbsc/src/gprs/Makefile.am | 4 +
openbsc/src/gprs/gtphub.c | 714 ++++++++++++++++++++++++++++++++++++
openbsc/src/gprs/gtphub_main.c | 256 +++++++++++++
openbsc/tests/Makefile.am | 2 +-
openbsc/tests/gtphub/Makefile.am | 15 +
openbsc/tests/gtphub/gtphub_test.c | 117 ++++++
openbsc/tests/gtphub/gtphub_test.ok | 1 +
openbsc/tests/testsuite.at | 7 +
13 files changed, 1272 insertions(+), 2 deletions(-)
create mode 100644 openbsc/include/openbsc/gtphub.h
create mode 100644 openbsc/src/gprs/gtphub.c
create mode 100644 openbsc/src/gprs/gtphub_main.c
create mode 100644 openbsc/tests/gtphub/Makefile.am
create mode 100644 openbsc/tests/gtphub/gtphub_test.c
create mode 100644 openbsc/tests/gtphub/gtphub_test.ok
--
2.1.4