rename project done

This commit is contained in:
Sukchan Lee 2019-06-11 22:10:47 +09:00
parent 75a18a30cf
commit 477f16ad0b
114 changed files with 266 additions and 288 deletions

View File

@ -3,8 +3,8 @@
noinst_LTLIBRARIES = libhss.la noinst_LTLIBRARIES = libhss.la
libhss_la_SOURCES = \ libhss_la_SOURCES = \
milenage.h hss_auc.h hss_context.h hss_fd_path.h \ milenage.h hss-auc.h hss-context.h hss-fd-path.h \
milenage.c hss_auc.c hss_init.c hss_context.c hss_fd_path.c \ milenage.c hss-auc.c hss-init.c hss-context.c hss-fd-path.c \
$(NULL) $(NULL)
libhss_la_DEPENDENCIES = \ libhss_la_DEPENDENCIES = \

View File

@ -1,7 +1,7 @@
#include "ogs-crypt.h" #include "ogs-crypt.h"
#include "base/types.h" #include "base/types.h"
#include "hss_auc.h" #include "hss-auc.h"
#include "milenage.h" #include "milenage.h"
#define FC_VALUE 0x10 #define FC_VALUE 0x10

View File

@ -4,7 +4,7 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "app/context.h" #include "app/context.h"
#include "hss_context.h" #include "hss-context.h"
static hss_context_t self; static hss_context_t self;
static fd_config_t g_fd_conf; static fd_config_t g_fd_conf;

View File

@ -4,8 +4,8 @@
#include "fd/s6a/s6a-dict.h" #include "fd/s6a/s6a-dict.h"
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "hss_context.h" #include "hss-context.h"
#include "hss_auc.h" #include "hss-auc.h"
#include "milenage.h" #include "milenage.h"
/* handler for fallback cb */ /* handler for fallback cb */

View File

@ -1,7 +1,7 @@
#include "app/context.h" #include "app/context.h"
#include "hss_context.h" #include "hss-context.h"
#include "hss_fd_path.h" #include "hss-fd-path.h"
static int initialized = 0; static int initialized = 0;

View File

@ -3,27 +3,27 @@
noinst_LTLIBRARIES = libmme.la noinst_LTLIBRARIES = libmme.la
libmme_la_SOURCES = \ libmme_la_SOURCES = \
mme_kdf.h kasumi.h snow_3g.h zuc.h \ mme-kdf.h kasumi.h snow-3g.h zuc.h \
mme_event.h mme_context.h \ mme-event.h mme-context.h \
s1ap_build.h s1ap_handler.h s1ap_conv.h s1ap-path.h \ s1ap-build.h s1ap-handler.h s1ap-conv.h s1ap-path.h \
ogs-sctp.h \ ogs-sctp.h \
mme_fd_path.h mme_s6a_handler.h \ mme-fd-path.h mme-s6a-handler.h \
nas_conv.h nas_security.h nas_path.h \ nas-conv.h nas-security.h nas-path.h \
emm_handler.h emm_build.h \ emm-handler.h emm-build.h \
esm_handler.h esm_build.h \ esm-handler.h esm-build.h \
mme_gtp_path.h mme_s11_build.h mme_s11_handler.h \ mme-gtp-path.h mme-s11-build.h mme-s11-handler.h \
mme_sm.h mme_path.h \ mme-sm.h mme-path.h \
mme_kdf.c kasumi.c snow_3g.c zuc.c \ mme-kdf.c kasumi.c snow-3g.c zuc.c \
mme_init.c mme_event.c mme_context.c \ mme-init.c mme-event.c mme-context.c \
s1ap_sm.c s1ap_build.c s1ap_handler.c s1ap_conv.c s1ap-path.c \ s1ap-sm.c s1ap-build.c s1ap-handler.c s1ap-conv.c s1ap-path.c \
ogs-sctp.c \ ogs-sctp.c \
mme_fd_path.c mme_s6a_handler.c \ mme-fd-path.c mme-s6a-handler.c \
nas_conv.c nas_security.c nas_path.c \ nas-conv.c nas-security.c nas-path.c \
emm_sm.c emm_handler.c emm_build.c \ emm-sm.c emm-handler.c emm-build.c \
esm_sm.c esm_handler.c esm_build.c \ esm-sm.c esm-handler.c esm-build.c \
mme_gtp_path.c mme_s11_build.c mme_s11_handler.c \ mme-gtp-path.c mme-s11-build.c mme-s11-handler.c \
mme_sm.c mme_path.c \ mme-sm.c mme-path.c \
sbc_message.h sbc_handler.h sbc_handler.c \ sbc-message.h sbc-handler.h sbc-handler.c \
$(NULL) $(NULL)
if WITH_USRSCTP if WITH_USRSCTP

