Introduce new header file sgsn/gtp.h

It will be used to store all stuff relatd to libgtp use and GTP
protocol, similar to what we already do for other protocols.

Change-Id: I4aae35cd0ea401856cd822cb507d668350d07a89
changes/68/30868/2
Pau Espin 2023-01-05 14:13:25 +01:00
parent df203361e8
commit 920c6c8c81
4 changed files with 7 additions and 3 deletions

View File

@ -21,6 +21,7 @@ noinst_HEADERS = \
gprs_sndcp_xid.h \
gprs_subscriber.h \
gprs_utils.h \
gtp.h \
gtphub.h \
gtp_ggsn.h \
gtp_mme.h \

View File

@ -460,9 +460,6 @@ struct gsm_auth_tuple *sgsn_auth_get_tuple(struct sgsn_mm_ctx *mmctx,
/* Called on subscriber data updates */
void sgsn_update_subscriber_data(struct sgsn_mm_ctx *mmctx);
struct sgsn_instance;
int sgsn_gtp_init(struct sgsn_instance *sgi);
void sgsn_rate_ctr_init();
#endif /* _GPRS_SGSN_H */

View File

@ -0,0 +1,5 @@
#pragma once
struct sgsn_instance;
int sgsn_gtp_init(struct sgsn_instance *sgi);

View File

@ -65,6 +65,7 @@
#include <osmocom/sgsn/gprs_ns.h>
#include <osmocom/sgsn/gprs_bssgp.h>
#include <osmocom/sgsn/gprs_subscriber.h>
#include <osmocom/sgsn/gtp.h>
#include <osmocom/ctrl/control_if.h>
#include <osmocom/ctrl/ports.h>