aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-aps.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-10-24 10:04:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-10-24 10:04:29 +0000
commit43cb273d08e3d2e9f5526adcd9acf7cce2dd88f8 (patch)
treed6365afbff5e656a1e54da04c4945873eedd51fb /epan/dissectors/packet-zbee-aps.h
parentdbd143d68a42c17e69c0f356427c7256088eac75 (diff)
From Fred Fierling:
Multi-key Support and Extended Address Mapping for ZigBee Dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5331 svn path=/trunk/; revision=34627
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*/