View File

@ -1,8 +1,8 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "nas_security.h" #include "nas-security.h"
#include "mme_kdf.h" #include "mme-kdf.h"
#include "emm_build.h" #include "emm-build.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __emm_log_domain #define OGS_LOG_DOMAIN __emm_log_domain

View File

@ -1,7 +1,7 @@
#ifndef __EMM_BUILD_H__ #ifndef __EMM_BUILD_H__
#define __EMM_BUILD_H__ #define __EMM_BUILD_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,17 +1,17 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_kdf.h" #include "mme-kdf.h"
#include "nas_security.h" #include "nas-security.h"
#include "nas_conv.h" #include "nas-conv.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "emm_handler.h" #include "emm-handler.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __emm_log_domain #define OGS_LOG_DOMAIN __emm_log_domain

View File

@ -3,7 +3,7 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -2,18 +2,18 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_kdf.h" #include "mme-kdf.h"
#include "s1ap_handler.h" #include "s1ap-handler.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "emm_handler.h" #include "emm-handler.h"
#include "emm_build.h" #include "emm-build.h"
#include "esm_handler.h" #include "esm-handler.h"
#include "nas_path.h" #include "nas-path.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "mme_path.h" #include "mme-path.h"
#include "mme_sm.h" #include "mme-sm.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __emm_log_domain #define OGS_LOG_DOMAIN __emm_log_domain

View File

@ -1,8 +1,8 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "nas_security.h" #include "nas-security.h"
#include "esm_build.h" #include "esm-build.h"
#include "mme_sm.h" #include "mme-sm.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __esm_log_domain #define OGS_LOG_DOMAIN __esm_log_domain

View File

@ -1,7 +1,7 @@
#ifndef __ESM_BUILD_H__ #ifndef __ESM_BUILD_H__
#define __ESM_BUILD_H__ #define __ESM_BUILD_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,10 +1,10 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "mme_context.h" #include "mme-context.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "esm_build.h" #include "esm-build.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __esm_log_domain #define OGS_LOG_DOMAIN __esm_log_domain

View File

@ -3,7 +3,7 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,14 +1,14 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_sm.h" #include "mme-sm.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "emm_handler.h" #include "emm-handler.h"
#include "esm_build.h" #include "esm-build.h"
#include "esm_handler.h" #include "esm-handler.h"
#include "mme_s11_handler.h" #include "mme-s11-handler.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#undef OGS_LOG_DOMAIN #undef OGS_LOG_DOMAIN
#define OGS_LOG_DOMAIN __esm_log_domain #define OGS_LOG_DOMAIN __esm_log_domain

View File

@ -10,12 +10,12 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "app/context.h" #include "app/context.h"
#include "nas_conv.h" #include "nas-conv.h"
#include "mme_context.h" #include "mme-context.h"
#include "mme_event.h" #include "mme-event.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "s1ap_handler.h" #include "s1ap-handler.h"
#include "mme_sm.h" #include "mme-sm.h"
#define MAX_CELL_PER_ENB 8 #define MAX_CELL_PER_ENB 8

View File

@ -1,5 +1,5 @@
#include "mme_event.h" #include "mme-event.h"
#include "mme_context.h" #include "mme-context.h"
#include "s1ap-path.h" #include "s1ap-path.h"

View File

@ -2,8 +2,8 @@
#include "fd/s6a/s6a-dict.h" #include "fd/s6a/s6a-dict.h"
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
static struct session_handler *mme_s6a_reg = NULL; static struct session_handler *mme_s6a_reg = NULL;

