osmo-gtp-kernel/libgtnl/src
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
..
Makefile.am add struct gtp_tunnel and adapt functions to use it 2014-02-22 22:30:14 +01:00
genl.c add libgtpnl 2014-02-20 19:41:29 +01:00
gtp-genl.c gtp-genl: fix compilation warning 2014-02-22 22:30:23 +01:00
gtp-rtnl.c allow to specify the interface name for the GTP device 2014-02-24 11:41:51 +01:00
gtp.c add struct gtp_tunnel and adapt functions to use it 2014-02-22 22:30:14 +01:00
internal.h add struct gtp_tunnel and adapt functions to use it 2014-02-22 22:30:14 +01:00
libgtpnl.map gtp-rtnl: add gtp_dev_destroy 2014-02-22 23:19:58 +01:00