{ NULL, {0x0, 0x0, 0x0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } } }
};
-const aim_client_plugin *aim_find_plugin ( e_uuid_t uuid)
+static const aim_client_plugin *aim_find_plugin ( e_uuid_t uuid)
{
int i;
return NULL;
}
-int dissect_aim_plugin(proto_tree *entry, tvbuff_t *tvb, int offset, e_uuid_t* out_plugin_uuid)
+static int dissect_aim_plugin(proto_tree *entry, tvbuff_t *tvb, int offset, e_uuid_t* out_plugin_uuid)
{
const aim_client_plugin *plugin = NULL;
e_uuid_t uuid;
return dissect_aim_tlv_list(tvb, pinfo, offset, tree, onlinebuddy_tlvs);
}
-int dissect_aim_fnac_flags(tvbuff_t *tvb, int offset, int len, proto_item *ti, guint16 flags)
+static int dissect_aim_fnac_flags(tvbuff_t *tvb, int offset, int len, proto_item *ti, guint16 flags)
{
proto_tree *entry = proto_item_add_subtree(ti, ett_aim_fnac_flags);
proto_tree_add_boolean(entry, hf_aim_fnac_flag_next_is_related, tvb, offset, len, flags);
{ NULL, {0x0, 0x0, 0x0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } } }
};
-const aim_client_capability *aim_find_capability ( e_uuid_t clsid)
+static const aim_client_capability *aim_find_capability ( e_uuid_t clsid)
{
int i;
-int
+static int
atsvc_dissect_JobTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
{
guint32 job_time;
return offset;
}
-void cb_byte_array_postprocess(packet_info *pinfo, proto_tree *tree _U_,
+static void cb_byte_array_postprocess(packet_info *pinfo, proto_tree *tree _U_,
proto_item *item, tvbuff_t *tvb,
int start_offset, int end_offset,
void *callback_args)
/* Sensor/Event NetFN (0x04) */
-void
+static void
dissect_cmd_PlatformEventMessage(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_GetDeviceSDR(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_Device_SDR_Info(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Reserve_Device_SDR_Repository(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Set_Sensor_Hysteresis(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_Sensor_Hysteresis(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Set_Sensor_Thresholds(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_Sensor_Thresholds(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_Sensor_Reading(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype)
{
/* App NetFN (0x06) */
-void
+static void
dissect_cmd_Get_Device_ID(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype)
{
/* Storage NetFN (0x0a) */
-void
+static void
dissect_cmd_Get_FRU_Inventory_Area_Info(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_SEL_Info(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Reserve_SEL(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_SEL_Entry(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Clear_SEL(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
/* Picmg NetFN (0x2c) */
-void
+static void
dissect_cmd_Get_PICMG_Properties(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_FRU_Control(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_FRU_Led_Properties(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_Led_Color_Capabilities(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Set_FRU_Led_State(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_FRU_Led_State(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Set_FRU_Activation_Policy(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Get_FRU_Activation_Policy(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Set_FRU_Activation(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_Device_Locator_Record_ID(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Set_Power_Level(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_Power_Level(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype)
{
}
-void
+static void
dissect_cmd_Set_Fan_Level(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len _U_, guint8 response, guint8 authtype _U_)
{
}
-void
+static void
dissect_cmd_Get_Fan_Level(proto_tree *tree, proto_tree *ipmi_tree, packet_info *pinfo _U_, tvbuff_t *tvb,
gint *poffset, guint8 len, guint8 response, guint8 authtype _U_)
{
/******************************************lane**********************************************/
-void dissect_ipmi_data(proto_tree *, proto_tree *, packet_info *, tvbuff_t *, gint *,
+static void dissect_ipmi_data(proto_tree *, proto_tree *, packet_info *, tvbuff_t *, gint *,
guint8, guint8, guint8, guint8,guint8);
/* ------------------------------------------------------------------
Mapping number to ASCII-character
------------------------------------------------------------------ */
-char number_to_char(int number)
+static char number_to_char(int number)
{
if (number < 10)
return ((char) number + ASCII_NUMBER_DELTA);
/* ------------------------------------------------------------------
Dissector Message Type Initial address message
*/
-gint
+static gint
dissect_isup_initial_address_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type subsequent address message
*/
-gint dissect_isup_subsequent_address_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
+static gint dissect_isup_subsequent_address_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
tvbuff_t *parameter_tvb;
/* ------------------------------------------------------------------
Dissector Message Type Information request message
*/
-gint
+static gint
dissect_isup_information_request_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Information
*/
-gint
+static gint
dissect_isup_information_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Continuity
*/
-gint
+static gint
dissect_isup_continuity_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Address complete
*/
-gint
+static gint
dissect_isup_address_complete_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Connect
*/
-gint
+static gint
dissect_isup_connect_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type release message
*/
-gint
+static gint
dissect_isup_release_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Resume/Suspend
*/
-gint
+static gint
dissect_isup_suspend_resume_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Circuit group reset/query message
*/
-gint
+static gint
dissect_isup_circuit_group_reset_query_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Circuit group blocking/blocking ack/unblocking/unblocking ack messages
*/
-gint
+static gint
dissect_isup_circuit_group_blocking_messages(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Facility request/accepted
*/
-gint
+static gint
dissect_isup_facility_request_accepted_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Facility reject
*/
-gint
+static gint
dissect_isup_facility_reject_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Circuit group reset acknowledgement message
*/
-gint
+static gint
dissect_isup_circuit_group_reset_acknowledgement_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Circuit group query response message
*/
-gint
+static gint
dissect_isup_circuit_group_query_response_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Call Progress
*/
-gint
+static gint
dissect_isup_call_progress_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type User-to-User information
*/
-gint
+static gint
dissect_isup_user_to_user_information_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
/* ------------------------------------------------------------------
Dissector Message Type Confusion
*/
-gint
+static gint
dissect_isup_confusion_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
{ proto_item* parameter_item;
proto_tree* parameter_tree;
return offset;
}
-void
+static void
kerberos_prefs_apply_cb(void) {
#ifdef HAVE_LIBNETTLE
clear_keytab();
* Output:
* void (may modify proto tree)
*/
-void
+static void
nlsp_dissect_unknown(tvbuff_t *tvb, proto_tree *tree, int offset,
char *fmat, ...)
{
static gint ett_pcnfsd_auth_password = -1;
static gint ett_pcnfsd_gids = -1;
-int
+static int
dissect_pcnfsd_username(tvbuff_t *tvb, int offset, proto_tree *tree)
{
return dissect_rpc_string(tvb, tree, hf_pcnfsd_username, offset, NULL);
{ 0, NULL }
};
-int
+static int
dissect_pcnfsd_mapreq(tvbuff_t *tvb, int offset, proto_tree *tree)
{
guint32 mapreq;
return offset;
}
-int
+static int
dissect_pcnfsd2_dissect_mapreq_arg_item(tvbuff_t *tvb, int offset,
packet_info *pinfo _U_, proto_tree *tree)
{
return offset;
}
-int
+static int
dissect_pcnfsd2_mapid_call(tvbuff_t *tvb, int offset, packet_info *pinfo,
proto_tree *tree)
{
{ 0, NULL }
};
-int
+static int
dissect_pcnfsd2_dissect_mapreq_res_item(tvbuff_t *tvb, int offset,
packet_info *pinfo _U_, proto_tree *tree)
{
return offset;
}
-int
+static int
dissect_pcnfsd2_mapid_reply(tvbuff_t *tvb, int offset, packet_info *pinfo,
proto_tree *tree)
{
static gint ett_old_pflog = -1;
-void
+static void
capture_pflog(const guchar *pd, int offset, int len, packet_counts *ld)
{
const struct pfloghdr *pflogh;
}
-void
+static void
capture_old_pflog(const guchar *pd, int offset, int len, packet_counts *ld)
{
struct old_pfloghdr pflogh;
/* separated into a stand alone routine to other protocol dissectors */
/* can call to it, ie. socks */
-void
+static void
decode_pgm_ports(tvbuff_t *tvb, int offset, packet_info *pinfo,
proto_tree *tree, pgm_type *pgmhdr)
{
call_dissector(data_handle,next_tvb, pinfo, tree);
}
-int
+static int
total_size(tvbuff_t *tvb, pgm_type *hdr)
{
int bytes = sizeof(pgm_type);
#include <epan/afn.h>
#include "packet-ipv6.h"
#include <epan/in_cksum.h>
+#include "packet-pim.h"
#define PIM_TYPE(x) ((x) & 0x0f)
#define PIM_VER(x) (((x) & 0xf0) >> 4)
#include <stdio.h>
#include <string.h>
+#include "packet-pkcs1.h"
#include "packet-ber.h"
#include "packet-x509af.h"
}
}
-void
+static void
dissect_q933_bearer_capability_ie(tvbuff_t *tvb, int offset, int len,
proto_tree *tree)
{
{ 0x00, NULL }
};
-void
+static void
dissect_q933_cause_ie(tvbuff_t *tvb, int offset, int len,
proto_tree *tree, int hf_cause_value)
{
{ 0, NULL }
};
-void
+static void
dissect_q933_progress_indicator_ie(tvbuff_t *tvb, int offset, int len,
proto_tree *tree)
{
{ 0x00, NULL }
};
-void
+static void
dissect_q933_high_layer_compat_ie(tvbuff_t *tvb, int offset, int len,
proto_tree *tree)
{
{ 0, NULL }
};
-void
+static void
dissect_q933_user_user_ie(tvbuff_t *tvb, int offset, int len,
proto_tree *tree)
{
/* Initialize the state handler
*
*/
-void
+static void
sigcomp_init_protocol(void)
{
sigcomp_init_udvm();
/* Hash table functions */
/* Equal keys */
-gint sip_equal(gconstpointer v, gconstpointer v2)
+static gint sip_equal(gconstpointer v, gconstpointer v2)
{
const sip_hash_key* val1 = v;
const sip_hash_key* val2 = v2;
/* Compute a hash value for a given key. */
/* Don't try to use addresses here, call-id should be almost unique. */
-guint sip_hash_func(gconstpointer v)
+static guint sip_hash_func(gconstpointer v)
{
gint n;
const sip_hash_key *key = v;
typedef char * (* opaque_token_func_ptr)(tvbuff_t *, guint32, guint8, guint8, guint32 *);
typedef char * (* opaque_literal_func_ptr)(tvbuff_t *, guint32, const char *, guint8, guint32 *);
-char *
+static char *
default_opaque_binary_tag(tvbuff_t *tvb, guint32 offset,
guint8 token _U_, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
default_opaque_literal_tag(tvbuff_t *tvb, guint32 offset,
const char *token _U_, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
default_opaque_binary_attr(tvbuff_t *tvb, guint32 offset,
guint8 token _U_, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
default_opaque_literal_attr(tvbuff_t *tvb, guint32 offset,
const char *token _U_, guint8 codepage _U_, guint32 *length)
{
/* Render a hex %dateTime encoded timestamp as a string.
* 0x20011231123456 becomes "2001-12-31T12:34:56Z" */
-char *
+static char *
date_time_from_opaque(tvbuff_t *tvb, guint32 offset, guint32 data_len)
{
char *str;
/* Is ALWAYS 6 bytes long:
* 00YY YYYY YYYY YYMM MMDD DDDh hhhh mmmm mmss ssss ZZZZ ZZZZ */
-char *
+static char *
wv_datetime_from_opaque(tvbuff_t *tvb, guint32 offset, guint32 data_len)
{
char *str;
/* WV-CSP integer values for tag content is encoded in a fashion similar
* to a Long-Integer in WSP */
-char *
+static char *
wv_integer_from_opaque(tvbuff_t *tvb, guint32 offset, guint32 data_len)
{
char *str;
return str;
}
-char *
+static char *
wv_csp10_opaque_literal_tag(tvbuff_t *tvb, guint32 offset,
const char *token, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
wv_csp10_opaque_binary_tag(tvbuff_t *tvb, guint32 offset,
guint8 token, guint8 codepage, guint32 *length)
{
return str;
}
-char *
+static char *
wv_csp11_opaque_literal_tag(tvbuff_t *tvb, guint32 offset,
const char *token, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
wv_csp11_opaque_binary_tag(tvbuff_t *tvb, guint32 offset,
guint8 token, guint8 codepage, guint32 *length)
{
return str;
}
-char *
+static char *
wv_csp12_opaque_literal_tag(tvbuff_t *tvb, guint32 offset,
const char *token, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
wv_csp12_opaque_binary_tag(tvbuff_t *tvb, guint32 offset,
guint8 token, guint8 codepage, guint32 *length)
{
return str;
}
-char *
+static char *
sic10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset,
const char *token, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
sic10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset,
guint8 token, guint8 codepage, guint32 *length)
{
return str;
}
-char *
+static char *
emnc10_opaque_literal_attr(tvbuff_t *tvb, guint32 offset,
const char *token, guint8 codepage _U_, guint32 *length)
{
return str;
}
-char *
+static char *
emnc10_opaque_binary_attr(tvbuff_t *tvb, guint32 offset,
guint8 token, guint8 codepage, guint32 *length)
{
/* Discriminator for WV-CSP; allows version detection based on parsing parts
* of the start of the WBXML body.
*/
-const wbxml_decoding *
+static const wbxml_decoding *
wv_csp_discriminator(tvbuff_t *tvb, guint32 offset)
{
guint32 magic_1 = tvb_get_ntohl(tvb, offset + 0);
#include "packet-ber.h"
#include "packet-x509sat.h"
+#include "packet-x509if.h"
#define PNAME "X.509 Information Framework"
#define PSNAME "X509IF"