static guint udp_port_pref = UDP_PORT_SML;
/* Forward declaration we need below (if using proto_reg_handoff as a prefs callback)*/
+void proto_register_sml(void);
void proto_reg_handoff_sml(void);
/* Initialize the protocol and registered fields */
/*
* For Stats Tree
*/
-void
+static void
smpp_stats_tree_init(stats_tree* st)
{
st_smpp_ops = stats_tree_create_node(st, "SMPP Operations", 0, TRUE);
}
-int
+static int
smpp_stats_tree_per_packet(stats_tree *st, /* st as it was passed to us */
packet_info *pinfo _U_,
epan_dissect_t *edt _U_,
CAN_DATA_DISSECTOR = 1,
CAN_CANOPEN_DISSECTOR = 2,
CAN_DEVICENET_DISSECTOR = 3,
- CAN_J1939_DISSECTOR = 4,
+ CAN_J1939_DISSECTOR = 4
} Dissector_Option;
/* Structure that gets passed between dissectors. Since it's just a simple 32-bit
#define PUBKEY_FLAG_NO_BLINDING (1 << 0)
-const gchar*
+static const gchar*
ssl_private_key_to_str(SSL_PRIVATE_KEY* pk)
{
const gchar *str = "NULL";
/* decrypt data with private key. Store decrypted data directly into input
* buffer */
-int
+static int
ssl_private_decrypt(guint len, guchar* encr_data, SSL_PRIVATE_KEY* pk)
{
gint rc;
return 0;
}
-int
+static int
ssl3_check_mac(SslDecoder*decoder,int ct,guint8* data,
guint32 datalen, guint8* mac)
{
}
#ifdef HAVE_LIBZ
-int
+static int
ssl_decompress_record(SslDecompress* decomp, const guchar* in, guint inl, StringInfo* out_str, guint* outl)
{
gint err;
}
#define RSA_PARS 6
-SSL_PRIVATE_KEY*
+static SSL_PRIVATE_KEY*
ssl_privkey_to_sexp(struct gnutls_x509_privkey_int* priv_key)
{
gnutls_datum_t rsa_datum[RSA_PARS]; /* m, e, d, p, q, u */
#include <epan/uat.h>
#include <epan/exported_pdu.h>
+void proto_register_ssl(void);
+
static ssldecrypt_assoc_t *sslkeylist_uats = NULL;
static guint nssldecrypt = 0;
#include <wiretap/stanag4607.h>
+void proto_register_stanag4607(void);
+void proto_reg_handoff_stanag4607(void);
+
static int proto_stanag4607 = -1;
static int hf_4607_version = -1;
#include "packet-t38.h"
#include "packet-t30.h"
+void proto_register_t30(void);
void proto_reg_handoff_t30(void);
/* T30 */
#include "packet-ip.h"
#include "packet-icmp.h"
+void proto_register_tcp(void);
+void proto_reg_handoff_tcp(void);
+
static int tcp_tap = -1;
/* Place TCP summary in proto tree */
struct tcp_analysis *tcpd, struct tcpinfo *tcpinfo);
-struct tcp_analysis *
+static struct tcp_analysis *
init_tcp_conversation_data(packet_info *pinfo)
{
struct tcp_analysis *tcpd;
static gint pref_tdmoe_d_channel = 24;
-void proto_reg_handoff_tdmoe(void);
-
static int
dissect_tdmoe(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
#define TS2_STATUS_MUTEMICROPHONE 16
#define TS2_STATUS_MUTE 32
-void proto_reg_handoff_teamspeak2(void);
-void proto_register_teamspeak2(void);
+void proto_reg_handoff_ts2(void);
+void proto_register_ts2(void);
static int hf_msg_fragments = -1;
static int hf_msg_fragment = -1;
#include "packet-tn3270.h"
+void proto_register_tn3270(void);
+
/* Note well:
* In the IBM "3270 Information Display System: Data Stream Programmer's Reference"
* document, the references to bit numbers in the text and tables
#include <epan/to_str.h>
#include <epan/expert.h>
+void proto_register_trmac(void);
+
static int proto_trmac = -1;
static int hf_trmac_mv = -1;
static int hf_trmac_length = -1;
#include <epan/packet.h>
#include <epan/prefs.h>
+void proto_register_uhd(void);
+
static gint dissector_port_pref = 0;
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
#include <epan/etypes.h>
#include <epan/prefs.h>
-void proto_reg_handoff_vlan(void);
+void proto_register_vlan(void);
void proto_reg_handoff_vlan(void);
static unsigned int q_in_q_ethertype = 0x9100;