1783c7cda4
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. |
||
---|---|---|
libgtnl | ||
Makefile | ||
genl.h | ||
gtp.c | ||
gtp.h | ||
gtp_nl.h |