Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-h323-template.h
1 /* packet-h323.h
2  * Routines for H.235 packet dissection
3  * 2007 Tomas Kukosa
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef PACKET_H323_H
13 #define PACKET_H323_H
14 
15 /* Generic Extensible Framework */
16 
17 #define GEF_CTX_SIGNATURE 0x47454658 /* "GEFX" */
18 
19 typedef struct _gef_ctx_t {
20  guint32 signature;
21  struct _gef_ctx_t *parent;
22  /*
23  H323-MESSAGES
24  FeatureDescriptor/<id>
25  <id>
26  GenericData/<id>
27  <id>
28  MULTIMEDIA-SYSTEM-CONTROL
29  GenericInformation/<id>[-<subid>]
30  <id>
31  GenericMessage/<id>[-<subid>]
32  <id>
33  GenericCapability/<id>
34  collapsing/<id>
35  nonCollapsing/<id>
36  nonCollapsingRaw
37  EncryptionSync
38  <id>
39  */
40  const gchar *type;
41  const gchar *id;
42  const gchar *subid;
43  const gchar *key;
44 } gef_ctx_t;
45 
46 extern gef_ctx_t* gef_ctx_alloc(gef_ctx_t *parent, const gchar *type);
47 extern gboolean gef_ctx_check_signature(gef_ctx_t *gefx);
48 extern gef_ctx_t* gef_ctx_get(void *ptr);
49 extern void gef_ctx_update_key(gef_ctx_t *gefx);
50 
51 #endif /* PACKET_H323_H */
52 
Definition: packet-h323-template.h:19