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
zzha zzha
OpenXG-RAN
Commits
70ddc0e7
Commit
70ddc0e7
authored
Oct 09, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CUUP: set F1-U remote port for GTP module
parent
c5006cf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
openair2/E1AP/e1ap.c
openair2/E1AP/e1ap.c
+3
-1
No files found.
openair2/E1AP/e1ap.c
View file @
70ddc0e7
...
...
@@ -1558,6 +1558,7 @@ static instance_t cuup_task_create_gtpu_instance_to_du(eth_params_t *IPaddrs) {
openAddr_t
tmp
=
{
0
};
strncpy
(
tmp
.
originHost
,
IPaddrs
->
my_addr
,
sizeof
(
tmp
.
originHost
)
-
1
);
sprintf
(
tmp
.
originService
,
"%d"
,
IPaddrs
->
my_portd
);
sprintf
(
tmp
.
destinationService
,
"%d"
,
IPaddrs
->
remote_portd
);
return
gtpv1Init
(
tmp
);
}
...
...
@@ -1603,9 +1604,10 @@ static void e1_task_handle_sctp_association_resp(E1_t type, instance_t instance,
inst
->
cuup
.
assoc_id
=
sctp_new_association_resp
->
assoc_id
;
e1ap_net_config_t
*
nc
=
&
inst
->
net_config
;
eth_params_t
IPaddr
;
eth_params_t
IPaddr
=
{
0
}
;
IPaddr
.
my_addr
=
nc
->
localAddressF1U
;
IPaddr
.
my_portd
=
nc
->
localPortF1U
;
IPaddr
.
remote_portd
=
nc
->
remotePortF1U
;
if
(
getCxtE1
(
instance
)
->
gtpInstF1U
<
0
)
getCxtE1
(
instance
)
->
gtpInstF1U
=
cuup_task_create_gtpu_instance_to_du
(
&
IPaddr
);
if
(
getCxtE1
(
instance
)
->
gtpInstF1U
<
0
)
...
...
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