Fix [-Wmissing-prototypes]

svn path=/trunk/; revision=54135
This commit is contained in:
Jakub Zawadzki 2013-12-15 23:44:12 +00:00
parent 59dddc25ec
commit c45475ab45
227 changed files with 629 additions and 105 deletions

View File

@ -57,6 +57,9 @@
#include "packet-ieee802154.h"
#include "packet-6lowpan.h"
void proto_register_6lowpan(void);
void proto_reg_handoff_6lowpan(void);
/* Definitions for 6lowpan packet disassembly structures and routines */
/* 6LoWPAN Patterns */

View File

@ -45,6 +45,9 @@
#include <epan/wmem/wmem.h>
#include "packet-tcp.h"
void proto_register_amqp(void);
void proto_reg_handoff_amqp(void);
/* Generic data */
static int amqp_port = 5672;

View File

@ -38,6 +38,9 @@
#include <epan/prefs.h>
void proto_register_amr(void);
void proto_reg_handoff_amr(void);
#define AMR_NB_SID 8
#define AMR_WB_SID 9
#define AMR_NO_TRANS 15
@ -617,8 +620,6 @@ dissect_amr_name(tvbuff_t *tvb _U_, packet_info *pinfo, proto_tree *tree, void*
return tvb_length(tvb);
}
void proto_reg_handoff_amr(void);
void
proto_register_amr(void)
{

View File

@ -29,7 +29,7 @@
#include <wiretap/wtap.h>
void proto_register_ascend(void);
void proto_reg_handoff_acend(void);
void proto_reg_handoff_ascend(void);
static int proto_ascend = -1;
static int hf_link_type = -1;

View File

@ -34,6 +34,9 @@
#include "wmem/wmem.h"
#include <stdio.h>
void proto_register_asterix(void);
void proto_reg_handoff_asterix(void);
#define PROTO_TAG_ASTERIX "ASTERIX"
#define ASTERIX_PORT 8600

View File

@ -31,6 +31,9 @@
#include <epan/addr_resolv.h>
#include <epan/wmem/wmem.h>
void proto_register_bat(void);
void proto_reg_handoff_bat(void);
/* Start content from packet-bat.h */
#define BAT_BATMAN_PORT 4305
#define BAT_GW_PORT 4306
@ -156,9 +159,6 @@ static const value_string vis_packettypenames[] = {
{ 0, NULL }
};
/* forward declaration */
void proto_reg_handoff_bat(void);
/* supported packet dissectors */
static void dissect_bat_batman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int dissect_bat_batman_v5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);

View File

