Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
693a82a5
Commit
693a82a5
authored
6 years ago
by
nikaeinn
Browse files
Options
Downloads
Patches
Plain Diff
Add the instance id in the sctp_itti_send_new_message_ind
parent
7fcaf4f9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair3/SCTP/sctp_eNB_itti_messaging.c
+3
-2
3 additions, 2 deletions
openair3/SCTP/sctp_eNB_itti_messaging.c
openair3/SCTP/sctp_eNB_itti_messaging.h
+2
-1
2 additions, 1 deletion
openair3/SCTP/sctp_eNB_itti_messaging.h
openair3/SCTP/sctp_eNB_task.c
+1
-0
1 addition, 0 deletions
openair3/SCTP/sctp_eNB_task.c
with
6 additions
and
3 deletions
openair3/SCTP/sctp_eNB_itti_messaging.c
+
3
−
2
View file @
693a82a5
...
...
@@ -24,7 +24,8 @@
#include
"sctp_common.h"
#include
"sctp_eNB_itti_messaging.h"
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
)
{
MessageDef
*
message_p
;
...
...
@@ -43,7 +44,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
->
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
,
...
...
This diff is collapsed.
Click to expand it.
openair3/SCTP/sctp_eNB_itti_messaging.h
+
2
−
1
View file @
693a82a5
...
...
@@ -22,7 +22,8 @@
#ifndef SCTP_ITTI_MESSAGING_H_
#define SCTP_ITTI_MESSAGING_H_
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
);
int
sctp_itti_send_association_resp
(
task_id_t
task_id
,
instance_t
instance
,
...
...
This diff is collapsed.
Click to expand it.
openair3/SCTP/sctp_eNB_task.c
+
1
−
0
View file @
693a82a5
...
...
@@ -749,6 +749,7 @@ sctp_eNB_read_from_socket(
sinfo
.
sinfo_stream
,
ntohl
(
sinfo
.
sinfo_ppid
));
sctp_itti_send_new_message_ind
(
sctp_cnx
->
task_id
,
sctp_cnx
->
instance
,
sinfo
.
sinfo_assoc_id
,
buffer
,
n
,
sinfo
.
sinfo_stream
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment