Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
2db39039
Commit
2db39039
authored
May 18, 2015
by
knopp
Browse files
For S1C MME tests
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@7436
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
d24e3ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair-cn/S1AP/s1ap_eNB.c
View file @
2db39039
...
...
@@ -60,6 +60,10 @@
#include
"assertions.h"
#include
"conversions.h"
#if defined(TEST_S1C_MME)
#include
"oaisim_mme_test_s1c.h"
#endif
#if !defined(OAI_EMU)
s1ap_eNB_config_t
s1ap_config
;
...
...
@@ -239,10 +243,13 @@ void s1ap_eNB_handle_sctp_data_ind(sctp_data_ind_t *sctp_data_ind)
int
result
;
DevAssert
(
sctp_data_ind
!=
NULL
);
#if defined(TEST_S1C_MME)
mme_test_s1_notify_sctp_data_ind
(
sctp_data_ind
->
assoc_id
,
sctp_data_ind
->
stream
,
sctp_data_ind
->
buffer
,
sctp_data_ind
->
buffer_length
);
#else
s1ap_eNB_handle_message
(
sctp_data_ind
->
assoc_id
,
sctp_data_ind
->
stream
,
sctp_data_ind
->
buffer
,
sctp_data_ind
->
buffer_length
);
#endif
result
=
itti_free
(
TASK_UNKNOWN
,
sctp_data_ind
->
buffer
);
AssertFatal
(
result
==
EXIT_SUCCESS
,
"Failed to free memory (%d)!
\n
"
,
result
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment