- Forward declaration of register functions.

svn path=/trunk/; revision=53911
This commit is contained in:
Anders Broman 2013-12-10 19:50:20 +00:00
parent 17a67c3b5c
commit 9bdd3bbde1
23 changed files with 60 additions and 4 deletions

View File

@ -43,6 +43,9 @@
#define UDP_PORT_TZSP 0x9090
void proto_register_tzsp(void);
void proto_reg_handoff_tzsp(void);
static int proto_tzsp = -1;
static int hf_tzsp_version = -1;
static int hf_tzsp_type = -1;

View File

@ -35,6 +35,8 @@
#include "packet-uaudp.h"
void proto_register_ua_msg(void);
void proto_reg_handoff_ua_msg(void);
/*-----------------------------------------------------------------------------
GLOBALS
---------------------------------------------------------------------------*/

View File

@ -33,7 +33,8 @@
#include "epan/wmem/wmem.h"
#include "packet-uaudp.h"
void proto_register_ua3g(void);
void proto_reg_handoff_ua3g(void);
/*-----------------------------------------------------------------------------
Globals
---------------------------------------------------------------------------*/

View File

@ -48,6 +48,7 @@
#include "packet-uaudp.h"
void proto_register_uasip(void);
void proto_reg_handoff_uasip(void);
static tap_struct_uaudp ua_tap_info;

View File

@ -33,6 +33,8 @@
#include "packet-uaudp.h"
void proto_register_uaudp(void);
/* GLOBALS */
#if 0

View File

@ -45,6 +45,9 @@
#define TLV_TYPE 0
#define TLV_LENGTH 2
void proto_register_udld(void);
void proto_reg_handoff_udld(void);
static int proto_udld = -1;
static int hf_udld_version = -1;
static int hf_udld_opcode = -1;

View File

@ -51,6 +51,9 @@
#define UDT_HANDSHAKE_TYPE_STREAM 0
#define UDT_HANDSHAKE_TYPE_DGRAM 1
void proto_register_udt(void);
void proto_reg_handoff_udt(void);
static const value_string udt_packet_types[] = {
{UDT_PACKET_TYPE_HANDSHAKE, "handshake"},
{UDT_PACKET_TYPE_KEEPALIVE, "keepalive"},

View File

@ -70,6 +70,9 @@
#include "packet-tcp.h"
#include "packet-rrc.h"
void proto_register_uma(void);
void proto_reg_handoff_uma(void);
/* Length field is 2 bytes and comes first */
#define UMA_HEADER_SIZE 2
static gboolean uma_desegment = TRUE;

View File

@ -52,8 +52,8 @@
* for channels that doesn't have the C/T flag! This should be based
* on the RRC message RadioBearerSetup.
*/
void proto_register_umts_fp(void);
void proto_reg_handoff_umts_fp(void);
void proto_register_fp(void);
void proto_reg_handoff_fp(void);
/* Initialize the protocol and registered fields. */

View File

@ -214,6 +214,9 @@
#define USB_SETUP_GET_RES_ALL 0x94 /* UVC 1.5 */
#define USB_SETUP_GET_DEF_ALL 0x97 /* UVC 1.5 */
void proto_reg_handoff_usb_vid(void);
void proto_reg_handoff_usb_vid(void);
/* protocols and header fields */
static int proto_usb_vid = -1;

View File

@ -37,6 +37,9 @@
#pragma warning(disable:4090)
#endif
void proto_register_user_encap(void);
void proto_reg_handoff_user_encap(void);
typedef struct _user_encap_t {
guint encap;
char* payload_proto_name;

View File

@ -37,6 +37,7 @@
#include <epan/etypes.h>
#include <epan/prefs.h>
void proto_reg_handoff_vlan(void);
void proto_reg_handoff_vlan(void);
static unsigned int q_in_q_ethertype = 0x9100;

View File

@ -27,6 +27,9 @@
#include <epan/packet.h>
#include <epan/etypes.h>
void proto_register_vntag(void);
void proto_reg_handoff_vntag(void);
static dissector_handle_t ethertype_handle;
static int proto_vntag = -1;

View File

@ -35,6 +35,9 @@
#include <epan/in_cksum.h>
#include <epan/expert.h>
void proto_register_vrrp(void);
void proto_reg_handoff_vrrp(void);
static gint proto_vrrp = -1;
static gint ett_vrrp = -1;
static gint ett_vrrp_ver_type = -1;

View File

@ -32,6 +32,8 @@
#include <epan/packet.h>
#include <epan/prefs.h>
void proto_register_vrt(void);
static gint dissector_port_pref = 4991;
static int proto_vrt = -1;

View File

@ -48,6 +48,8 @@ static const value_string clksrc_vals[] = {
{ 0, NULL }
};
void proto_register_vssmonitoring(void);
void proto_reg_handoff_vssmonitoring(void);
static int proto_vssmonitoring = -1;

View File

@ -36,6 +36,8 @@
*
* for some information on VTP.
*/
void proto_register_vtp(void);
void proto_reg_handoff_vtp(void);
static int proto_vtp = -1;
static int hf_vtp_version = -1;

View File

@ -29,6 +29,8 @@
#define DEFAULT_UDP_PORT 11273
void proto_register_vuze_dht(void);
/* --- protocol specification:
* http://wiki.vuze.com/w/Distributed_hash_table
*/

View File

@ -97,6 +97,13 @@
#define VXI11_CORE_PROGRAM 0x0607AF
#define VXI11_CORE_VERSION 1
void proto_register_vxi11_core(void);
void proto_reg_handoff_vxi11_core(void);
void proto_register_vxi11_async(void);
void proto_reg_handoff_vxi11_async(void);
void proto_register_vxi11_intr(void);
void proto_reg_handoff_vxi11_intr(void);
static int proto_vxi11_core = -1;
static gint ett_vxi11_core = -1;

View File

@ -31,7 +31,8 @@
#include <epan/packet.h>
void proto_register_vxlan(void);
void proto_reg_handoff_vxlan(void);
static int proto_vxlan = -1;

View File

@ -61,6 +61,9 @@
#define FLAG_BIT6 0x40
#define FLAG_BIT7 0x80
void proto_register_wai(void);
void proto_reg_handoff_wai(void);
static reassembly_table wai_reassembly_table;
static dissector_handle_t wai_handle;

View File

@ -51,6 +51,9 @@
#include <epan/expert.h>
#include <epan/show_exception.h>
void proto_register_wassp(void);
void proto_reg_handoff_wassp(void);
/* protocol handles */
static int proto_wassp = -1;

View File

@ -43,6 +43,9 @@
#define WA_V2_PAYLOAD_OFFSET 40
#define WA_V3_PAYLOAD_OFFSET 44
void proto_register_waveagent(void);
void proto_reg_handoff_waveagent(void);
/* Initialize the protocol and registered fields */
static int proto_waveagent = -1;
static int hf_waveagent_controlword = -1;