netlink library for Linux kernel GTP code
Go to file
Oliver Smith a560cf30a7 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
2024-02-15 15:29:15 +01:00
contrib install gtp-tunnel and gtp-link tools 2021-02-12 09:36:52 +01:00
debian README, debian/control: update URLs 2023-10-19 16:09:15 +02:00
include gtp: provide interface to set family 2024-02-15 15:14:22 +01:00
m4 add libgtpnl 2014-02-20 19:41:29 +01:00
src gtp-genl: display gtp device in listing 2024-02-15 15:14:35 +01:00
tests Add QEMU tests 2024-02-15 15:29:15 +01:00
tools gtp-tunnel: display i_tei in help 2024-02-15 15:14:42 +01:00
.gitignore Add QEMU tests 2024-02-15 15:29:15 +01:00
.gitreview gitreview: new file 2023-10-18 14:21:19 +02:00
AUTHORS Add copright headers and license files, list Pablo as author 2014-04-03 09:37:38 -04:00
COPYING Re-license the library as LGPLv2-or-later 2016-07-28 20:34:45 +02:00
Make_global.am configure: regular_C(PP)FLAGS -> C(PP)FLAGS 2023-10-19 16:09:15 +02:00
Makefile.am Add QEMU tests 2024-02-15 15:29:15 +01:00
README.md README, debian/control: update URLs 2023-10-19 16:09:15 +02:00
TODO-RELEASE configure.ac: Depend on osmo-release.mk 2018-05-02 16:36:24 +02:00
configure.ac Add QEMU tests 2024-02-15 15:29:15 +01:00
git-version-gen configure.ac: Use git-version-gen to set VERSION 2018-05-02 16:36:27 +02:00
libgtpnl.pc.in add libgtpnl 2014-02-20 19:41:29 +01:00

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