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:

Make sure to enable:

$ 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 configure: regular_C(PP)FLAGS -> C(PP)FLAGS 2023-10-19 16:09:15 +02:00 Add QEMU tests 2024-02-15 15:29:15 +01:00 README, debian/control: update URLs 2023-10-19 16:09:15 +02:00
TODO-RELEASE Depend on 2018-05-02 16:36:24 +02:00 Add QEMU tests 2024-02-15 15:29:15 +01:00
git-version-gen Use git-version-gen to set VERSION 2018-05-02 16:36:27 +02:00 add libgtpnl 2014-02-20 19:41:29 +01:00

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.


The official homepage of the project is

GIT Repository

You can clone from the official libgtpnl.git repository using

git clone

Visiting the URL in a browser shows a web interface.

Mailing List

Discussions related to libgtpnl are happening on the mailing list, please see for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.


Our coding standards are described at

We use a gerrit based patch submission/review process for managing contributions. Please see for more details

The current patch queue for libgtpnl can be seen at