View File

@ -1,7 +1,7 @@
#ifndef __MME_FD_PATH_H__ #ifndef __MME_FD_PATH_H__
#define __MME_FD_PATH_H__ #define __MME_FD_PATH_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -2,10 +2,10 @@
#include "gtp/gtp-path.h" #include "gtp/gtp-path.h"
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "mme_s11_build.h" #include "mme-s11-build.h"
#include "mme_sm.h" #include "mme-sm.h"
static void _gtpv2_c_recv_cb(short when, ogs_socket_t fd, void *data) static void _gtpv2_c_recv_cb(short when, ogs_socket_t fd, void *data)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __MME_S11_PATH_H__ #ifndef __MME_S11_PATH_H__
#define __MME_S11_PATH_H__ #define __MME_S11_PATH_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -3,11 +3,11 @@
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "app/context.h" #include "app/context.h"
#include "mme_context.h" #include "mme-context.h"
#include "mme_sm.h" #include "mme-sm.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "s1ap-path.h" #include "s1ap-path.h"
static ogs_thread_t *thread; static ogs_thread_t *thread;

View File

@ -1,7 +1,7 @@
#include "s1ap-path.h" #include "s1ap-path.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "mme_path.h" #include "mme-path.h"
int mme_send_delete_session_or_detach(mme_ue_t *mme_ue) int mme_send_delete_session_or_detach(mme_ue_t *mme_ue)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __MME_PATH_H__ #ifndef __MME_PATH_H__
#define __MME_PATH_H__ #define __MME_PATH_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -3,9 +3,9 @@
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "gtp/gtp-node.h" #include "gtp/gtp-node.h"
#include "mme_context.h" #include "mme-context.h"
#include "mme_s11_build.h" #include "mme-s11-build.h"
int mme_s11_build_create_session_request( int mme_s11_build_create_session_request(
ogs_pkbuf_t **pkbuf, uint8_t type, mme_sess_t *sess) ogs_pkbuf_t **pkbuf, uint8_t type, mme_sess_t *sess)

View File

@ -2,17 +2,17 @@
#include "gtp/gtp-conv.h" #include "gtp/gtp-conv.h"
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_sm.h" #include "mme-sm.h"
#include "mme_context.h" #include "mme-context.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "mme_s11_build.h" #include "mme-s11-build.h"
#include "mme_s11_handler.h" #include "mme-s11-handler.h"
void mme_s11_handle_create_session_response( void mme_s11_handle_create_session_response(
gtp_xact_t *xact, mme_ue_t *mme_ue, gtp_create_session_response_t *rsp) gtp_xact_t *xact, mme_ue_t *mme_ue, gtp_create_session_response_t *rsp)

View File

