pre-ci tests passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4342 818b1a75-f10b-46b9-bf7c-635c3b92a50f
22 lines
665 B
C
22 lines
665 B
C
#include "intertask_interface.h"
|
|
|
|
#include "s1ap_eNB_itti_messaging.h"
|
|
|
|
void s1ap_eNB_itti_send_sctp_data_req(int32_t assoc_id, uint8_t *buffer,
|
|
uint32_t buffer_length, uint16_t stream)
|
|
{
|
|
MessageDef *message_p;
|
|
sctp_data_req_t *sctp_data_req;
|
|
|
|
message_p = itti_alloc_new_message(TASK_S1AP, SCTP_DATA_REQ);
|
|
|
|
sctp_data_req = &message_p->msg.sctp_data_req;
|
|
|
|
sctp_data_req->assoc_id = assoc_id;
|
|
sctp_data_req->buffer = buffer;
|
|
sctp_data_req->buffer_length = buffer_length;
|
|
sctp_data_req->stream = stream;
|
|
|
|
itti_send_msg_to_task(TASK_SCTP, INSTANCE_DEFAULT, message_p);
|
|
}
|