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
c3209468
Commit
c3209468
authored
Nov 07, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deliver SCTP ITTI messages with instance I
parent
a477043a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
openair3/SCTP/sctp_eNB_itti_messaging.c
openair3/SCTP/sctp_eNB_itti_messaging.c
+3
-2
openair3/SCTP/sctp_eNB_itti_messaging.h
openair3/SCTP/sctp_eNB_itti_messaging.h
+2
-1
openair3/SCTP/sctp_eNB_task.c
openair3/SCTP/sctp_eNB_task.c
+2
-1
No files found.
openair3/SCTP/sctp_eNB_itti_messaging.c
View file @
c3209468
...
@@ -38,7 +38,8 @@ int sctp_itti_send_init_msg_multi_cnf(task_id_t task_id, instance_t instance, in
...
@@ -38,7 +38,8 @@ int sctp_itti_send_init_msg_multi_cnf(task_id_t task_id, instance_t instance, in
return
itti_send_msg_to_task
(
task_id
,
instance
,
message_p
);
return
itti_send_msg_to_task
(
task_id
,
instance
,
message_p
);
}
}
int
sctp_itti_send_new_message_ind
(
task_id_t
task_id
,
uint32_t
assoc_id
,
uint8_t
*
buffer
,
int
sctp_itti_send_new_message_ind
(
task_id_t
task_id
,
instance_t
instance
,
uint32_t
assoc_id
,
uint8_t
*
buffer
,
uint32_t
buffer_length
,
uint16_t
stream
)
uint32_t
buffer_length
,
uint16_t
stream
)
{
{
MessageDef
*
message_p
;
MessageDef
*
message_p
;
...
@@ -57,7 +58,7 @@ int sctp_itti_send_new_message_ind(task_id_t task_id, uint32_t assoc_id, uint8_t
...
@@ -57,7 +58,7 @@ int sctp_itti_send_new_message_ind(task_id_t task_id, uint32_t assoc_id, uint8_t
sctp_data_ind_p
->
buffer_length
=
buffer_length
;
sctp_data_ind_p
->
buffer_length
=
buffer_length
;
sctp_data_ind_p
->
assoc_id
=
assoc_id
;
sctp_data_ind_p
->
assoc_id
=
assoc_id
;
return
itti_send_msg_to_task
(
task_id
,
INSTANCE_DEFAULT
,
message_p
);
return
itti_send_msg_to_task
(
task_id
,
instance
,
message_p
);
}
}
int
sctp_itti_send_association_resp
(
task_id_t
task_id
,
instance_t
instance
,
int
sctp_itti_send_association_resp
(
task_id_t
task_id
,
instance_t
instance
,
...
...
openair3/SCTP/sctp_eNB_itti_messaging.h
View file @
c3209468
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
int
sctp_itti_send_init_msg_multi_cnf
(
task_id_t
task_id
,
instance_t
instance
,
int
multi_sd
);
int
sctp_itti_send_init_msg_multi_cnf
(
task_id_t
task_id
,
instance_t
instance
,
int
multi_sd
);
int
sctp_itti_send_new_message_ind
(
task_id_t
task_id
,
uint32_t
assoc_id
,
uint8_t
*
buffer
,
int
sctp_itti_send_new_message_ind
(
task_id_t
task_id
,
instance_t
instance
,
uint32_t
assoc_id
,
uint8_t
*
buffer
,
uint32_t
buffer_length
,
uint16_t
stream
);
uint32_t
buffer_length
,
uint16_t
stream
);
int
sctp_itti_send_association_resp
(
task_id_t
task_id
,
instance_t
instance
,
int
sctp_itti_send_association_resp
(
task_id_t
task_id
,
instance_t
instance
,
...
...
openair3/SCTP/sctp_eNB_task.c
View file @
c3209468
...
@@ -1000,7 +1000,8 @@ sctp_eNB_read_from_socket(
...
@@ -1000,7 +1000,8 @@ sctp_eNB_read_from_socket(
sinfo
.
sinfo_assoc_id
,
sctp_cnx
->
sd
,
n
,
ntohs
(
addr
.
sin_port
),
sinfo
.
sinfo_assoc_id
,
sctp_cnx
->
sd
,
n
,
ntohs
(
addr
.
sin_port
),
sinfo
.
sinfo_stream
,
ntohl
(
sinfo
.
sinfo_ppid
));
sinfo
.
sinfo_stream
,
ntohl
(
sinfo
.
sinfo_ppid
));
sctp_itti_send_new_message_ind
(
sctp_cnx
->
instance
,
sctp_itti_send_new_message_ind
(
sctp_cnx
->
task_id
,
sctp_cnx
->
instance
,
sinfo
.
sinfo_assoc_id
,
sinfo
.
sinfo_assoc_id
,
buffer
,
n
,
sinfo
.
sinfo_stream
);
buffer
,
n
,
sinfo
.
sinfo_stream
);
}
}
...
...
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