netlink library for Linux kernel GTP code
Go to file
Pablo Neira Ayuso 7aa2087885 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
include allow to specify the interface name for the GTP device 2014-02-24 11:41:51 +01:00
m4 add libgtpnl 2014-02-20 19:41:29 +01:00
src allow to specify the interface name for the GTP device 2014-02-24 11:41:51 +01:00
tools allow to specify the interface name for the GTP device 2014-02-24 11:41:51 +01:00
.gitignore add libgtpnl 2014-02-20 19:41:29 +01:00
Make_global.am add libgtpnl 2014-02-20 19:41:29 +01:00
Makefile.am add libgtpnl 2014-02-20 19:41:29 +01:00
configure.ac add libgtpnl 2014-02-20 19:41:29 +01:00
libgtpnl.pc.in add libgtpnl 2014-02-20 19:41:29 +01:00