netlink library for Linux kernel GTP code
Go to file
Harald Welte f86d9b40b1 Fix CTRL_ATTR_FAMILY_ID attribute size
This fixes the following kernel error message:
	netlink: 'osmo-ggsn': attribute type 1 has an invalid length.

This is due to CTRL_ATTR_FAMILY_ID being defined as a 16bit netlink
attribute, but us encoding it as u32:
	netlink/genetlink.c:    [CTRL_ATTR_FAMILY_ID]   = { .type = NLA_U16 },

let's properly encode it as 16bit and hence resolve the error message.

Change-Id: I41b2719ffc24d7a3420b5980f2a967264e606d91
Closes: OS#3216
2018-04-26 21:46:04 +02:00
contrib Add '--enable-sanitize' from other osmocom projects 2017-11-12 22:48:15 +09:00
debian Tag/Release v1.1.0 2017-11-12 23:33:02 +09:00
include Add genl_socket_close() function 2017-11-08 16:15:59 +09:00
m4 add libgtpnl 2014-02-20 19:41:29 +01:00
src Fix CTRL_ATTR_FAMILY_ID attribute size 2018-04-26 21:46:04 +02:00
tools Makefile: Build gtp-{link,tunnel} by default, but don't install them 2018-02-16 08:21:19 +01:00
.gitignore add 'm4' subdirectory to .gitignore 2017-11-12 23:29:49 +09: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 Tag/Release v1.1.0 2017-11-12 23:33:02 +09:00
Makefile.am Use release helper from libosmocore 2017-11-12 23:25:00 +09:00
README.md add README.md file 2017-03-17 23:28:55 +01:00
TODO-RELEASE Tag/Release v1.1.0 2017-11-12 23:33:02 +09:00
configure.ac Tag/Release v1.1.0 2017-11-12 23:33:02 +09: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/libgtpnl/wiki/

GIT Repository

You can clone from the official libgtpnl.git repository using

git clone git://git.osmocom.org/libgtpnl.git

There is a cgit interface at http://git.osmocom.org/libgtpnl/

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