Commit
1dd16fa12fd29cb35b4e1b381229a2456fa98901
by Oliver Smith
libgtp: move includes to osmocom/include/gtp
Move all includes from /usr/include/….h to /usr/include/osmocom/gtp/….h to be more consistent with other Osmocom projects, and to not "pollute" the top include directory if we add more header files.
Also the new directory structure makes more obvious, which headers are public and which ones aren't.
Adjust libgtp.pc.in so both #include <gtp.h> (legacy) and #include <osmocom/gtp/gtp.h> can be used.
Commit
3cb3423a59584bb90f41fcabfc4700eb110c0a5f
by Oliver Smith
gtp/gtp.c: move gtp_create_context_resp down
Move gtp_create_context_resp below gtp_create_pdp_resp, which it calls. In a follow-up commit, we can make gtp_create_pdp_resp static and remove the additional declaration.
Commit
68f5b086ad6d86a04fcb9caccd73d16cfa9ce033
by Oliver Smith
gtp: remove unused conversion functions
Remove ipv42eua and eua2ipv4, which are in the "internal functions" section of gtp.h, but are not used anywhere in the code anymore. This is in preparation of moving the internal functions that are used in multiple .c files into a separate header file, and to make the other internal functions static. (Compiler complains about unused static functions.)