@ -3,7 +3,7 @@
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,9 +1,9 @@
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "nas_path.h" #include "nas-path.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "mme_sm.h" #include "mme-sm.h"
#include "mme_s6a_handler.h" #include "mme-s6a-handler.h"
void mme_s6a_handle_aia(mme_ue_t *mme_ue, s6a_aia_message_t *aia_message) void mme_s6a_handle_aia(mme_ue_t *mme_ue, s6a_aia_message_t *aia_message)
{ {

View File

@ -2,7 +2,7 @@
#define __MME_S6A_HANDLER_H__ #define __MME_S6A_HANDLER_H__
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -3,20 +3,20 @@
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_sm.h" #include "mme-sm.h"
#include "s1ap_handler.h" #include "s1ap-handler.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "nas_security.h" #include "nas-security.h"
#include "nas_path.h" #include "nas-path.h"
#include "emm_handler.h" #include "emm-handler.h"
#include "esm_handler.h" #include "esm-handler.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "mme_s11_handler.h" #include "mme-s11-handler.h"
#include "mme_fd_path.h" #include "mme-fd-path.h"
#include "mme_s6a_handler.h" #include "mme-s6a-handler.h"
#include "mme_path.h" #include "mme-path.h"
void mme_state_initial(ogs_fsm_t *s, mme_event_t *e) void mme_state_initial(ogs_fsm_t *s, mme_event_t *e)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __MME_SM_H__ #ifndef __MME_SM_H__
#define __MME_SM_H__ #define __MME_SM_H__
#include "mme_event.h" #include "mme-event.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,4 +1,4 @@
#include "nas_conv.h" #include "nas-conv.h"
void nas_imsi_to_bcd( void nas_imsi_to_bcd(
nas_mobile_identity_imsi_t *imsi, uint8_t imsi_len, char *bcd) nas_mobile_identity_imsi_t *imsi, uint8_t imsi_len, char *bcd)

View File

@ -1,10 +1,10 @@
#include "s1ap-path.h" #include "s1ap-path.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "esm_build.h" #include "esm-build.h"
#include "emm_build.h" #include "emm-build.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_sm.h" #include "mme-sm.h"
int nas_send_to_enb(mme_ue_t *mme_ue, ogs_pkbuf_t *pkbuf) int nas_send_to_enb(mme_ue_t *mme_ue, ogs_pkbuf_t *pkbuf)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __NAS_PATH_H__ #ifndef __NAS_PATH_H__
#define __NAS_PATH_H__ #define __NAS_PATH_H__
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,5 +1,5 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "nas_security.h" #include "nas-security.h"
int nas_security_encode( int nas_security_encode(
ogs_pkbuf_t **pkbuf, mme_ue_t *mme_ue, nas_message_t *message) ogs_pkbuf_t **pkbuf, mme_ue_t *mme_ue, nas_message_t *message)

View File

@ -3,8 +3,8 @@
#include "ogs-crypt.h" #include "ogs-crypt.h"
#include "mme_context.h" #include "mme-context.h"
#include "snow_3g.h" #include "snow-3g.h"
#include "zuc.h" #include "zuc.h"
#define NAS_SECURITY_BEARER 0 #define NAS_SECURITY_BEARER 0

View File

@ -1,10 +1,10 @@
#include "fd/s6a/s6a-message.h" #include "fd/s6a/s6a-message.h"
#include "mme_context.h" #include "mme-context.h"
#include "mme_kdf.h" #include "mme-kdf.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "s1ap_conv.h" #include "s1ap-conv.h"
int s1ap_build_setup_rsp(ogs_pkbuf_t **pkbuf) int s1ap_build_setup_rsp(ogs_pkbuf_t **pkbuf)
{ {

View File

@ -2,9 +2,9 @@
#define __S1AP_BUILD_H__ #define __S1AP_BUILD_H__
#include "asn1c/s1ap-message.h" #include "asn1c/s1ap-message.h"
#include "mme_context.h" #include "mme-context.h"
#include "sbc_message.h" #include "sbc-message.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,5 +1,5 @@
#include "base/types.h" #include "base/types.h"
#include "s1ap_conv.h" #include "s1ap-conv.h"
void s1ap_uint8_to_OCTET_STRING(uint8_t uint8, OCTET_STRING_t *octet_string) void s1ap_uint8_to_OCTET_STRING(uint8_t uint8, OCTET_STRING_t *octet_string)
{ {

View File

@ -1,17 +1,17 @@
#include "mme_event.h" #include "mme-event.h"
#include "mme_kdf.h" #include "mme-kdf.h"
#include "s1ap_conv.h" #include "s1ap-conv.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "nas_path.h" #include "nas-path.h"
#include "mme_gtp_path.h" #include "mme-gtp-path.h"
#include "mme_s11_build.h" #include "mme-s11-build.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "s1ap_handler.h" #include "s1ap-handler.h"
#include "mme_path.h" #include "mme-path.h"
#include "mme_sm.h" #include "mme-sm.h"
void s1ap_handle_s1_setup_request(mme_enb_t *enb, s1ap_message_t *message) void s1ap_handle_s1_setup_request(mme_enb_t *enb, s1ap_message_t *message)
{ {

View File

@ -3,7 +3,7 @@
#include "asn1c/s1ap-message.h" #include "asn1c/s1ap-message.h"
#include "mme_context.h" #include "mme-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -18,7 +18,7 @@
*/ */
#include "ogs-sctp.h" #include "ogs-sctp.h"
#include "mme_event.h" #include "mme-event.h"
#include "s1ap-path.h" #include "s1ap-path.h"
static void accept_handler(short when, ogs_socket_t fd, void *data); static void accept_handler(short when, ogs_socket_t fd, void *data);

View File

@ -20,13 +20,13 @@
#include "ogs-sctp.h" #include "ogs-sctp.h"
#include "app/context.h" #include "app/context.h"
#include "mme_event.h" #include "mme-event.h"
#include "nas_security.h" #include "nas-security.h"
#include "nas_path.h" #include "nas-path.h"
#include "s1ap_conv.h" #include "s1ap-conv.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "s1ap-path.h" #include "s1ap-path.h"
int s1ap_open(void) int s1ap_open(void)

View File

@ -20,7 +20,7 @@
#ifndef S1AP_PATH_H #ifndef S1AP_PATH_H
#define S1AP_PATH_H #define S1AP_PATH_H
#include "mme_context.h" #include "mme-context.h"
#include "asn1c/s1ap-message.h" #include "asn1c/s1ap-message.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -1,11 +1,11 @@
#include "nas/nas-message.h" #include "nas/nas-message.h"
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "s1ap_handler.h" #include "s1ap-handler.h"
#include "mme_event.h" #include "mme-event.h"
#include "mme_sm.h" #include "mme-sm.h"
void s1ap_state_initial(ogs_fsm_t *s, mme_event_t *e) void s1ap_state_initial(ogs_fsm_t *s, mme_event_t *e)
{ {

View File

@ -18,7 +18,7 @@
*/ */
#include "ogs-sctp.h" #include "ogs-sctp.h"
#include "mme_event.h" #include "mme-event.h"
#include "s1ap-path.h" #include "s1ap-path.h"
int s1ap_usrsctp_recv_handler(struct socket *sock, int s1ap_usrsctp_recv_handler(struct socket *sock,

View File

@ -1,7 +1,7 @@
#include "mme_context.h" #include "mme-context.h"
#include "s1ap-path.h" #include "s1ap-path.h"
#include "s1ap_build.h" #include "s1ap-build.h"
#include "sbc_handler.h" #include "sbc-handler.h"
void sbc_handle_write_replace_warning_request(sbc_pws_data_t *sbc_pws) void sbc_handle_write_replace_warning_request(sbc_pws_data_t *sbc_pws)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __SBC_HANDLER_H__ #ifndef __SBC_HANDLER_H__
#define __SBC_HANDLER_H__ #define __SBC_HANDLER_H__
#include "sbc_message.h" #include "sbc-message.h"
/* SBc-AP handles */ /* SBc-AP handles */

View File

@ -2,7 +2,7 @@
* SNOW_3G.c * SNOW_3G.c
*------------------------------------------------------------------------*/ *------------------------------------------------------------------------*/
#include "snow_3g.h" #include "snow-3g.h"
/* LFSR */ /* LFSR */

View File

@ -3,8 +3,8 @@
noinst_LTLIBRARIES = libpcrf.la noinst_LTLIBRARIES = libpcrf.la
libpcrf_la_SOURCES = \ libpcrf_la_SOURCES = \
pcrf_context.h pcrf_fd_path.h \ pcrf-context.h pcrf-fd-path.h \
pcrf_init.c pcrf_context.c pcrf_fd_path.c pcrf_gx_path.c pcrf_rx_path.c \ pcrf-init.c pcrf-context.c pcrf-fd-path.c pcrf-gx-path.c pcrf-rx-path.c \
$(NULL) $(NULL)
libpcrf_la_DEPENDENCIES = \ libpcrf_la_DEPENDENCIES = \

View File

@ -4,7 +4,7 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "app/context.h" #include "app/context.h"
#include "pcrf_context.h" #include "pcrf-context.h"
static pcrf_context_t self; static pcrf_context_t self;
static fd_config_t g_fd_conf; static fd_config_t g_fd_conf;

View File

@ -1,7 +1,7 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "pcrf_context.h" #include "pcrf-context.h"
#include "pcrf_fd_path.h" #include "pcrf-fd-path.h"
int pcrf_fd_init(void) int pcrf_fd_init(void)
{ {

View File

@ -4,8 +4,8 @@
#include "fd/gx/gx-message.h" #include "fd/gx/gx-message.h"
#include "fd/rx/rx-message.h" #include "fd/rx/rx-message.h"
#include "pcrf_context.h" #include "pcrf-context.h"
#include "pcrf_fd_path.h" #include "pcrf-fd-path.h"
struct rx_sess_state { struct rx_sess_state {
ogs_lnode_t node; ogs_lnode_t node;

View File

@ -1,6 +1,6 @@
#include "app/context.h" #include "app/context.h"
#include "pcrf_context.h" #include "pcrf-context.h"
#include "pcrf_fd_path.h" #include "pcrf-fd-path.h"
static int initialized = 0; static int initialized = 0;

View File

@ -2,8 +2,8 @@
#include "fd/rx/rx-dict.h" #include "fd/rx/rx-dict.h"
#include "fd/rx/rx-message.h" #include "fd/rx/rx-message.h"
#include "pcrf_context.h" #include "pcrf-context.h"
#include "pcrf_fd_path.h" #include "pcrf-fd-path.h"
struct sess_state { struct sess_state {
os0_t rx_sid; /* Rx Session-Id */ os0_t rx_sid; /* Rx Session-Id */

View File

@ -4,14 +4,14 @@ noinst_LTLIBRARIES = libpgw.la
libpgw_la_SOURCES = \ libpgw_la_SOURCES = \
ogs-tun.h ogs-tun.c \ ogs-tun.h ogs-tun.c \
pgw_ipfw.h \ pgw-ipfw.h \
pgw_event.h pgw_context.h pgw_sm.h \ pgw-event.h pgw-context.h pgw-sm.h \
pgw_gtp_path.h pgw_s5c_build.h pgw_s5c_handler.h \ pgw-gtp-path.h pgw-s5c-build.h pgw-s5c-handler.h \
pgw_fd_path.h pgw_gx_handler.h \ pgw-fd-path.h pgw-gx-handler.h \
pgw_ipfw.c \ pgw-ipfw.c \
pgw_init.c pgw_event.c pgw_context.c pgw_sm.c \ pgw-init.c pgw-event.c pgw-context.c pgw-sm.c \
pgw_gtp_path.c pgw_s5c_build.c pgw_s5c_handler.c \ pgw-gtp-path.c pgw-s5c-build.c pgw-s5c-handler.c \
pgw_fd_path.c pgw_gx_handler.c \ pgw-fd-path.c pgw-gx-handler.c \
$(NULL) $(NULL)
libpgw_la_DEPENDENCIES = \ libpgw_la_DEPENDENCIES = \

View File

@ -10,7 +10,7 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "app/context.h" #include "app/context.h"
#include "pgw_context.h" #include "pgw-context.h"
static pgw_context_t self; static pgw_context_t self;
static fd_config_t g_fd_conf; static fd_config_t g_fd_conf;

View File

@ -1,5 +1,5 @@
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_context.h" #include "pgw-context.h"
#if defined(HAVE_KQUEUE) #if defined(HAVE_KQUEUE)
/* /*

View File

@ -4,8 +4,8 @@
#include "fd/gx/gx-dict.h" #include "fd/gx/gx-dict.h"
#include "fd/gx/gx-message.h" #include "fd/gx/gx-message.h"
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_fd_path.h" #include "pgw-fd-path.h"
static struct session_handler *pgw_gx_reg = NULL; static struct session_handler *pgw_gx_reg = NULL;
static struct disp_hdl *hdl_gx_fb = NULL; static struct disp_hdl *hdl_gx_fb = NULL;

View File

@ -1,7 +1,7 @@
#ifndef __PGW_FD_PATH_H__ #ifndef __PGW_FD_PATH_H__
#define __PGW_FD_PATH_H__ #define __PGW_FD_PATH_H__
#include "pgw_context.h" #include "pgw-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -20,10 +20,10 @@
#include "gtp/gtp-path.h" #include "gtp/gtp-path.h"
#include "app/context.h" #include "app/context.h"
#include "pgw_context.h" #include "pgw-context.h"
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_gtp_path.h" #include "pgw-gtp-path.h"
#include "pgw_ipfw.h" #include "pgw-ipfw.h"
#define PGW_GTP_HANDLED 1 #define PGW_GTP_HANDLED 1

View File

@ -1,8 +1,8 @@
#include "pgw_context.h" #include "pgw-context.h"
#include "fd/gx/gx-message.h" #include "fd/gx/gx-message.h"
#include "pgw_gtp_path.h" #include "pgw-gtp-path.h"
#include "pgw_s5c_build.h" #include "pgw-s5c-build.h"
#include "pgw_ipfw.h" #include "pgw-ipfw.h"
static int bearer_binding(pgw_sess_t *sess, gx_message_t *gx_message); static int bearer_binding(pgw_sess_t *sess, gx_message_t *gx_message);

View File

@ -3,7 +3,7 @@
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "pgw_context.h" #include "pgw-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,11 +1,11 @@
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "app/context.h" #include "app/context.h"
#include "pgw_context.h" #include "pgw-context.h"
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_sm.h" #include "pgw-sm.h"
#include "pgw_fd_path.h" #include "pgw-fd-path.h"
static ogs_thread_t *thread; static ogs_thread_t *thread;
static void pgw_main(void *data); static void pgw_main(void *data);

View File

@ -11,7 +11,7 @@
#include <netinet/ip6.h> #include <netinet/ip6.h>
#endif #endif
#include "pgw_context.h" #include "pgw-context.h"
#include "ipfw/ipfw2.h" #include "ipfw/ipfw2.h"
#include "ipfw/objs/include_e/netinet/ip_fw.h" #include "ipfw/objs/include_e/netinet/ip_fw.h"

View File

@ -1,7 +1,7 @@
#ifndef __PGW_IPFW_H__ #ifndef __PGW_IPFW_H__
#define __PGW_IPFW_H__ #define __PGW_IPFW_H__
#include "pgw_context.h" #include "pgw-context.h"
int pgw_compile_packet_filter(pgw_rule_t *pf, char *description); int pgw_compile_packet_filter(pgw_rule_t *pf, char *description);
pgw_bearer_t *pgw_bearer_find_by_packet(ogs_pkbuf_t *pkt); pgw_bearer_t *pgw_bearer_find_by_packet(ogs_pkbuf_t *pkt);

View File

@ -6,7 +6,7 @@
#include "ipfw/ipfw2.h" #include "ipfw/ipfw2.h"
#include "pgw_context.h" #include "pgw-context.h"
static int16_t pgw_pco_build(uint8_t *pco_buf, tlv_pco_t *tlv_pco); static int16_t pgw_pco_build(uint8_t *pco_buf, tlv_pco_t *tlv_pco);

View File

@ -3,10 +3,10 @@
#include "gtp/gtp-path.h" #include "gtp/gtp-path.h"
#include "app/context.h" #include "app/context.h"
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_context.h" #include "pgw-context.h"
#include "pgw_gtp_path.h" #include "pgw-gtp-path.h"
#include "pgw_s5c_handler.h" #include "pgw-s5c-handler.h"
void pgw_s5c_handle_create_session_request( void pgw_s5c_handle_create_session_request(
pgw_sess_t *sess, gtp_xact_t *xact, gtp_create_session_request_t *req) pgw_sess_t *sess, gtp_xact_t *xact, gtp_create_session_request_t *req)

View File

@ -3,7 +3,7 @@
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "pgw_context.h" #include "pgw-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -2,13 +2,13 @@
#include "fd/fd-lib.h" #include "fd/fd-lib.h"
#include "fd/gx/gx-message.h" #include "fd/gx/gx-message.h"
#include "pgw_sm.h" #include "pgw-sm.h"
#include "pgw_context.h" #include "pgw-context.h"
#include "pgw_event.h" #include "pgw-event.h"
#include "pgw_gtp_path.h" #include "pgw-gtp-path.h"
#include "pgw_s5c_handler.h" #include "pgw-s5c-handler.h"
#include "pgw_gx_handler.h" #include "pgw-gx-handler.h"
#include "pgw_fd_path.h" #include "pgw-fd-path.h"
void pgw_state_initial(ogs_fsm_t *s, pgw_event_t *e) void pgw_state_initial(ogs_fsm_t *s, pgw_event_t *e)
{ {

View File

@ -1,7 +1,7 @@
#ifndef __PGW_SM_H__ #ifndef __PGW_SM_H__
#define __PGW_SM_H__ #define __PGW_SM_H__
#include "pgw_event.h" #include "pgw-event.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -5,10 +5,10 @@ noinst_LTLIBRARIES = libsgw.la
SUBDIR = gtp SUBDIR = gtp
libsgw_la_SOURCES = \ libsgw_la_SOURCES = \
sgw_event.h sgw_context.h \ sgw-event.h sgw-context.h \
sgw_gtp_path.h sgw_sm.h sgw_s11_handler.h sgw_s5c_handler.h \ sgw-gtp-path.h sgw-sm.h sgw-s11-handler.h sgw-s5c-handler.h \
sgw_init.c sgw_event.c sgw_context.c \ sgw-init.c sgw-event.c sgw-context.c \
sgw_gtp_path.c sgw_sm.c sgw_s11_handler.c sgw_s5c_handler.c \ sgw-gtp-path.c sgw-sm.c sgw-s11-handler.c sgw-s5c-handler.c \
$(NULL) $(NULL)
libsgw_la_DEPENDENCIES = \ libsgw_la_DEPENDENCIES = \

View File

@ -8,7 +8,7 @@
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "app/context.h" #include "app/context.h"
#include "sgw_context.h" #include "sgw-context.h"
static sgw_context_t self; static sgw_context_t self;

View File

@ -1,5 +1,5 @@
#include "sgw_event.h" #include "sgw-event.h"
#include "sgw_context.h" #include "sgw-context.h"
static OGS_POOL(pool, sgw_event_t); static OGS_POOL(pool, sgw_event_t);

View File

@ -3,9 +3,9 @@
#include "gtp/gtp-path.h" #include "gtp/gtp-path.h"
#include "app/context.h" #include "app/context.h"
#include "sgw_context.h" #include "sgw-context.h"
#include "sgw_event.h" #include "sgw-event.h"
#include "sgw_gtp_path.h" #include "sgw-gtp-path.h"
static ogs_pkbuf_pool_t *packet_pool = NULL; static ogs_pkbuf_pool_t *packet_pool = NULL;

View File

@ -1,9 +1,9 @@
#include "gtp/gtp-xact.h" #include "gtp/gtp-xact.h"
#include "app/context.h" #include "app/context.h"
#include "sgw_context.h" #include "sgw-context.h"
#include "sgw_sm.h" #include "sgw-sm.h"
#include "sgw_event.h" #include "sgw-event.h"
static ogs_thread_t *thread; static ogs_thread_t *thread;
static void sgw_main(void *data); static void sgw_main(void *data);

View File

@ -4,10 +4,10 @@
#include "gtp/gtp-path.h" #include "gtp/gtp-path.h"
#include "app/context.h" #include "app/context.h"
#include "sgw_event.h" #include "sgw-event.h"
#include "sgw_context.h" #include "sgw-context.h"
#include "sgw_gtp_path.h" #include "sgw-gtp-path.h"
#include "sgw_s11_handler.h" #include "sgw-s11-handler.h"
void sgw_s11_handle_create_session_request( void sgw_s11_handle_create_session_request(
gtp_xact_t *s11_xact, sgw_ue_t *sgw_ue, gtp_message_t *gtp_message) gtp_xact_t *s11_xact, sgw_ue_t *sgw_ue, gtp_message_t *gtp_message)

View File

@ -3,7 +3,7 @@
#include "gtp/gtp-message.h" #include "gtp/gtp-message.h"
#include "sgw_context.h" #include "sgw-context.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

Some files were not shown because too many files have changed in this diff Show More