2017-03-24 06:31:35 +00:00
|
|
|
#ifndef __MME_EVENT_H__
|
|
|
|
#define __MME_EVENT_H__
|
2017-02-13 00:58:55 +00:00
|
|
|
|
2017-03-24 06:31:35 +00:00
|
|
|
#include "core_event.h"
|
2017-09-03 15:06:39 +00:00
|
|
|
#include "core_fsm.h"
|
2017-03-26 06:34:34 +00:00
|
|
|
#include "core_pkbuf.h"
|
|
|
|
|
2017-02-13 00:58:55 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-04-04 01:49:19 +00:00
|
|
|
/* forward declaration */
|
2017-02-13 00:58:55 +00:00
|
|
|
typedef enum {
|
2017-03-24 09:47:05 +00:00
|
|
|
MME_EVT_BASE = FSM_USER_SIG,
|
2017-02-13 00:58:55 +00:00
|
|
|
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_S1AP_MESSAGE,
|
2017-09-18 10:30:03 +00:00
|
|
|
MME_EVT_S1AP_DELAYED_SEND,
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_S1AP_LO_ACCEPT,
|
2018-05-30 08:45:14 +00:00
|
|
|
MME_EVT_S1AP_LO_SCTP_COMM_UP,
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_S1AP_LO_CONNREFUSED,
|
2018-02-02 10:37:36 +00:00
|
|
|
MME_EVT_S1AP_S1_HOLDING_TIMER,
|
2017-04-12 23:48:11 +00:00
|
|
|
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_EMM_MESSAGE,
|
|
|
|
MME_EVT_EMM_T3413,
|
2017-04-14 00:57:52 +00:00
|
|
|
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_ESM_MESSAGE,
|
2017-04-14 00:57:52 +00:00
|
|
|
|
2017-08-25 15:25:55 +00:00
|
|
|
MME_EVT_S11_MESSAGE,
|
2017-08-31 11:48:15 +00:00
|
|
|
MME_EVT_S11_T3_RESPONSE,
|
2017-09-04 11:06:54 +00:00
|
|
|
MME_EVT_S11_T3_HOLDING,
|
2017-04-14 01:27:31 +00:00
|
|
|
|
2017-08-25 15:11:46 +00:00
|
|
|
MME_EVT_S6A_MESSAGE,
|
|
|
|
|
2017-03-24 09:47:05 +00:00
|
|
|
MME_EVT_TOP,
|
2017-02-13 00:58:55 +00:00
|
|
|
|
|
|
|
} event_e;
|
|
|
|
|
2017-03-27 01:22:30 +00:00
|
|
|
#define mme_event_send(__ptr_e) event_send(mme_self()->queue_id, (__ptr_e))
|
|
|
|
|
2017-03-24 09:47:05 +00:00
|
|
|
CORE_DECLARE(char*) mme_event_get_name(event_t *e);
|
|
|
|
|
2017-02-13 00:58:55 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-03-24 06:31:35 +00:00
|
|
|
#endif /* __MME_EVENT_H__ */
|