aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-aps.h
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-26 05:42:24 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-10-26 05:42:24 +0000
commit683fee3d17a891f2b42f1529c1e9890afb054db0 (patch)
treecf0b7371cfeaf8b1326cd86baf39beba169b5efa /epan/dissectors/packet-zbee-aps.h
parent54bf60fadc63e8d6b7b176617ab54e66acc89ad7 (diff)
From Fred Fierling:
Multi-key Support and Extended Address Mapping for ZigBee Dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5331 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34647 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-zbee-aps.h')
-rw-r--r--epan/dissectors/packet-zbee-aps.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/epan/dissectors/packet-zbee-aps.h b/epan/dissectors/packet-zbee-aps.h
index eb106d81e2..d8aa4b1e20 100644
--- a/epan/dissectors/packet-zbee-aps.h
+++ b/epan/dissectors/packet-zbee-aps.h
@@ -27,39 +27,11 @@
#ifndef PACKET_ZBEE_APS_H
#define PACKET_ZBEE_APS_H
-/* Structure to contain the APS frame information */
-typedef struct{
- gboolean indirect_mode; /* ZigBee 2004 and Earlier */
- gboolean ack_mode; /* ZigBee 2007 and Later */
- gboolean security;
- gboolean ack_req;
- gboolean ext_header; /* ZigBee 2007 and Later */
- guint8 type;
- guint8 delivery;
-
- guint8 dst;
- guint16 group; /* ZigBee 2006 and Later */
- guint16 cluster;
- guint16 profile;
- guint8 src;
- guint8 counter;
-
- /* Fragmentation Fields. */
- guint8 fragmentation; /* ZigBee 2007 and Later */
- guint8 block_number; /* ZigBee 2007 and Later */
- guint8 ack_bitfield; /* ZigBee 2007 and Later */
-
- /* Some helpers for the upper layers. */
- gboolean profile_present;
- gboolean dst_present;
- gboolean src_present;
-} zbee_aps_packet;
-
/* ZigBee APS */
#define ZBEE_APS_FCF_FRAME_TYPE 0x03
#define ZBEE_APS_FCF_DELIVERY_MODE 0x0c
#define ZBEE_APS_FCF_INDIRECT_MODE 0x10 /* ZigBee 2004 and earlier. */
-#define ZBEE_APS_FCF_ACK_MODE 0x10 /* ZigBee 2007 and later. */
+#define ZBEE_APS_FCF_ACK_FORMAT 0x10 /* ZigBee 2007 and later. */
#define ZBEE_APS_FCF_SECURITY 0x20
#define ZBEE_APS_FCF_ACK_REQ 0x40
#define ZBEE_APS_FCF_EXT_HEADER 0x80
@@ -234,4 +206,32 @@ typedef struct{
#define ZBEE_ZCL_CID_SMART_ENERGY_TUNNELING 0x0704
#define ZBEE_ZCL_CID_PRE_PAYMENT 0x0705
+/* Structure to contain the APS frame information */
+typedef struct{
+ gboolean indirect_mode; /* ZigBee 2004 and Earlier */
+ guint8 type;
+ guint8 delivery;
+ gboolean ack_format; /* ZigBee 2007 and Later */
+ gboolean security;
+ gboolean ack_req;
+ gboolean ext_header; /* ZigBee 2007 and Later */
+
+ guint8 dst;
+ guint16 group; /* ZigBee 2006 and Later */
+ guint16 cluster;
+ guint16 profile;
+ guint8 src;
+ guint8 counter;
+
+ /* Fragmentation Fields. */
+ guint8 fragmentation; /* ZigBee 2007 and Later */
+ guint8 block_number; /* ZigBee 2007 and Later */
+ guint8 ack_bitfield; /* ZigBee 2007 and Later */
+
+ /* Some helpers for the upper layers. */
+ gboolean profile_present;
+ gboolean dst_present;
+ gboolean src_present;
+} zbee_aps_packet;
+
#endif /* PACKET_ZBEE_APS_H*/