diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-10-26 08:31:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-10-26 08:31:16 +0000 |
commit | 0f96301a3e574b5453df2540b9d8b9e3ef2af8f8 (patch) | |
tree | e2673fec6aada376e7845a0a9df5391ae357b5af /epan/dissectors/packet-ieee802154.h | |
parent | a3eff92edc45da4da5c15b40af8fbbb82aa4ce2c (diff) |
You may not use g_int64_hash() or g_int64_equal(), as they are not
present in the minimum version of GLib that we support. Create a
ieee802154_long_addr structure for long addresses, create hash
routines for those addresses, and use them.
svn path=/trunk/; revision=34651
Diffstat (limited to 'epan/dissectors/packet-ieee802154.h')
-rw-r--r-- | epan/dissectors/packet-ieee802154.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee802154.h b/epan/dissectors/packet-ieee802154.h index 8cbce7aa4b..25c7d4275a 100644 --- a/epan/dissectors/packet-ieee802154.h +++ b/epan/dissectors/packet-ieee802154.h @@ -216,6 +216,11 @@ typedef struct { guint16 addr; } ieee802154_short_addr; +/* Key used by the long address hash table. */ +typedef struct { + guint64 addr; +} ieee802154_long_addr; + /* A mapping record for a frame, pointed to by hash table */ typedef struct { int proto; /* protocol that created this record */ |