Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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-SMF
Commits
284aa70e
Commit
284aa70e
authored
Jun 05, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support FQDN Resolver
parent
036ddedb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
193 additions
and
51 deletions
+193
-51
src/smf_app/smf_app.hpp
src/smf_app/smf_app.hpp
+4
-3
src/smf_app/smf_config.cpp
src/smf_app/smf_config.cpp
+184
-48
src/smf_app/smf_config.hpp
src/smf_app/smf_config.hpp
+5
-0
No files found.
src/smf_app/smf_app.hpp
View file @
284aa70e
...
...
@@ -81,10 +81,10 @@ class smf_context_ref {
void
clear
()
{
supi
=
{};
nssai
=
{};
dnn
=
""
;
dnn
=
{}
;
pdu_session_id
=
0
;
amf_status_uri
=
""
;
amf_addr
=
""
;
amf_status_uri
=
{}
;
amf_addr
=
{}
;
upf_node_id
=
{};
}
...
...
@@ -214,6 +214,7 @@ class smf_app {
void
operator
=
(
smf_app
const
&
)
=
delete
;
void
test_dns
();
/*
* Set the association between Seid and SM Context
* @param [const seid_t &] seid: SessionID
...
...
src/smf_app/smf_config.cpp
View file @
284aa70e
This diff is collapsed.
Click to expand it.
src/smf_app/smf_config.hpp
View file @
284aa70e
...
...
@@ -137,6 +137,9 @@
"USE_LOCAL_SUBSCRIPTION_INFO"
#define SMF_CONFIG_STRING_NAS_FORCE_PUSH_PCO \
"FORCE_PUSH_PROTOCOL_CONFIGURATION_OPTIONS"
#define SMF_CONFIG_STRING_SUPPORT_FEATURES_USE_FQDN_DNS "USE_FQDN_DNS"
#define SMF_CONFIG_STRING_FQDN_DNS "FQDN"
#define SMF_MAX_ALLOCATED_PDN_ADDRESSES 1024
...
...
@@ -217,6 +220,7 @@ class smf_config {
bool
register_nrf
;
bool
discover_upf
;
bool
use_local_subscription_info
;
bool
use_fqdn_dns
;
struct
{
struct
in_addr
ipv4_addr
;
...
...
@@ -314,6 +318,7 @@ class smf_config {
use_local_subscription_info
=
false
;
register_nrf
=
false
;
discover_upf
=
false
;
use_fqdn_dns
=
false
;
};
~
smf_config
();
void
lock
()
{
m_rw_lock
.
lock
();
};
...
...
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