10 #ifndef __PACKET_GTP_H 11 #define __PACKET_GTP_H 31 #define GTP_MSG_UNKNOWN 0x00 32 #define GTP_MSG_ECHO_REQ 0x01 33 #define GTP_MSG_ECHO_RESP 0x02 34 #define GTP_MSG_VER_NOT_SUPP 0x03 35 #define GTP_MSG_NODE_ALIVE_REQ 0x04 36 #define GTP_MSG_NODE_ALIVE_RESP 0x05 37 #define GTP_MSG_REDIR_REQ 0x06 38 #define GTP_MSG_REDIR_RESP 0x07 43 #define GTP_MSG_CREATE_PDP_REQ 0x10 44 #define GTP_MSG_CREATE_PDP_RESP 0x11 45 #define GTP_MSG_UPDATE_PDP_REQ 0x12 46 #define GTP_MSG_UPDATE_PDP_RESP 0x13 47 #define GTP_MSG_DELETE_PDP_REQ 0x14 48 #define GTP_MSG_DELETE_PDP_RESP 0x15 49 #define GTP_MSG_INIT_PDP_CONTEXT_ACT_REQ 0x16 50 #define GTP_MSG_INIT_PDP_CONTEXT_ACT_RESP 0x17 55 #define GTP_MSG_DELETE_AA_PDP_REQ 0x18 56 #define GTP_MSG_DELETE_AA_PDP_RESP 0x19 57 #define GTP_MSG_ERR_IND 0x1A 58 #define GTP_MSG_PDU_NOTIFY_REQ 0x1B 59 #define GTP_MSG_PDU_NOTIFY_RESP 0x1C 60 #define GTP_MSG_PDU_NOTIFY_REJ_REQ 0x1D 61 #define GTP_MSG_PDU_NOTIFY_REJ_RESP 0x1E 62 #define GTP_MSG_SUPP_EXT_HDR 0x1F 63 #define GTP_MSG_SEND_ROUT_INFO_REQ 0x20 64 #define GTP_MSG_SEND_ROUT_INFO_RESP 0x21 65 #define GTP_MSG_FAIL_REP_REQ 0x22 66 #define GTP_MSG_FAIL_REP_RESP 0x23 67 #define GTP_MSG_MS_PRESENT_REQ 0x24 68 #define GTP_MSG_MS_PRESENT_RESP 0x25 73 #define GTP_MSG_IDENT_REQ 0x30 74 #define GTP_MSG_IDENT_RESP 0x31 75 #define GTP_MSG_SGSN_CNTXT_REQ 0x32 76 #define GTP_MSG_SGSN_CNTXT_RESP 0x33 77 #define GTP_MSG_SGSN_CNTXT_ACK 0x34 78 #define GTP_MSG_FORW_RELOC_REQ 0x35 79 #define GTP_MSG_FORW_RELOC_RESP 0x36 80 #define GTP_MSG_FORW_RELOC_COMP 0x37 81 #define GTP_MSG_RELOC_CANCEL_REQ 0x38 82 #define GTP_MSG_RELOC_CANCEL_RESP 0x39 83 #define GTP_MSG_FORW_SRNS_CNTXT 0x3A 84 #define GTP_MSG_FORW_RELOC_ACK 0x3B 85 #define GTP_MSG_FORW_SRNS_CNTXT_ACK 0x3C 90 #define GTP_MSG_RAN_INFO_RELAY 70 95 #define GTP_MBMS_NOTIFY_REQ 96 96 #define GTP_MBMS_NOTIFY_RES 97 97 #define GTP_MBMS_NOTIFY_REJ_REQ 98 98 #define GTP_MBMS_NOTIFY_REJ_RES 99 99 #define GTP_CREATE_MBMS_CNTXT_REQ 100 100 #define GTP_CREATE_MBMS_CNTXT_RES 101 101 #define GTP_UPD_MBMS_CNTXT_REQ 102 102 #define GTP_UPD_MBMS_CNTXT_RES 103 103 #define GTP_DEL_MBMS_CNTXT_REQ 104 104 #define GTP_DEL_MBMS_CNTXT_RES 105 109 #define GTP_MBMS_REG_REQ 112 110 #define GTP_MBMS_REG_RES 113 111 #define GTP_MBMS_DE_REG_REQ 114 112 #define GTP_MBMS_DE_REG_RES 115 113 #define GTP_MBMS_SES_START_REQ 116 114 #define GTP_MBMS_SES_START_RES 117 115 #define GTP_MBMS_SES_STOP_REQ 118 116 #define GTP_MBMS_SES_STOP_RES 119 117 #define GTP_MBMS_SES_UPD_REQ 120 118 #define GTP_MBMS_SES_UPD_RES 121 122 #define GTP_MS_INFO_CNG_NOT_REQ 128 123 #define GTP_MS_INFO_CNG_NOT_RES 129 127 #define GTP_MSG_DATA_TRANSF_REQ 0xF0 128 #define GTP_MSG_DATA_TRANSF_RESP 0xF1 132 #define GTP_MSG_END_MARKER 0xFE 133 #define GTP_MSG_TPDU 0xFF 138 extern guint32 gtp_session_count;
139 extern gboolean g_gtp_session;
150 extern GHashTable* session_table;
155 guint32 get_frame(
address ip, guint32 teid, guint32 *frame);
157 void remove_frame_info(guint32 *f);
159 void add_gtp_session(guint32 frame, guint32 session);
161 gboolean teid_exists(guint32 teid,
wmem_list_t *teid_list);
167 gboolean is_cause_accepted(guint8 cause, guint32 version);
Definition: wmem_tree-int.h:47
Definition: packet-gtp.h:23
Definition: packet-gtp.h:13
Definition: packet_info.h:44
Definition: packet-gtp.h:141
Definition: tvbuff-int.h:35
Definition: value_string.h:164
Definition: wmem_list.c:23