Add include prefix for all libgtp related includes

The libgtp includes contain all the prefix osmocom/gtp.
The old non-prefix was used in the old OpenGGSN code base.

Change-Id: I5ea50c9766f719e1eea89cbf6783fafc2093773d
This commit is contained in:
Alexander Couzens
2024-11-04 19:26:17 +00:00
parent d3b037ccfa
commit 028c299bb2
11 changed files with 26 additions and 22 deletions

View File

@@ -29,8 +29,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <gtp.h>
#include <gtpie.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/gtp/gtpie.h>
#include <osmocom/gtphub/gtphub.h>
#include <osmocom/sgsn/debug.h>

View File

@@ -44,6 +44,8 @@
#include <osmocom/crypt/utran_cipher.h>
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/gprs/gprs_bssgp.h>
#include <osmocom/sgsn/debug.h>
@@ -65,8 +67,6 @@
#include <osmocom/sgsn/pdpctx.h>
#include <osmocom/sgsn/gprs_gmm_util.h>
#include <pdp.h>
#define PTMSI_ALLOC

View File

@@ -22,7 +22,7 @@
*/
#include "config.h"
#include <gtp.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/core/rate_ctr.h>
#include <osmocom/core/tdef.h>

View File

@@ -36,6 +36,8 @@
#include <osmocom/gsm/gsm_utils.h>
#include <osmocom/gsm/gsup.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/gprs_subscriber.h>
#include <osmocom/sgsn/debug.h>
#include <osmocom/sgsn/mmctx.h>
@@ -54,8 +56,6 @@
#include <osmocom/sgsn/gtp.h>
#include <osmocom/sgsn/pdpctx.h>
#include <pdp.h>
#include <time.h>
#include "../../config.h"

View File

@@ -39,6 +39,8 @@
#include <osmocom/crypt/gprs_cipher.h>
#include <osmocom/crypt/utran_cipher.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/gprs_subscriber.h>
#include <osmocom/sgsn/debug.h>
#include <osmocom/sgsn/sgsn.h>
@@ -57,8 +59,6 @@
#include <osmocom/sgsn/pdpctx.h>
#include <osmocom/sgsn/gprs_routing_area.h>
#include <pdp.h>
#include <time.h>
#define GPRS_LLME_CHECK_TICK 30

View File

@@ -20,6 +20,9 @@
#include <osmocom/ctrl/control_if.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/sgsn.h>
#include <osmocom/sgsn/signal.h>
#include <osmocom/sgsn/gprs_utils.h>
@@ -31,9 +34,6 @@
#include <osmocom/sgsn/pdpctx.h>
#include <osmocom/sgsn/mmctx.h>
#include <gtp.h>
#include <pdp.h>
#include <arpa/inet.h>
#include <time.h>

View File

@@ -21,12 +21,14 @@
#include <osmocom/ctrl/control_if.h>
#include <osmocom/ctrl/control_cmd.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/mmctx.h>
#include <osmocom/sgsn/pdpctx.h>
#include <osmocom/sgsn/sgsn.h>
#include <osmocom/sgsn/debug.h>
#include <pdp.h>
static int get_subscriber_list(struct ctrl_cmd *cmd, void *d)
{

View File

@@ -42,6 +42,9 @@
#include <osmocom/gprs/gprs_bssgp.h>
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/signal.h>
#include <osmocom/sgsn/debug.h>
#include <osmocom/sgsn/sgsn.h>
@@ -63,9 +66,6 @@
#include <osmocom/sgsn/gprs_bssgp.h>
#include <osmocom/sgsn/pdpctx.h>
#include <gtp.h>
#include <pdp.h>
/* TS 23.003: The MSISDN shall take the dummy MSISDN value composed of
* 15 digits set to 0 (encoded as an E.164 international number) when
* the MSISDN is not available in messages in which the presence of the

View File

@@ -45,6 +45,8 @@
#include <osmocom/gprs/gprs_bssgp.h>
#include <osmocom/gprs/gprs_bssgp_bss.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
#include <osmocom/vty/stats.h>
@@ -68,7 +70,6 @@
#include <osmocom/sgsn/gprs_subscriber.h>
#include <osmocom/sgsn/gtp.h>
#include <gtp.h>
#include <osmocom/sgsn/sgsn_rim.h>
#include "../../config.h"

View File

@@ -34,6 +34,9 @@
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
#include <osmocom/gsm/apn.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/gtp/pdp.h>
#include <osmocom/sgsn/debug.h>
#include <osmocom/sgsn/sgsn.h>
#include <osmocom/gprs/gprs_ns2.h>
@@ -57,9 +60,6 @@
#include <osmocom/gprs/gprs_bssgp.h>
#include <pdp.h>
#include <gtp.h>
#include "../../config.h"
#ifdef BUILD_IU

View File

@@ -29,11 +29,12 @@
#include <osmocom/core/application.h>
#include <osmocom/gsm/protocol/gsm_23_003.h>
#include <osmocom/gtp/gtp.h>
#include <osmocom/gtp/gtpie.h>
#include <osmocom/sgsn/debug.h>
#include <osmocom/gtphub/gtphub.h>
#include <gtp.h>
#include <gtpie.h>
#define ZERO_STRUCT(struct_pointer) memset(struct_pointer, '\0', \
sizeof(*(struct_pointer)))