aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sccp.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-03-21 00:48:46 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-03-21 00:48:46 +0000
commit5fa8e751492a3d47d7d9d60586ad20a7006d8e5c (patch)
tree2fd7e9f13537d9a62869a04150e5031ca0a6c4bc /epan/dissectors/packet-sccp.h
parent1b2cddf0b3b38627882c25eb9e282d4910feb551 (diff)
packet_info.c and packet.c
add sccp_info to struct _packet_info (Sorry but the way private_data works and the fact that TCAP uses it and BSSAP/RANAP can be tunnelled on GSMMAP over TCAP makes it impossible to avoid) SCCP - Have SCCP to have a TAP, - Fix associations so that every message belongs to the association. - Export message type values so that they can be used by a tap listener RANAP - Have RANAP information attached to the sccp_info BSSAP + GSM_A - Have DTAP, BSSMAP and BSSAP info attached to the sccp_info svn path=/trunk/; revision=21076
Diffstat (limited to 'epan/dissectors/packet-sccp.h')
-rw-r--r--epan/dissectors/packet-sccp.h53
1 files changed, 40 insertions, 13 deletions
diff --git a/epan/dissectors/packet-sccp.h b/epan/dissectors/packet-sccp.h
index d3b712cf6f..9e328a7b5e 100644
--- a/epan/dissectors/packet-sccp.h
+++ b/epan/dissectors/packet-sccp.h
@@ -25,24 +25,47 @@
#ifndef __PACKET_SCCP_H
#define __PACKET_SCCP_H
+#define SCCP_MSG_TYPE_CR 0x01
+#define SCCP_MSG_TYPE_CC 0x02
+#define SCCP_MSG_TYPE_CREF 0x03
+#define SCCP_MSG_TYPE_RLSD 0x04
+#define SCCP_MSG_TYPE_RLC 0x05
+#define SCCP_MSG_TYPE_DT1 0x06
+#define SCCP_MSG_TYPE_DT2 0x07
+#define SCCP_MSG_TYPE_AK 0x08
+#define SCCP_MSG_TYPE_UDT 0x09
+#define SCCP_MSG_TYPE_UDTS 0x0a
+#define SCCP_MSG_TYPE_ED 0x0b
+#define SCCP_MSG_TYPE_EA 0x0c
+#define SCCP_MSG_TYPE_RSR 0x0d
+#define SCCP_MSG_TYPE_RSC 0x0e
+#define SCCP_MSG_TYPE_ERR 0x0f
+#define SCCP_MSG_TYPE_IT 0x10
+#define SCCP_MSG_TYPE_XUDT 0x11
+#define SCCP_MSG_TYPE_XUDTS 0x12
+
+/* The below 2 are ITU only */
+#define SCCP_MSG_TYPE_LUDT 0x13
+#define SCCP_MSG_TYPE_LUDTS 0x14
+
+WS_VAR_IMPORT const value_string sccp_message_type_acro_values[];
+
typedef enum _sccp_payload_t {
SCCP_PLOAD_NONE,
SCCP_PLOAD_BSSAP,
SCCP_PLOAD_RANAP,
- SCCP_PLOAD_TCAP,
- SCCP_PLOAD_CAMEL
+ SCCP_PLOAD_NUM_PLOADS
} sccp_payload_t;
-/* obscure to SCCP, to be defined by users */
-typedef struct _sccp_msg_payload_data_t sccp_msg_payload_data_t;
-typedef struct _sccp_assoc_data_t sccp_assoc_data_t;
-
typedef struct _sccp_msg_info_t {
guint framenum;
guint offset;
- gchar* info;
- sccp_msg_payload_data_t* private_data;
+ guint type;
+ struct _sccp_assoc_info_t* assoc;
struct _sccp_msg_info_t* next;
+
+ gchar* label;
+ gchar* comment;
} sccp_msg_info_t;
typedef struct _sccp_assoc_info_t {
@@ -51,12 +74,16 @@ typedef struct _sccp_assoc_info_t {
guint32 called_dpc;
guint8 calling_ssn;
guint8 called_ssn;
- gboolean has_calling_key;
- gboolean has_called_key;
+ gboolean has_fw_key;
+ gboolean has_bw_key;
sccp_msg_info_t* msgs;
- sccp_payload_t pload;
- sccp_assoc_data_t* private_data;
- sccp_msg_info_t* cur_msg;
+ sccp_msg_info_t* curr_msg;
+
+ sccp_payload_t proto;
+ gchar* calling_party;
+ gchar* called_party;
+ gchar* extra_info;
+
} sccp_assoc_info_t;
#endif