summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/frame_data.c8
-rw-r--r--epan/frame_data.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/epan/frame_data.c b/epan/frame_data.c
index 533f0cfe3e..4957347364 100644
--- a/epan/frame_data.c
+++ b/epan/frame_data.c
@@ -40,7 +40,7 @@
index and opaque pointer. */
typedef struct _frame_proto_data {
int proto;
- guint8 key;
+ guint32 key;
void *proto_data;
} frame_proto_data;
@@ -68,7 +68,7 @@ p_compare(gconstpointer a, gconstpointer b)
}
void
-p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key, void *proto_data)
+p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key, void *proto_data)
{
frame_proto_data *p1;
GSList** proto_list;
@@ -92,7 +92,7 @@ p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto,
}
void *
-p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key)
+p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key)
{
frame_proto_data temp, *p1;
GSList *item;
@@ -117,7 +117,7 @@ p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto,
}
void
-p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key)
+p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key)
{
frame_proto_data temp;
GSList *item;
diff --git a/epan/frame_data.h b/epan/frame_data.h
index 2bf074ad3b..2755593be6 100644
--- a/epan/frame_data.h
+++ b/epan/frame_data.h
@@ -97,9 +97,9 @@ typedef struct {
/* Utility routines used by packet*.c */
struct _packet_info;
-WS_DLL_PUBLIC void p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key, void *proto_data);
-WS_DLL_PUBLIC void *p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key);
-void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key);
+WS_DLL_PUBLIC void p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key, void *proto_data);
+WS_DLL_PUBLIC void *p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key);
+void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key);
gchar *p_get_proto_name_and_key(wmem_allocator_t *scope, struct _packet_info* pinfo, guint pfd_index);
/* no sense to include epan.h + dependencies for opaque epan session type */