2019-04-27 14:54:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is part of Open5GS.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
#ifndef OGS_GTP_H
|
|
|
|
#define OGS_GTP_H
|
2017-03-23 11:57:55 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
#include "ogs-core.h"
|
2021-01-01 02:07:08 +00:00
|
|
|
#include "ipfw/ogs-ipfw.h"
|
2020-08-26 03:05:01 +00:00
|
|
|
#include "ogs-app.h"
|
2019-09-13 12:07:47 +00:00
|
|
|
|
|
|
|
#define OGS_GTPV1_U_UDP_PORT 2152
|
|
|
|
#define OGS_GTPV2_C_UDP_PORT 2123
|
|
|
|
|
|
|
|
#define OGS_GTP_INSIDE
|
|
|
|
|
|
|
|
#include "gtp/message.h"
|
|
|
|
#include "gtp/types.h"
|
|
|
|
#include "gtp/conv.h"
|
2021-03-15 01:01:55 +00:00
|
|
|
#include "gtp/context.h"
|
2020-03-25 21:43:02 +00:00
|
|
|
#include "gtp/build.h"
|
2019-09-13 12:07:47 +00:00
|
|
|
#include "gtp/path.h"
|
|
|
|
#include "gtp/xact.h"
|
2020-06-18 01:43:16 +00:00
|
|
|
#include "gtp/util.h"
|
2017-03-23 11:57:55 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2019-06-11 09:28:25 +00:00
|
|
|
#endif
|
2017-03-23 11:57:55 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
#undef OGS_GTP_INSIDE
|
2018-01-09 07:37:05 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
extern int __ogs_gtp_domain;
|
2017-12-07 04:27:17 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
#undef OGS_LOG_DOMAIN
|
|
|
|
#define OGS_LOG_DOMAIN __ogs_gtp_domain
|
2017-03-23 11:57:55 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2019-06-11 09:28:25 +00:00
|
|
|
#endif
|
2017-03-23 11:57:55 +00:00
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
#endif /* OGS_GTP_H */
|