Add QEMU tests

Add tests to ensure libgtpnl + kernel driver work as expected.

Right now a kernel needs to be built from source, using Pablo's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git/

Make sure to enable:
  CONFIG_GTP=y
  CONFIG_NET_NS=y
  CONFIG_VETH=y

$ cp bzImage tests/qemu/_linux
$ ./configure --enable-qemu-tests
$ make
$ make check

Once patches are upstreamed, it will be possible to use a pre-built
kernel from jenkins with: make -C tests qemu-download-kernel

Related: OS#1952
Change-Id: Ibf75514b866fffb11e90529e4705f126b23d7415
13 files changed
tree: 8f7e35b6eec82fc8aa80abc45054ee4271286c54
  1. contrib/
  2. debian/
  3. include/
  4. m4/
  5. src/
  6. tests/
  7. tools/
  8. .gitignore
  9. .gitreview
  10. AUTHORS
  11. configure.ac
  12. COPYING
  13. git-version-gen
  14. libgtpnl.pc.in
  15. Make_global.am
  16. Makefile.am
  17. README.md
  18. TODO-RELEASE
README.md

libgtpnl - netlink library for Linux kernel GTP

In order to control the kernel-side GTP-U plane, a netlink based control interface between GTP-C in userspace and GTP-U in kernelspace was invented.

The encoding and decoding of these control messages is implemented in the libgtpnl (library for GTP netlink).

libgtpnl is part of the Osmocom Open Source Mobile Communications project.

Homepage

The official homepage of the project is https://osmocom.org/projects/linux-kernel-gtp-u/wiki/Libgtpnl

GIT Repository

You can clone from the official libgtpnl.git repository using

git clone https://gitea.osmocom.org/cellular-infrastructure/libgtpnl

Visiting the URL in a browser shows a web interface.

Mailing List

Discussions related to libgtpnl are happening on the osmocom-net-gprs@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/osmocom-net-gprs for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.

Contributing

Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We use a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for libgtpnl can be seen at https://gerrit.osmocom.org/#/q/project:libgtpnl+status:open