From 7db8eea5c68284a468924639eecc2ca8959225d0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 19 Mar 2006 20:45:45 +0000 Subject: Make the GUIDs in various data structures e_guid_t's rather than arrays of 16 bytes. Use "sizeof" for the size of e_guid_t's, and use structure assignment to copy GUID values. Make functions such as append_h225ras_call() and new_h225ras_call() take pointers to e_guid_t's as arguments. Define GUID_LEN in epan/guid-utils.h and use it as the length of a GUID in a packet. (Note that "sizeof e_guid_t" is not guaranteed to be 16, although it is guaranteed to be the size of an e_guid_t.) When constructing a display filter that matches a GUID, use guid_to_str() to construct the string for the GUID. svn path=/trunk/; revision=17676 --- epan/dissectors/packet-h225.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-h225.h') diff --git a/epan/dissectors/packet-h225.h b/epan/dissectors/packet-h225.h index d7b73f64b7..903f4a543d 100644 --- a/epan/dissectors/packet-h225.h +++ b/epan/dissectors/packet-h225.h @@ -63,7 +63,7 @@ typedef struct _h225_packet_info { gint msg_tag; /* message tag*/ gint reason; /* reason tag, if available */ guint requestSeqNum; /* request sequence number of ras-message, if available */ - guint8 guid[16]; /* globally unique call id */ + e_guid_t guid; /* globally unique call id */ gboolean is_duplicate; /* true, if this is a repeated message */ gboolean request_available; /* true, if response matches to a request */ nstime_t delta_time; /* this is the RAS response time delay */ -- cgit v1.2.3