Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
a49ad531
Commit
a49ad531
authored
Jul 29, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add header for CMakeLists
parent
4e07d96d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
239 additions
and
48 deletions
+239
-48
src/amf-app/CMakeLists.txt
src/amf-app/CMakeLists.txt
+21
-0
src/common/CMakeLists.txt
src/common/CMakeLists.txt
+21
-0
src/contexts/CMakeLists.txt
src/contexts/CMakeLists.txt
+21
-0
src/nas/common/3gpp_ts24501.hpp
src/nas/common/3gpp_ts24501.hpp
+35
-35
src/ngap/ngap_app/ngap_message_callback.hpp
src/ngap/ngap_app/ngap_message_callback.hpp
+15
-13
src/sbi/amf_server/CMakeLists.txt
src/sbi/amf_server/CMakeLists.txt
+21
-0
src/sbi/smf_client/CMakeLists.txt
src/sbi/smf_client/CMakeLists.txt
+21
-0
src/sctp/CMakeLists.txt
src/sctp/CMakeLists.txt
+21
-0
src/secu_algorithms/5gaka/CMakeLists.txt
src/secu_algorithms/5gaka/CMakeLists.txt
+21
-0
src/secu_algorithms/nas_enc_int/CMakeLists.txt
src/secu_algorithms/nas_enc_int/CMakeLists.txt
+21
-0
src/utils/CMakeLists.txt
src/utils/CMakeLists.txt
+21
-0
No files found.
src/amf-app/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/amf-app
)
include_directories
(
${
SRC_TOP_DIR
}
/amf-app
)
include_directories
(
${
SRC_TOP_DIR
}
/itti
)
include_directories
(
${
SRC_TOP_DIR
}
/itti
)
...
...
src/common/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
src/contexts/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/itti
)
include_directories
(
${
SRC_TOP_DIR
}
/itti
)
include_directories
(
${
SRC_TOP_DIR
}
/itti/msgs
)
include_directories
(
${
SRC_TOP_DIR
}
/itti/msgs
)
...
...
src/nas/common/3gpp_ts24501.hpp
View file @
a49ad531
src/ngap/ngap_app/ngap_message_callback.hpp
View file @
a49ad531
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
\email: contact@openairinterface.org
\email: contact@openairinterface.org
*/
*/
#ifndef _NGAP_MESSAGE_CALLBACK_H_
#define _NGAP_MESSAGE_CALLBACK_H_
#include "logger.hpp"
#include "logger.hpp"
#include "sctp_server.hpp"
#include "sctp_server.hpp"
#include "itti_msg_n2.hpp"
#include "itti_msg_n2.hpp"
...
@@ -39,7 +43,6 @@ using namespace sctp;
...
@@ -39,7 +43,6 @@ using namespace sctp;
using
namespace
ngap
;
using
namespace
ngap
;
extern
itti_mw
*
itti_inst
;
extern
itti_mw
*
itti_inst
;
typedef
int
(
*
ngap_message_decoded_callback
)(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
);
typedef
int
(
*
ngap_message_decoded_callback
)(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
);
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
@@ -186,7 +189,6 @@ int ngap_amf_handle_ue_context_release_complete(const sctp_assoc_id_t assoc_id,
...
@@ -186,7 +189,6 @@ int ngap_amf_handle_ue_context_release_complete(const sctp_assoc_id_t assoc_id,
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
int
ngap_amf_handle_pdu_session_resource_setup_response
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
int
ngap_amf_handle_pdu_session_resource_setup_response
(
const
sctp_assoc_id_t
assoc_id
,
const
sctp_stream_id_t
stream
,
struct
Ngap_NGAP_PDU
*
message_p
)
{
Logger
::
ngap
().
debug
(
"Sending itti pdu_session_resource_setup_response to TASK_AMF_N11"
);
Logger
::
ngap
().
debug
(
"Sending itti pdu_session_resource_setup_response to TASK_AMF_N11"
);
#if 1
PduSessionResourceSetupResponseMsg
*
pduresp
=
new
PduSessionResourceSetupResponseMsg
();
PduSessionResourceSetupResponseMsg
*
pduresp
=
new
PduSessionResourceSetupResponseMsg
();
if
(
!
pduresp
->
decodefrompdu
(
message_p
))
{
if
(
!
pduresp
->
decodefrompdu
(
message_p
))
{
Logger
::
ngap
().
error
(
"Decoding PduSessionResourceSetupResponseMsg message error"
);
Logger
::
ngap
().
error
(
"Decoding PduSessionResourceSetupResponseMsg message error"
);
...
@@ -209,21 +211,19 @@ int ngap_amf_handle_pdu_session_resource_setup_response(const sctp_assoc_id_t as
...
@@ -209,21 +211,19 @@ int ngap_amf_handle_pdu_session_resource_setup_response(const sctp_assoc_id_t as
if
(
0
!=
ret
)
{
if
(
0
!=
ret
)
{
Logger
::
ngap
().
error
(
"Could not send ITTI message %s to task TASK_AMF_N11"
,
i
->
get_msg_name
());
Logger
::
ngap
().
error
(
"Could not send ITTI message %s to task TASK_AMF_N11"
,
i
->
get_msg_name
());
}
}
#endif
return
0
;
return
0
;
}
}
//------------------------------------------------------------------------------
ngap_message_decoded_callback
messages_callback
[][
3
]
=
{
{
0
,
0
,
0
},
/*0 AMFConfigurationUpdate*/
ngap_message_decoded_callback
messages_callback
[][
3
]
=
{
{
0
,
0
,
0
},
/*0 AMFConfigurationUpdate*/
{
0
,
0
,
0
},
/*1 AMFStatusIndication*/
{
0
,
0
,
0
},
/*1 AMFStatusIndication*/
{
0
,
0
,
0
},
/*2 CellTrafficTrace*/
{
0
,
0
,
0
},
/*2 CellTrafficTrace*/
{
0
,
0
,
0
},
/*3 DeactivateTrace*/
{
0
,
0
,
0
},
/*3 DeactivateTrace*/
{
0
,
0
,
0
},
/*4 DownlinkNASTransport*/
{
0
,
0
,
0
},
/*4 DownlinkNASTransport*/
{
0
,
0
,
0
},
/*5 DownlinkNonUEAssociatedNRPPaTransport*/
{
0
,
0
,
0
},
/*5 DownlinkNonUEAssociatedNRPPaTransport*/
{
0
,
0
,
0
},
/*6 DownlinkRANConfigurationTransfer*/
{
0
,
0
,
0
},
/*6 DownlinkRANConfigurationTransfer*/
{
0
,
0
,
0
},
/*7 DownlinkRANStatusTransfer*/
{
0
,
0
,
0
},
/*7 DownlinkRANStatusTransfer*/
{
0
,
0
,
0
},
/*8 DownlinkUEAssociatedNRPPaTransport*/
{
0
,
0
,
0
},
/*8 DownlinkUEAssociatedNRPPaTransport*/
{
0
,
0
,
0
},
//9 {ngap_amf_handle_error_indication,0,0}, /*ErrorIndication*/
{
0
,
0
,
0
},
//9 {ngap_amf_handle_error_indication,0,0}, /*ErrorIndication*/
{
0
,
0
,
0
},
/*10 HandoverCancel*/
{
0
,
0
,
0
},
/*10 HandoverCancel*/
{
0
,
0
,
0
},
/*11 HandoverNotification*/
{
0
,
0
,
0
},
/*11 HandoverNotification*/
{
0
,
0
,
0
},
/*12 HandoverPreparation*/
{
0
,
0
,
0
},
/*12 HandoverPreparation*/
...
@@ -275,3 +275,5 @@ ngap_message_decoded_callback messages_callback[][3] = { { 0, 0, 0 }, /*0 AMFCon
...
@@ -275,3 +275,5 @@ ngap_message_decoded_callback messages_callback[][3] = { { 0, 0, 0 }, /*0 AMFCon
{
0
,
0
,
0
},
/*WriteReplaceWarning*/
{
0
,
0
,
0
},
/*WriteReplaceWarning*/
{
0
,
0
,
0
}
/*WriteReplaceWarning*/
{
0
,
0
,
0
}
/*WriteReplaceWarning*/
};
};
#endif
src/sbi/amf_server/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
set
(
AMF_API_SERVER_DIR
"
${
SRC_TOP_DIR
}
/sbi/amf_server"
)
set
(
AMF_API_SERVER_DIR
"
${
SRC_TOP_DIR
}
/sbi/amf_server"
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
...
...
src/sbi/smf_client/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
src/sctp/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
src/secu_algorithms/5gaka/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
src/secu_algorithms/nas_enc_int/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
src/utils/CMakeLists.txt
View file @
a49ad531
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/../build/ext/spdlog/include
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
include_directories
(
${
SRC_TOP_DIR
}
/common/unicode
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment