forked from osmocom/wireshark
svn path=/trunk/; revision=48272
This commit is contained in:
parent
ed45af6e36
commit
221b249acd
|
@ -37,8 +37,8 @@
|
|||
#define NINEPORT 564
|
||||
|
||||
/* Forward declarations */
|
||||
void proto_register_9p(void);
|
||||
void proto_reg_handoff_9p(void);
|
||||
void proto_register_9P(void);
|
||||
void proto_reg_handoff_9P(void);
|
||||
|
||||
/*Message types for 9P */
|
||||
/*See man 5 intro on Plan 9 - or;
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
#include <epan/strutil.h>
|
||||
|
||||
/* Forward declarations */
|
||||
void proto_register_aacp(void);
|
||||
void proto_reg_handoff_aacp(void);
|
||||
void proto_register_acap(void);
|
||||
void proto_reg_handoff_acap(void);
|
||||
|
||||
static int proto_acap = -1;
|
||||
static int hf_acap_response = -1;
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
static guint global_agentx_tcp_port = 705;
|
||||
|
||||
void proto_register_agentx(void);
|
||||
void proto_reg_handoff_agentx(void);
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_admin(void);
|
||||
void proto_reg_handoff_aim_admin(void);
|
||||
|
||||
#define FAMILY_ADMIN 0x0007
|
||||
|
||||
#define CONFIRM_STATUS_EMAIL_SENT 0x00
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_adverts(void);
|
||||
void proto_reg_handoff_aim_adverts(void);
|
||||
|
||||
#define FAMILY_ADVERTS 0x0005
|
||||
|
||||
static const aim_subtype aim_fnac_family_adverts[] = {
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_bos(void);
|
||||
void proto_reg_handoff_aim_bos(void);
|
||||
|
||||
#define FAMILY_BOS 0x0009
|
||||
|
||||
/* Family BOS (Misc) */
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_buddylist(void);
|
||||
void proto_reg_handoff_aim_buddylist(void);
|
||||
|
||||
#define FAMILY_BUDDYLIST 0x0003
|
||||
|
||||
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
#include "packet-tcp.h"
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_chat(void);
|
||||
void proto_reg_handoff_aim_chat(void);
|
||||
|
||||
/* SNAC families */
|
||||
#define FAMILY_CHAT 0x000E
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_chatnav(void);
|
||||
void proto_reg_handoff_aim_chatnav(void);
|
||||
|
||||
#define FAMILY_CHAT_NAV 0x000D
|
||||
|
||||
static const aim_subtype aim_fnac_family_chatnav[] = {
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_directory(void);
|
||||
void proto_reg_handoff_aim_directory(void);
|
||||
|
||||
#define FAMILY_DIRECTORY 0x000F
|
||||
|
||||
static int proto_aim_directory = -1;
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_email(void);
|
||||
void proto_reg_handoff_aim_email(void);
|
||||
|
||||
#define FAMILY_EMAIL 0x0018
|
||||
|
||||
static const aim_subtype aim_fnac_family_email[] = {
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_generic(void);
|
||||
void proto_reg_handoff_aim_generic(void);
|
||||
|
||||
#define STRIP_TAGS 1
|
||||
|
||||
/* SNAC families */
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_icq(void);
|
||||
void proto_reg_handoff_aim_icq(void);
|
||||
|
||||
#define FAMILY_ICQ 0x0015
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_invitation(void);
|
||||
void proto_reg_handoff_aim_invitation(void);
|
||||
|
||||
#define FAMILY_INVITATION 0x0006
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_location(void);
|
||||
void proto_reg_handoff_aim_location(void);
|
||||
|
||||
/* SNAC families */
|
||||
#define FAMILY_LOCATION 0x0002
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_oft(void);
|
||||
void proto_reg_handoff_aim_oft(void);
|
||||
|
||||
/* SNAC families */
|
||||
#define FAMILY_OFT 0xfffe
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_popup(void);
|
||||
void proto_reg_handoff_aim_popup(void);
|
||||
|
||||
/* SNAC families */
|
||||
#define FAMILY_POPUP 0x0008
|
||||
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_signon(void);
|
||||
void proto_reg_handoff_aim_signon(void);
|
||||
|
||||
#define FAMILY_SIGNON 0x0017
|
||||
|
||||
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_ssi(void);
|
||||
void proto_reg_handoff_aim_ssi(void);
|
||||
|
||||
#define FAMILY_SSI 0x0013
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_sst(void);
|
||||
void proto_reg_handoff_aim_sst(void);
|
||||
|
||||
#define FAMILY_SST 0x0010
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_stats(void);
|
||||
void proto_reg_handoff_aim_stats(void);
|
||||
|
||||
#define FAMILY_STATS 0x000B
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_translate(void);
|
||||
void proto_reg_handoff_aim_translate(void);
|
||||
|
||||
#define FAMILY_TRANSLATE 0x000C
|
||||
|
||||
static int proto_aim_translate = -1;
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include "packet-aim.h"
|
||||
|
||||
void proto_register_aim_userlookup(void);
|
||||
void proto_reg_handoff_aim_userlookup(void);
|
||||
|
||||
#define FAMILY_USERLOOKUP 0x000A
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
#include "packet-aim.h"
|
||||
#include <epan/prefs.h>
|
||||
|
||||
void proto_register_aim(void);
|
||||
void proto_reg_handoff_aim(void);
|
||||
|
||||
#define TCP_PORT_AIM 5190
|
||||
|
||||
#define STRIP_TAGS 1
|
||||
|
@ -737,7 +740,7 @@ dissect_aim_snac(tvbuff_t *tvb, packet_info *pinfo, int offset,
|
|||
}
|
||||
|
||||
subtvb = tvb_new_subset_remaining(tvb, offset);
|
||||
aiminfo.tcpinfo = pinfo->private_data;
|
||||
aiminfo.tcpinfo = (struct tcpinfo *)pinfo->private_data;
|
||||
aiminfo.family = family_id;
|
||||
aiminfo.subtype = subtype_id;
|
||||
pd_save = pinfo->private_data;
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <epan/conversation.h>
|
||||
#include "packet-tcp.h"
|
||||
|
||||
void proto_register_ajp13(void);
|
||||
void proto_reg_handoff_ajp13(void);
|
||||
|
||||
|
||||
/* IMPORTANT IMPLEMENTATION NOTES
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
#include <epan/dissectors/packet-isup.h>
|
||||
#include <epan/expert.h>
|
||||
|
||||
void proto_register_alcap(void);
|
||||
void proto_reg_handoff_alcap(void);
|
||||
|
||||
#define ALCAP_MSG_HEADER_LEN 6
|
||||
#define ALCAP_PARM_HEADER_LEN 3
|
||||
#define FIELD_NSAP_ADDRESS_LEN 20
|
||||
|
|
|
@ -50,6 +50,9 @@
|
|||
#include <epan/packet.h>
|
||||
#include <etypes.h>
|
||||
|
||||
void proto_register_ans(void);
|
||||
void proto_reg_handoff_ans(void);
|
||||
|
||||
/* Initialize the protocol and registered fields */
|
||||
static int proto_ans = -1;
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
|
||||
#include "packet-gsm_sms.h"
|
||||
|
||||
void proto_register_ansi_637(void);
|
||||
void proto_reg_handoff_ansi_637(void);
|
||||
|
||||
static const char *ansi_proto_name_tele = "ANSI IS-637-A (SMS) Teleservice Layer";
|
||||
static const char *ansi_proto_name_trans = "ANSI IS-637-A (SMS) Transport Layer";
|
||||
static const char *ansi_proto_name_short = "IS-637-A";
|
||||
|
@ -2002,7 +2005,7 @@ dissect_ansi_637_trans_param(tvbuff_t *tvb, proto_tree *tree, guint32 *offset)
|
|||
{
|
||||
gchar *ansi_637_add_string;
|
||||
|
||||
ansi_637_add_string = ep_alloc(1024);
|
||||
ansi_637_add_string = (gchar *)ep_alloc(1024);
|
||||
ansi_637_add_string[0] = '\0';
|
||||
(*param_fcn)(tvb, subtree, len, curr_offset, ansi_637_add_string, 1024);
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
|
||||
#include <epan/packet.h>
|
||||
|
||||
void proto_register_ansi_801(void);
|
||||
void proto_reg_handoff_ansi_801(void);
|
||||
|
||||
static const char *ansi_proto_name = "ANSI IS-801 (Location Services (PLD))";
|
||||
static const char *ansi_proto_name_short = "IS-801";
|
||||
|
|
|
@ -50,6 +50,9 @@
|
|||
#include "packet-bssap.h"
|
||||
#include "packet-ansi_a.h"
|
||||
|
||||
void proto_register_ansi_a(void);
|
||||
void proto_reg_handoff_ansi_a(void);
|
||||
|
||||
/*
|
||||
* IOS 4, probably most common
|
||||
*/
|
||||
|
@ -8318,10 +8321,10 @@ elem_a2p_bearer_format(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
|
|||
format_assigned &&
|
||||
(first_assigned_found == FALSE))
|
||||
{
|
||||
key = (gint *) se_alloc(sizeof(gint));
|
||||
key = se_new(gint);
|
||||
*key = rtp_payload_type;
|
||||
|
||||
encoding_name_and_rate = se_alloc(sizeof(encoding_name_and_rate_t));
|
||||
encoding_name_and_rate = se_new(encoding_name_and_rate_t);
|
||||
encoding_name_and_rate->encoding_name = se_strdup(mime_type);
|
||||
encoding_name_and_rate->sample_rate = sample_rate;
|
||||
|
||||
|
@ -8338,7 +8341,7 @@ elem_a2p_bearer_format(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
|
|||
key = (gint *) se_alloc(sizeof(gint));
|
||||
*key = rtp_payload_type;
|
||||
|
||||
encoding_name_and_rate = se_alloc(sizeof(encoding_name_and_rate_t));
|
||||
encoding_name_and_rate = se_new(encoding_name_and_rate_t);
|
||||
encoding_name_and_rate->encoding_name = se_strdup("telephone-event");
|
||||
encoding_name_and_rate->sample_rate = sample_rate;
|
||||
|
||||
|
|
Loading…
Reference in New Issue