Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
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
spbro
OpenXG-RAN
Commits
fbe01042
Commit
fbe01042
authored
Oct 05, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PSEA - Capture - PduSessionEstablishmentAccept message
parent
7a5e3839
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
+9
-0
No files found.
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.c
View file @
fbe01042
...
@@ -40,6 +40,15 @@ void capture_pdu_session_establishment_accept(uint8_t *buffer, uint32_t msg_leng
...
@@ -40,6 +40,15 @@ void capture_pdu_session_establishment_accept(uint8_t *buffer, uint32_t msg_leng
sec_nas_msg
.
payload_type
=
*
(
buffer
+
(
offset
++
));
sec_nas_msg
.
payload_type
=
*
(
buffer
+
(
offset
++
));
sec_nas_msg
.
payload_len
=
htons
(
*
(
uint16_t
*
)(
buffer
+
offset
));
sec_nas_msg
.
payload_len
=
htons
(
*
(
uint16_t
*
)(
buffer
+
offset
));
offset
+=
sizeof
(
sec_nas_msg
.
payload_len
);
offset
+=
sizeof
(
sec_nas_msg
.
payload_len
);
/* Mandatory Presence IEs */
psea_msg
.
epd
=
*
(
buffer
+
(
offset
++
));
psea_msg
.
pdu_id
=
*
(
buffer
+
(
offset
++
));
psea_msg
.
pti
=
*
(
buffer
+
(
offset
++
));
psea_msg
.
msg_type
=
*
(
buffer
+
(
offset
++
));
psea_msg
.
pdu_type
=
*
(
buffer
+
offset
)
&
0x0f
;
psea_msg
.
ssc_mode
=
(
*
(
buffer
+
(
offset
++
))
&
0xf0
)
>>
4
;
psea_msg
.
qos_rules
.
length
=
htons
(
*
(
uint16_t
*
)(
buffer
+
offset
));
offset
+=
sizeof
(
psea_msg
.
qos_rules
.
length
);
return
;
return
;
}
}
\ No newline at end of file
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