aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-06-06 17:03:34 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-06-06 17:03:34 +0000
commitc2509b0b3f0495d359c561b110388ca36b132faa (patch)
treef9fc7ec9114a551420b80909b1a6205c76d50293 /epan/packet_info.h
parent64432ed12bf717f29a7ddb04e461904bdcd22ec5 (diff)
Handle Detach and Service request, make it possible to set direction on link(UL/DL).
svn path=/trunk/; revision=28648
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index 8873065427..394167badf 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -34,6 +34,11 @@
#define P2P_DIR_SENT 0
#define P2P_DIR_RECV 1
+/* Link direction */
+#define LINK_DIR_UNKNOWN -1
+#define P2P_DIR_UL 0
+#define P2P_DIR_DL 1
+
#define PINFO_SOF_FIRST_FRAME 0x1
#define PINFO_SOF_SOFF 0x2
#define PINFO_EOF_LAST_FRAME 0x80
@@ -211,6 +216,9 @@ typedef struct _packet_info {
guint8 zbee_stack_vers; /* ZigBee stack version number, present in the ZigBee network layer, but
* impacts the packet format at all layers of the ZigBee stack.
*/
+ int link_dir; /* 3GPP messages are sometime different UP link(UL) or Downlink(DL)
+ *
+ */
} packet_info;
#endif /* __PACKET_INFO_H__ */