Linux Kernel GTP-U code for GTPv0/v1. Part of mainline Linux for several years.
Go to file
Pablo Neira Ayuso 1783c7cda4 allow to specify the interface name for the GTP device
We can use this to specify 'gtp0' from openggsn, so we make sure that
it always uses the same tunnel device on creation. If it already exists,
it will return EEXIST. This is used to skip the problem of lacking
NLM_F_ECHO in the rtnetlink link interface that allows us to know the
name of the gtp device that has been dynamically allocated from the
kernel.

And, finally, I don't find any use case for having more than one tunnel
device when integrating this with openggsn.

This patch also adjusts tools/gtp-link-add.c which needs some care, since
it is not yet using any of the library functions. This tools are likely
to be useful for troubleshooting and debugging.
2014-02-24 11:41:51 +01:00
libgtnl allow to specify the interface name for the GTP device 2014-02-24 11:41:51 +01:00
Makefile add libgtpnl 2014-02-20 19:41:29 +01:00
genl.h genl: ix crash due to missing wrong prototype 2014-01-21 18:09:17 +01:00
gtp.c gtp: create socket from userspace and pass them as configuration 2014-02-23 23:09:59 +01:00
gtp.h gtp: use lookup table to calculate gtp1u header length 2014-02-18 16:27:01 +01:00
gtp_nl.h gtp: create socket from userspace and pass them as configuration 2014-02-23 23:09:59 +01:00