Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
0bc2e054
Commit
0bc2e054
authored
Apr 13, 2021
by
Tien-Thinh Nguyen
Browse files
Merge branch 'pfcp_seq_num_fix' into 'develop'
Randomize PFCP sequence number See merge request
!54
parents
7783f0bc
f48ede36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pfcp/pfcp.cpp
View file @
0bc2e054
...
...
@@ -52,7 +52,7 @@ pfcp_l4_stack::pfcp_l4_stack(
timespec
ts
;
clock_gettime
(
CLOCK_REALTIME
,
&
ts
);
seq_num
=
0
;
//
(uint32_t)ts.tv_nsec & 0x7FFFFFFF;
seq_num
=
(
uint32_t
)
ts
.
tv_nsec
&
0x7FFFFFFF
;
restart_counter
=
0
;
udp_s_8805
.
start_receive
(
this
,
sched_params
);
udp_s_allocated
.
start_receive
(
this
,
sched_params
);
...
...
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