forked from osmocom/wireshark
Define in one and only one C file, declare in a header file.
Presumably the intent is to have the two dissectors share the tables in question; if so, it's best done by defining the tables in one and only one C file and declaring it in a header file included by both C files - that 1) ensures the declaration and definition stay in sync and 2) keeps the OS X build from failing. Change-Id: Id2e7e5b7270c7109ffb091b2e16a631b83dde212 Reviewed-on: https://code.wireshark.org/review/14309 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
ed6554c202
commit
dc92e98db4
|
@ -158,6 +158,12 @@ typedef struct session_args {
|
|||
guint8 last_cause;
|
||||
} session_args_t;
|
||||
|
||||
/* Relation between frame -> session */
|
||||
extern GHashTable* session_table;
|
||||
|
||||
/* Relation between <teid,ip> -> frame */
|
||||
extern wmem_tree_t* frame_tree;
|
||||
|
||||
guint32 get_frame(address ip, guint32 teid, guint32 *frame);
|
||||
|
||||
void remove_frame_info(guint32 *f);
|
||||
|
|
|
@ -1031,11 +1031,6 @@ static const value_string gtpv2_element_type_vals[] = {
|
|||
};
|
||||
static value_string_ext gtpv2_element_type_vals_ext = VALUE_STRING_EXT_INIT(gtpv2_element_type_vals);
|
||||
|
||||
/* Relation between frame -> session */
|
||||
GHashTable* session_table;
|
||||
/* Relation between <teid,ip> -> frame */
|
||||
wmem_tree_t* frame_tree;
|
||||
|
||||
typedef struct _gtpv2_hdr {
|
||||
guint8 flags; /* GTP header flags */
|
||||
guint8 message; /* Message type */
|
||||
|
|
Loading…
Reference in New Issue