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
6010b358
Commit
6010b358
authored
Jan 09, 2023
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup for 5GS Mobile Identity
parent
b9e37eb1
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
367 additions
and
381 deletions
+367
-381
src/nas/ies/5GSMobileIdentity.cpp
src/nas/ies/5GSMobileIdentity.cpp
+364
-377
src/nas/ies/5GSMobileIdentity.hpp
src/nas/ies/5GSMobileIdentity.hpp
+3
-4
No files found.
src/nas/ies/5GSMobileIdentity.cpp
View file @
6010b358
This diff is collapsed.
Click to expand it.
src/nas/ies/5GSMobileIdentity.hpp
View file @
6010b358
...
@@ -99,8 +99,8 @@ class _5GSMobileIdentity : public Type6NasIe {
...
@@ -99,8 +99,8 @@ class _5GSMobileIdentity : public Type6NasIe {
int
decodeFromBuffer
(
uint8_t
*
buf
,
int
len
,
bool
is_iei
);
int
decodeFromBuffer
(
uint8_t
*
buf
,
int
len
,
bool
is_iei
);
// 5G GUTI
// 5G GUTI
int
_5g_guti_decodefrombuffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_guti_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_guti_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_guti_decodefrombuffer
(
uint8_t
*
buf
,
int
len
);
void
set5GGUTI
(
void
set5GGUTI
(
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
uint8_t
&
amf_region_id
,
const
uint16_t
&
amf_set_id
,
const
uint8_t
&
amf_region_id
,
const
uint16_t
&
amf_set_id
,
...
@@ -108,9 +108,8 @@ class _5GSMobileIdentity : public Type6NasIe {
...
@@ -108,9 +108,8 @@ class _5GSMobileIdentity : public Type6NasIe {
void
get5GGUTI
(
std
::
optional
<
_5G_GUTI_t
>&
)
const
;
void
get5GGUTI
(
std
::
optional
<
_5G_GUTI_t
>&
)
const
;
// SUCI
// SUCI
int
suci_decodefrombuffer
(
uint8_t
*
buf
,
int
len
,
int
length
);
int
suci_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
suci_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
suci_decodefrombuffer
(
uint8_t
*
buf
,
int
len
,
int
length
);
void
setSuciWithSupiImsi
(
void
setSuciWithSupiImsi
(
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
mcc
,
const
std
::
string
&
mnc
,
const
std
::
string
&
routing_ind
,
const
uint8_t
protection_sch_id
,
const
std
::
string
&
routing_ind
,
const
uint8_t
protection_sch_id
,
...
@@ -126,8 +125,8 @@ class _5GSMobileIdentity : public Type6NasIe {
...
@@ -126,8 +125,8 @@ class _5GSMobileIdentity : public Type6NasIe {
int
encodeMSIN2buffer
(
const
std
::
string
&
msin_str
,
uint8_t
*
buf
,
int
len
);
int
encodeMSIN2buffer
(
const
std
::
string
&
msin_str
,
uint8_t
*
buf
,
int
len
);
// TMSI
// TMSI
int
_5g_s_tmsi_decodefrombuffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_s_tmsi_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_s_tmsi_encode2buffer
(
uint8_t
*
buf
,
int
len
);
int
_5g_s_tmsi_decodefrombuffer
(
uint8_t
*
buf
,
int
len
);
void
set5G_S_TMSI
(
void
set5G_S_TMSI
(
const
uint16_t
amf_set_id
,
const
uint8_t
amf_pointer
,
const
uint16_t
amf_set_id
,
const
uint8_t
amf_pointer
,
...
...
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