@ -35,6 +35,9 @@
#include <epan/prefs.h>
#include <epan/wmem/wmem.h>
void proto_register_bt_dht(void);
void proto_reg_handoff_bt_dht(void);
/* Specifications: BEP-0005
* http://www.bittorrent.org/beps/bep_0005.html
*/
@ -495,8 +498,6 @@ gboolean dissect_bt_dht_heur (tvbuff_t *tvb, packet_info *pinfo,
return FALSE;
}
void proto_reg_handoff_bt_dht(void);
void
proto_register_bt_dht(void)
{

View File

@ -34,6 +34,9 @@
#include <epan/packet.h>
void proto_register_bvlc(void);
void proto_reg_handoff_bvlc(void);
/* Taken from add-135a (BACnet-IP-standard paper):
*
* The default UDP port for both directed messages and broadcasts shall
@ -312,8 +315,6 @@ dissect_bvlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
return tvb_reported_length(tvb);
}
void proto_reg_handoff_bvlc(void);
void
proto_register_bvlc(void)
{

View File

@ -34,6 +34,9 @@
#include <epan/sminmpec.h>
void proto_register_capwap_control(void);
void proto_reg_handoff_capwap(void);
#define UDP_PORT_CAPWAP_CONTROL 5246
#define UDP_PORT_CAPWAP_DATA 5247
@ -50,9 +53,6 @@ static reassembly_table capwap_reassembly_table;
* add support of all Messages Element Type
*/
/* Forward declaration we need below */
void proto_reg_handoff_capwap(void);
/* Initialize the protocol and registered fields */
static int proto_capwap = -1;

View File

@ -31,6 +31,9 @@
#include <epan/ipproto.h>
#include <epan/in_cksum.h>
void proto_register_carp(void);
void proto_reg_handoff_carp(void);
static gint proto_carp = -1;
static gint ett_carp = -1;
static gint ett_carp_ver_type = -1;

View File

@ -47,6 +47,9 @@
#include "packet-rlc-lte.h"
#include "packet-pdcp-lte.h"
void proto_reg_handoff_catapult_dct2000(void);
void proto_register_catapult_dct2000(void);
/* Protocol and registered fields. */
static int proto_catapult_dct2000 = -1;
@ -296,8 +299,6 @@ static dissector_handle_t mac_lte_handle;
static dissector_handle_t rlc_lte_handle;
static dissector_handle_t pdcp_lte_handle;
void proto_register_catapult_dct2000(void);
static dissector_handle_t look_for_dissector(const char *protocol_name);
static void parse_outhdr_string(const guchar *outhdr_string, gint outhdr_length);

View File

@ -38,6 +38,8 @@
#include "packet-gsm_map.h"
#include "packet-gsm_sms.h"
void proto_register_cbs(void);
#define GSM_CBS_PAGE_SIZE 88
const value_string message_id_values[] = {

View File

@ -65,6 +65,9 @@
#include <epan/prefs.h>
#include <epan/expert.h>
void proto_register_erspan(void);
void proto_reg_handoff_erspan(void);
static int proto_erspan = -1;
static gint ett_erspan = -1;

View File

@ -32,6 +32,9 @@
#include "packet-ieee8023.h"
#endif
void proto_register_cmd(void);
void proto_reg_handoff_cmd(void);
static dissector_handle_t ethertype_handle;
static int proto_cmd = -1;

View File

@ -230,6 +230,9 @@
#include "packet-dcm.h"
void proto_register_dcm(void);
void proto_reg_handoff_dcm(void);
#define DICOM_DEFAULT_RANGE "104"
/* Many thanks to http://medicalconnections.co.uk/ for the GUID */

View File

@ -33,6 +33,8 @@
#include "packet-dcom.h"
#include "packet-dcom-dispatch.h"
void proto_register_dcom_dispatch(void);
void proto_reg_handoff_dcom_dispatch(void);
static int hf_dispatch_opnum = -1;

View File

@ -32,6 +32,9 @@
#include "packet-dcerpc.h"
#include "packet-dcom.h"
void proto_register_oxid(void);
void proto_reg_handoff_oxid(void);
static int proto_oxid = -1;
static int hf_oxid_opnum = -1;

View File

@ -33,8 +33,8 @@
#include "packet-dcom.h"
void proto_register_dcom_remact(void);
void proto_reg_handoff_dcom_remact(void);
void proto_register_remact(void);
void proto_reg_handoff_remact(void);
static int hf_remact_opnum = -1;

View File

@ -34,6 +34,8 @@
#include "packet-dcom.h"
#include "guid-utils.h"
void proto_register_remunk(void);
void proto_reg_handoff_remunk(void);
static int hf_remunk_opnum = -1;

View File

@ -32,6 +32,8 @@
#include "packet-dcerpc.h"
#include "packet-dcom.h"
void proto_register_ISystemActivator(void);
void proto_reg_handoff_ISystemActivator(void);
static int proto_ISystemActivator = -1;

View File

@ -37,6 +37,8 @@
#include <epan/reassemble.h>
#include "packet-cip.h"
void proto_register_devicenet(void);
#define DEVICENET_CANID_MASK 0x7FF
#define MESSAGE_GROUP_1_ID 0x3FF
#define MESSAGE_GROUP_1_MSG_MASK 0x3C0

View File

@ -56,6 +56,9 @@
#include "packet-p1.h"
#include "packet-p22.h"
void proto_register_dmp(void);
void proto_reg_handoff_dmp(void);
#define PNAME "Direct Message Profile"
#define PSNAME "DMP"
#define PFNAME "dmp"
@ -162,8 +165,6 @@
/* Maximum lengths */
#define MAX_SIC_LEN 30
void proto_reg_handoff_dmp (void);
static int proto_dmp = -1;
static int hf_dmp_id = -1;

View File

@ -46,6 +46,7 @@
* but it's all I could find....
*/
void proto_register_dtp(void);
void proto_reg_handoff_dtp(void);
static int proto_dtp = -1;
static int hf_dtp_version = -1;

View File

@ -38,6 +38,7 @@
#include "packet-e212.h"
#include "expert.h"
void proto_register_e212(void);
/*
* Annex to ITU Operational Bulletin

View File

@ -35,6 +35,9 @@
#include "packet-ieee802a.h"
#include "packet-lldp.h"
void proto_register_ecp_oui(void);
void proto_reg_handoff_ecp(void);
#define ECP_SUBTYPE 0
#define VDP_TLV_TYPE 0x02
@ -45,9 +48,6 @@
#define VDP_FIF_GROUPVID 0x03
#define VDP_FIF_GROUPVMACVID 0x04
void proto_register_ecp_oui(void);
void proto_reg_handoff_ecp_oui(void);
static gint proto_ecp = -1;
static gint hf_ecp_pid = -1;
static gint hf_ecp_subtype = -1;

View File

@ -51,6 +51,9 @@
#include "packet-enip.h"
#include "packet-cipsafety.h"
void proto_register_enip(void);
void proto_reg_handoff_enip(void);
/* Communication Ports */
#define ENIP_ENCAP_PORT 44818 /* EtherNet/IP located on port 44818 */
#define ENIP_IO_PORT 2222 /* EtherNet/IP IO located on port 2222 */

View File

@ -54,6 +54,9 @@
#include <epan/etypes.h>
#include <epan/prefs.h>
void proto_register_epl(void);
void proto_reg_handoff_epl(void);
#ifndef UDP_PORT_EPL
#define UDP_PORT_EPL 3819
#endif

View File

@ -39,6 +39,8 @@
#include <epan/etypes.h>
#include <epan/emem.h>
void proto_register_epl_v1(void);
void proto_reg_handoff_epl_v1(void);
/* Offsets of fields within an EPL_V1 packet. */
#define EPL_V1_SERVICE_OFFSET 0 /* same offset for all message types*/

View File

@ -37,6 +37,9 @@
*/
#include "wiretap/erf.h"
void proto_register_erf(void);
void proto_reg_handoff_erf(void);
#define EXT_HDR_TYPE_CLASSIFICATION 3
#define EXT_HDR_TYPE_INTERCEPTID 4
#define EXT_HDR_TYPE_RAW_LINK 5

View File

@ -44,6 +44,9 @@
#include <epan/dissectors/packet-tcp.h>
#include <epan/wmem/wmem.h>
void proto_register_etch(void);
void proto_reg_handoff_etch(void);
/*
* maximum numbers for symbols from config files
*/
@ -162,7 +165,6 @@ static void read_struct(unsigned int *offset, tvbuff_t *tvb,
proto_tree *etch_tree, int add_type_field);
static int read_value(unsigned int *offset, tvbuff_t *tvb, proto_tree *etch_tree,
int asWhat);
void proto_reg_handoff_etch(void);
/************************************************************************
* Symbol value-string functions

View File

@ -37,6 +37,7 @@
#include "packet-mtp3.h"
#include "packet-dvbci.h"
void proto_register_exported_pdu(void);
void proto_reg_handoff_exported_pdu(void);
static int proto_exported_pdu = -1;

View File

@ -44,6 +44,9 @@
#include <epan/crc32-tvb.h>
#include <epan/expert.h>
void proto_register_fc(void);
void proto_reg_handoff_fc(void);
#define FC_HEADER_SIZE 24
#define FC_RCTL_VFT 0x50
#define MDSHDR_TRAILER_SIZE 6

View File

@ -35,6 +35,9 @@
#include "packet-fc.h"
#include "packet-fcct.h"
void proto_register_fcct(void);
void proto_reg_handoff_fcct(void);
/* Initialize the protocol and registered fields */
static int proto_fcct = -1;
static int hf_fcct_revision = -1;

View File

@ -44,6 +44,9 @@
#include "packet-fcdns.h"
#include "packet-fcswils.h"
void proto_register_fcdns(void);
void proto_reg_handoff_fcdns(void);
/*
* See FC-GS-2.
*/

View File

@ -42,6 +42,9 @@
#include "packet-fc.h"
#include "packet-fcels.h"
void proto_register_fcels(void);
void proto_reg_handoff_fcels(void);
#define FC_ELS_RPLY 0
#define FC_ELS_REQ 1

View File

@ -37,6 +37,9 @@
#include "packet-fcct.h"
#include "packet-fcfcs.h"
void proto_register_fcfcs(void);
void proto_reg_handoff_fcfcs(void);
/*
* See the FC-GS3 specification.
*/

View File

@ -37,6 +37,9 @@
#include "packet-fcct.h"
#include "packet-fcfzs.h"
void proto_register_fcfzs(void);
void proto_reg_handoff_fcfzs(void);
/* Initialize the protocol and registered fields */
static int proto_fcfzs = -1;
static int hf_fcfzs_opcode = -1;

View File

@ -29,6 +29,9 @@
#include <epan/prefs.h>
#include "packet-tcp.h"
void proto_register_fcgi(void);
void proto_reg_handoff_fcgi(void);
static int proto_fcgi = -1;
static guint tcp_port = 0;
@ -97,8 +100,6 @@ static const value_string protocol_statuses[] = {
{ 0, NULL }
};
void proto_reg_handoff_fcgi(void);
static void
dissect_nv_pairs(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len)
{

View File

@ -32,6 +32,9 @@
#include <epan/prefs.h>
#include "packet-fc.h"
void proto_register_fcip(void);
void proto_reg_handoff_fcip(void);
#define FCIP_ENCAP_HEADER_LEN 28
#define FCIP_MIN_HEADER_LEN 16 /* upto frame len field */
#define FCIP_IS_SF(pflags) ((pflags & 0x1) == 0x1)

View File

@ -42,6 +42,9 @@
#include <epan/wmem/wmem.h>
#include "packet-fc.h"
void proto_register_fcoe(void);
void proto_reg_handoff_fcoe(void);
#define FCOE_HEADER_LEN 14 /* header: version, SOF, and padding */
#define FCOE_TRAILER_LEN 8 /* trailer: CRC, EOF, and padding */

View File

@ -52,13 +52,13 @@
# include "wsutil/inet_v6defs.h"
#endif
void proto_register_fcoib(void);
void proto_reg_handoff_fcoib(void);
#define FCOIB_HEADER_LEN 16 /* header: encap. header, SOF, and padding */
#define FCOIB_TRAILER_LEN 8 /* trailer: FC-CRC, EOF and padding */
#define FCOIB_VER_OFFSET 2 /* offset of ver field (in bytes) inside FCoIB Encap. header */
/* Forward declaration we need below (for using proto_reg_handoff as a prefs callback) */
void proto_reg_handoff_fcoib(void);
typedef enum {
FCOIB_EOFn = 0x41,
FCOIB_EOFt = 0x42,

View File

@ -36,6 +36,9 @@
#include "packet-fcp.h"
#include "packet-fcels.h"
void proto_register_fcp(void);
void proto_reg_handoff_fcp(void);
typedef struct _fcp_proto_data_t {
guint16 lun;
} fcp_proto_data_t;

View File

@ -35,6 +35,9 @@
#include "packet-fc.h"
#include "packet-fcsb3.h"
void proto_register_fcsbccs(void);
void proto_reg_handoff_fcsbccs(void);
/* Initialize the protocol and registered fields */
static int proto_fc_sbccs = -1;
static int hf_sbccs_chid = -1;

View File

@ -35,6 +35,8 @@
#include "packet-scsi.h"
#include "packet-fc.h"
void proto_register_fcsp(void);
/* Message Codes */
#define FC_AUTH_MSG_AUTH_REJECT 0x0A
#define FC_AUTH_MSG_AUTH_NEGOTIATE 0x0B

View File

@ -37,6 +37,9 @@
#include "packet-fcswils.h"
#include "packet-fcct.h"
void proto_register_fcswils(void);
void proto_reg_handoff_fcswils(void);
/*
* See the FC-SW specifications.
*/

View File

@ -32,7 +32,8 @@
#include <epan/oui.h>
#include <epan/nlpid.h>
void proto_register_fefd(void);
void proto_reg_handoff_fefd(void);
/* Offsets in TLV structure. */
#define TLV_TYPE 0

View File

@ -49,7 +49,8 @@
#include "packet-ff.h"
#include "packet-tcp.h"
void proto_register_ff(void);
void proto_reg_handoff_ff(void);
static int proto_ff = -1;
static gint ett_ff = -1;

View File

@ -44,6 +44,9 @@
#include <epan/expert.h>
#include "packet-fc.h"
void proto_register_fip(void);
void proto_reg_handoff_fip(void);
/*
* FIP protocol information.
*/

View File

@ -42,6 +42,9 @@
#include "packet-tcp.h"
#include "packet-ssl.h"
void proto_register_fix(void);
void proto_reg_handoff_fix(void);
typedef struct _fix_parameter {
int field_len;
int tag_len;

View File

@ -43,6 +43,9 @@
#include <epan/packet.h>
#include <epan/ax25_pids.h>
void proto_register_flexnet(void);
void proto_reg_handoff_flexnet(void);
#define FLEXNET_ADRLEN 15
#define FLEXNET_CTLLEN 15
#define FLEXNET_HDRLEN (FLEXNET_ADRLEN + FLEXNET_ADRLEN + FLEXNET_CTLLEN)

View File

@ -57,6 +57,9 @@
#include <epan/rtp_pt.h>
void proto_register_flip(void);
void proto_reg_handoff_flip(void);
static int proto_flip = -1;
/* BASIC */
@ -135,8 +138,6 @@ static dissector_handle_t data_handle;
static dissector_handle_t forced_handle;
/* Forward declaration. */
void
proto_reg_handoff_flip(void);
static gboolean
is_payload_rtp(tvbuff_t *tvb);
static gboolean

View File

@ -29,6 +29,8 @@
#include "packet-fmp.h"
#include "packet-rpc.h"
void proto_register_fmp(void);
void proto_reg_handoff_fmp(void);
static int hf_fmp_procedure = -1;
static int hf_fmp_fsID = -1;

View File

@ -32,6 +32,9 @@
#include "packet-rpc.h"
#include "packet-fmp.h"
void proto_register_fmp_notify(void);
void proto_reg_handoff_fmp_notify(void);
#define FMP_NOTIFY_PROG 1001912
#define FMP_NOTIFY_VERSION_2 2

View File

@ -33,6 +33,9 @@
#include <epan/packet.h>
#include "packet-tcp.h"
void proto_register_fmtp(void);
void proto_reg_handoff_fmtp(void);
static int proto_fmtp = -1;
static int hf_fmtp_pdu_version = -1;
static int hf_fmtp_pdu_reserved = -1;

View File

@ -27,6 +27,8 @@
#include "packet-llc.h"
#include <epan/oui.h>
void proto_register_force10_oui(void);
static int hf_llc_force10_pid = -1;
static const value_string force10_pid_vals[] = {

View File

@ -32,6 +32,9 @@
#include <epan/prefs.h>
#include <epan/expert.h>
void proto_register_forces(void);
void proto_reg_handoff_forces(void);
static dissector_handle_t ip_handle;
/* Initialize the ForCES protocol and registered fields */
@ -613,8 +616,6 @@ dissect_forces_not_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_forces(tvb, pinfo, tree, 0);
}
void proto_reg_handoff_forces(void);
void
proto_register_forces(void)
{

View File

@ -34,6 +34,10 @@
#include "packet-llc.h"
#include <epan/oui.h>
void proto_register_fdp(void);
void proto_reg_handoff_fdp(void);
void proto_register_foundry_oui(void);
static int hf_llc_foundry_pid = -1;
static int proto_fdp = -1;

View File

@ -35,6 +35,9 @@
#include "packet-umts_mac.h"
#include "packet-rlc.h"
void proto_register_fp_hint(void);
void proto_reg_handoff_fp_hint(void);
static int proto_fp_hint = -1;
extern int proto_fp;
extern int proto_umts_mac;

View File

@ -52,6 +52,9 @@
#include <epan/nlpid.h>
#include <epan/greproto.h>
void proto_register_fr(void);
void proto_reg_handoff_fr(void);
/*
* Bits in the address field.
*/

View File

@ -33,6 +33,8 @@
#include <epan/packet.h>
#include <epan/sctpppids.h>
void proto_register_fractalgeneratorprotocol(void);
void proto_reg_handoff_fractalgeneratorprotocol(void);
#define FRACTALGENERATORPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY 0x29097601

View File

@ -47,6 +47,9 @@
#include "color.h"
#include "color_filters.h"
void proto_register_frame(void);
void proto_reg_handoff_frame(void);
int proto_frame = -1;
static int proto_pkt_comment = -1;
int hf_frame_arrival_time = -1;

View File

@ -53,7 +53,8 @@
#include "wsutil/inet_v6defs.h" /* if not a *NIX system */
#endif
void proto_register_ftp(void);
void proto_reg_handoff_ftp(void);
static int proto_ftp = -1;
static int proto_ftp_data = -1;

View File

@ -32,6 +32,8 @@
#include <epan/packet.h>
#include <epan/rtp_pt.h>
void proto_reg_handoff_g723(void);
void proto_register_g723(void);
/* Initialize the protocol and registered fields */
static int proto_g723 = -1;

View File

@ -29,6 +29,9 @@
#include <epan/packet.h>
void proto_register_gdsdb(void);
void proto_reg_handoff_gdsdb(void);
#define TCP_PORT 3050
static int proto_gdsdb = -1;

View File

@ -35,6 +35,9 @@
#include <epan/expert.h>
#include "packet-tcp.h"
void proto_register_gearman(void);
void proto_reg_handoff_gearman(void);
static int proto_gearman = -1;
static int hf_gearman_mgr_cmd = -1;

View File

@ -49,6 +49,9 @@
#include <epan/prefs.h>
#include "packet-tcp.h"
void proto_register_ged125(void);
void proto_reg_handoff_ged125(void);
static int proto_ged125 = -1;
static gint hf_ged125_length = -1;

View File

@ -32,6 +32,9 @@
#include <epan/packet.h>
#include <epan/strutil.h>
void proto_register_gift(void);
void proto_reg_handoff_gift(void);
#define TCP_PORT_GIFT 1213
static int proto_gift = -1;

View File

@ -302,6 +302,8 @@
#include <wsutil/file_util.h>
#include <wsutil/pint.h>
void proto_register_giop(void);
void proto_reg_handoff_giop(void);
/*
* Set to 1 for DEBUG output - TODO make this a runtime option

View File

@ -42,6 +42,9 @@
#include "packet-rpc.h"
#include "packet-gluster.h"
void proto_register_gluster_cli(void);
void proto_reg_handoff_gluster_cli(void);
/* Initialize the protocol and registered fields */
static gint proto_gluster_cli = -1;

View File

@ -42,6 +42,11 @@
#include "packet-rpc.h"
#include "packet-gluster.h"
void proto_register_gluster_pmap(void);
void proto_reg_handoff_gluster_pmap(void);
void proto_register_gluster_dump(void);
void proto_reg_handoff_gluster_dump(void);
/* Initialize the protocol and registered fields */
static gint proto_gluster_pmap = -1;
static gint proto_gluster_dump = -1;

View File

@ -44,6 +44,9 @@
#include "packet-rpc.h"
#include "packet-gluster.h"
void proto_register_glusterfs(void);
void proto_reg_handoff_glusterfs(void);
/* Initialize the protocol and registered fields */
static gint proto_glusterfs = -1;

View File

@ -42,6 +42,11 @@
#include "packet-rpc.h"
#include "packet-gluster.h"
void proto_register_gluster_hndsk(void);
void proto_reg_handoff_gluster_hndsk(void);
void proto_register_gluster_cbk(void);
void proto_reg_handoff_gluster_cbk(void);
/* Initialize the protocol and registered fields */
static gint proto_gluster_cbk = -1;
static gint proto_gluster_hndsk = -1;

View File

@ -37,6 +37,7 @@
#include "packet-csn1.h"
void proto_register_gmr1_bcch(void);
/* GMR-1 BCCH proto */
static int proto_gmr1_bcch = -1;

View File

@ -39,6 +39,7 @@
#include "packet-gmr1_common.h"
void proto_register_gmr1_common(void);
/* GMR-1 Common proto */
static int proto_gmr1_common = -1;
@ -370,9 +371,3 @@ proto_register_gmr1_common(void)
proto_register_field_array(proto_gmr1_common, hf, array_length(hf));
}
void
proto_reg_handoff_gmr1_common(void)
{
/* Nothing to do */
}

View File

@ -36,6 +36,8 @@
#include "packet-gmr1_common.h"
void proto_register_gmr1_dtap(void);
void proto_reg_handoff_gmr1_dtap(void);
/* GMR-1 DTAP proto */
static int proto_gmr1_dtap = -1;

View File

@ -41,6 +41,8 @@
#include "packet-csn1.h"
void proto_register_gmr1_rach(void);
void proto_reg_handoff_gmr1_rach(void);
/* GMR-1 RACH proto */
static int proto_gmr1_rach = -1;

View File

@ -40,6 +40,9 @@
#include "packet-gmr1_common.h"
#include "packet-gsm_sms.h"
void proto_register_gmr1_rr(void);
void proto_reg_handoff_gmr1_rr(void);
/* GMR-1 RR and CCCH proto */
static int proto_gmr1_rr = -1;
static int proto_gmr1_ccch = -1;

View File

@ -33,6 +33,9 @@
#include <epan/packet.h>
#include <epan/llcsaps.h>
void proto_register_gmrp(void);
void proto_reg_handoff_gmrp(void);
/* Initialize the protocol and registered fields */
static int proto_gmrp = -1;
static int hf_gmrp_proto_id = -1;

View File

@ -31,6 +31,9 @@
#include "packet-gnutella.h"
#include "packet-tcp.h"
void proto_register_gnutella(void);
void proto_reg_handoff_gnutella(void);
/*
* See
*

View File

@ -23,8 +23,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
void proto_register_gnutella(void);
#define GNUTELLA_TCP_PORT 6346
/*

View File

@ -37,6 +37,9 @@
#include <epan/packet.h>
#include <epan/prefs.h>
void proto_register_gopher(void);
void proto_reg_handoff_gopher(void);
/* Initialize the protocol and registered fields */
static int proto_gopher = -1;
static int hf_gopher_request = -1;

View File

@ -30,6 +30,9 @@
#include <epan/packet.h>
#include <epan/prefs.h>
void proto_register_llcgprs(void);
void proto_reg_handoff_llcgprs(void);
#define I_FORMAT 1
#define S_FORMAT 2
#define UI_FORMAT 3

View File

@ -36,6 +36,9 @@
#include "packet-gre.h"
#include "packet-wccp.h"
void proto_register_gre(void);
void proto_reg_handoff_gre(void);
/*
* See RFC 1701 "Generic Routing Encapsulation (GRE)", RFC 1702
* "Generic Routing Encapsulation over IPv4 networks", RFC 2637

View File

@ -60,6 +60,9 @@
#include "packet-rtp.h"
#include "packet-gsm_map.h"
void proto_register_gsm_a_bssmap(void);
void proto_reg_handoff_gsm_a_bssmap(void);
/* PROTOTYPES/FORWARDS */
/* TS 48.008 3.2.2.1 Message Type */

View File

@ -45,6 +45,7 @@
#include "packet-gmr1_common.h"
#include "packet-e212.h"
void proto_register_gsm_a_common(void);
static const value_string gsm_common_elem_strings[] = {
/* Common Information Elements 10.5.1 */

View File

@ -120,6 +120,9 @@
#include "expert.h"
#include "packet-isup.h"
void proto_register_gsm_a_dtap(void);
void proto_reg_handoff_gsm_a_dtap(void);
/* PROTOTYPES/FORWARDS */
const value_string gsm_a_dtap_msg_mm_strings[] = {

View File

@ -88,6 +88,9 @@
#include "packet-ppp.h"
#include "ipproto.h"
void proto_register_gsm_a_gm(void);
void proto_reg_handoff_gsm_a_gm(void);
/* PROTOTYPES/FORWARDS */
const value_string gsm_a_dtap_msg_gmm_strings[] = {

View File

@ -43,6 +43,9 @@
#include "packet-sccp.h"
#include "packet-gsm_a_common.h"
void proto_register_gsm_a_rp(void);
void proto_reg_handoff_gsm_a_rp(void);
/* PROTOTYPES/FORWARDS */
static const value_string gsm_rp_msg_strings[] = {

View File

@ -59,6 +59,9 @@
#include "packet-e212.h"
#include "packet-ppp.h"
void proto_register_gsm_a_rr(void);
void proto_reg_handoff_gsm_a_rr(void);
static dissector_handle_t rrc_irat_ho_info_handle;
static dissector_handle_t rrc_irat_ho_to_utran_cmd_handle;

View File

@ -40,6 +40,8 @@
#include <stdio.h>
void proto_register_abis_om2000(void);
/* initialize the protocol and registered fields */
static int proto_abis_om2000 = -1;

View File

@ -36,6 +36,9 @@
#include "packet-gsm_a_common.h"
void proto_register_abis_oml(void);
void proto_reg_handoff_abis_oml(void);
/* From openbsc/include/openbsc/abis_nm.h */
#define ABIS_OM_MDISC_FOM 0x80

View File

@ -33,6 +33,9 @@
#include "packet-gsm_a_common.h"
void proto_reg_handoff_gsm_bsslap(void);
void proto_register_gsm_bsslap(void);
static dissector_handle_t bsslap_rrlp_handle = NULL;
/* Initialize the protocol and registered fields */

View File

@ -39,6 +39,9 @@
#include "packet-gsm_a_common.h"
#include "packet-e212.h"
void proto_register_gsm_bssmap_le(void);
void proto_reg_handoff_gsm_bssmap_le(void);
/* PROTOTYPES/FORWARDS */
/* Message Type definitions */

View File

@ -30,6 +30,9 @@
#include <epan/reassemble.h>
#include "packet-cell_broadcast.h"
void proto_register_gsm_cbch(void);
void proto_reg_handoff_gsm_cbch(void);
#define CBCH_FRAGMENT_SIZE 22
const value_string block_type_lpd_strings[] = {

View File

@ -32,6 +32,9 @@
#include <epan/ipproto.h>
#include <epan/prefs.h>
void proto_register_ipa(void);
void proto_reg_handoff_gsm_ipa(void);
/*
* Protocol used by ip.access's nanoBTS/nanoGSM GSM picocells:
*
@ -371,8 +374,6 @@ dissect_ipa(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
void proto_reg_handoff_gsm_ipa(void);
void proto_register_ipa(void)
{
module_t *ipa_module;

View File

@ -58,6 +58,9 @@
#include "packet-csn1.h"
#include "packet-gsm_rlcmac.h"
void proto_register_gsm_rlcmac(void);
void proto_reg_handoff_gsm_rlcmac(void);
/* private typedefs */
typedef struct
{

View File

@ -35,6 +35,9 @@
#include <epan/lapd_sapi.h>
#include <epan/prefs.h>
void proto_register_gsm_sim(void);
void proto_reg_handoff_gsm_sim(void);
static int proto_gsm_sim = -1;
/* ISO 7816-4 APDU */
@ -1457,9 +1460,6 @@ dissect_gsm_sim_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_rsp_apdu_tvb(tvb, 0, pinfo, tree, NULL);
}
void
proto_reg_handoff_gsm_sim(void);
void
proto_register_gsm_sim(void)
{

View File

@ -48,6 +48,8 @@
#include "packet-gsm_sms.h"
void proto_register_gsm_sms(void);
#define MAX_SMS_FRAG_LEN 134
/* PROTOTYPES/FORWARDS */
@ -3832,12 +3834,6 @@ proto_register_gsm_sms(void)
register_init_routine (gsm_sms_defragment_init);
}
void
proto_reg_handoff_gsm_sms(void)
{
}
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html
*

View File

@ -65,6 +65,9 @@
#include <epan/prefs.h>
#include <epan/reassemble.h>
void proto_register_gsm_sms_ud(void);
void proto_reg_handoff_gsm_sms_ud(void);
static void dissect_gsm_sms_ud(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int proto_gsm_sms_ud = -1;

View File

@ -31,6 +31,9 @@
#include <epan/prefs.h>
#include <epan/circuit.h>
void proto_register_gsm_um(void);
void proto_reg_handoff_gsm_um(void);
static int proto_gsm_um = -1;
static int hf_gsm_um_direction = -1;
static int hf_gsm_um_channel = -1;

Some files were not shown because too many files have changed in this diff Show More