Ethereal->Wireshark

svn path=/trunk/; revision=18231
This commit is contained in:
Anders Broman 2006-05-28 16:32:49 +00:00
parent 7056661eac
commit db57e7b724
51 changed files with 98 additions and 98 deletions

View File

@ -320,7 +320,7 @@ maintainer-clean: distclean
cd ..
################################################################################
# copy all plugins to /plugins/$(VERSION), so Ethereal will load them, when
# copy all plugins to /plugins/$(VERSION), so Wireshark will load them, when
# started from within the source tree.
################################################################################

View File

@ -29,7 +29,7 @@
/**************************************************************************
* This plugin will dissect BER encoded ASN.1 messages in UDP packets or in
* a TCP stream. It relies on ethereal to do defragmentation and re-assembly
* a TCP stream. It relies on wireshark to do defragmentation and re-assembly
* to construct complete messages.
*
* To produce packet display with good annotations it needs to know about
@ -47,7 +47,7 @@
* - cd /tmp
* - snacc -u /usr/include/snacc/asn1/asn-useful.asn1 -T tbl.tt /usr/include/snacc/asn1/tbl.asn1
* - od -Ax -tx1 tbl.tt | text2pcap -T 801,801 - tbl.tt.pcap
* - ethereal tbl.tt.pcap
* - wireshark tbl.tt.pcap
* GUI: Edit->Preferences->Protocols->ASN1
* type table file: /tmp/tbl.tt
* PDU name: TBL
@ -158,7 +158,7 @@ static gboolean asn1_full = FALSE; /* show full names */
static guint type_recursion_level = 1; /* eliminate 1 level of references */
static char *asn1_logfile = NULL;
#define ASN1LOGFILE "ethereal.log"
#define ASN1LOGFILE "wireshark.log"
/* PDU counter, for correlation between GUI display and log file in debug mode */
static int pcount = 0;
@ -309,8 +309,8 @@ static const char *tbl_types_asn1[] = {
/* 19 */ "INVALID entry",
};
/* conversion from snacc type to appropriate ethereal type */
static guint tbl_types_ethereal[] = {
/* conversion from snacc type to appropriate wireshark type */
static guint tbl_types_wireshark[] = {
/* 0 */ FT_BOOLEAN, /* TBL_BOOLEAN */
/* 1 */ FT_UINT32, /* TBL_INTEGER */
/* 2 */ FT_UINT32, /* TBL_BITSTRING */
@ -335,7 +335,7 @@ static guint tbl_types_ethereal[] = {
/* 19 */ FT_NONE, /* TBL_INVALID */
};
static const char *tbl_types_ethereal_txt[] = {
static const char *tbl_types_wireshark_txt[] = {
/* 0 */ "FT_BOOLEAN", /* TBL_BOOLEAN */
/* 1 */ "FT_UINT32", /* TBL_INTEGER */
/* 2 */ "FT_UINT32", /* TBL_BITSTRING */
@ -373,9 +373,9 @@ struct _PDUinfo {
gint typenum;
gint basetype; /* parent type */
gint mytype; /* original type number, typenum may have gone through a reference */
gint value_id; /* ethereal field id for the value in this PDU */
gint type_id; /* ethereal field id for the type of this PDU */
hf_register_info value_hf; /* ethereal field info for this value */
gint value_id; /* wireshark field id for the value in this PDU */
gint type_id; /* wireshark field id for the type of this PDU */
hf_register_info value_hf; /* wireshark field info for this value */
};
@ -1020,7 +1020,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
asn1_close(&asn1, &offset); /* mark where we are now */
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected: just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset, textfmt_d, boffset,
@ -1037,7 +1037,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1059,7 +1059,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = getPDUenum(&props, boffset, cls, tag, value);
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1076,7 +1076,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1097,7 +1097,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
asn1_close(&asn1, &offset); /* mark where we are now */
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BOOLEAN) )
(tbl_types_wireshark[props.type] != FT_BOOLEAN) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1114,7 +1114,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BOOLEAN) )
(tbl_types_wireshark[props.type] != FT_BOOLEAN) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1146,7 +1146,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = showoctets(octets, len, (tag == ASN1_OTS) ? 4 : 0 );
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_STRINGZ) )
(tbl_types_wireshark[props.type] != FT_STRINGZ) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1163,7 +1163,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_STRINGZ) )
(tbl_types_wireshark[props.type] != FT_STRINGZ) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1187,7 +1187,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = showbitnames(bits, (con*8)-unused, &props, offset);
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1207,7 +1207,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1300,7 +1300,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = showoid(oid, con);
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BYTES) )
(tbl_types_wireshark[props.type] != FT_BYTES) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset, offset - boffset, textfmt_s,
boffset, clsstr, constr, tagstr, tname, name,
@ -1315,7 +1315,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BYTES) )
(tbl_types_wireshark[props.type] != FT_BYTES) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset,
offset - boffset,
@ -1382,7 +1382,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
asn1_close(&asn1, &offset); /* mark where we are now */
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1399,7 +1399,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1423,7 +1423,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = getPDUenum(&props, boffset, cls, tag, value);
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1440,7 +1440,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1464,7 +1464,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = showbitnames(bits, (con*8)-unused, &props, offset);
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1485,7 +1485,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_UINT32) )
(tbl_types_wireshark[props.type] != FT_UINT32) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset, offset - boffset,
"(%s)%s: %s:%s", tname, name,
@ -1509,7 +1509,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
asn1_close(&asn1, &offset); /* mark where we are now */
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BOOLEAN) )
(tbl_types_wireshark[props.type] != FT_BOOLEAN) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1528,7 +1528,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_BOOLEAN) )
(tbl_types_wireshark[props.type] != FT_BOOLEAN) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1569,7 +1569,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
ename = showoctets(octets, len, 2); /* convert octets to printable */
if (asn1_debug) {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_STRINGZ) )
(tbl_types_wireshark[props.type] != FT_STRINGZ) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb,
boffset, offset - boffset,
@ -1586,7 +1586,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in
}
} else {
if ( (props.value_id == -1) ||
(tbl_types_ethereal[props.type] != FT_STRINGZ) )
(tbl_types_wireshark[props.type] != FT_STRINGZ) )
/* unknown or unexpected, just text */
proto_tree_add_text(pt, tvb, boffset, offset - boffset,
"(%s)%s: %s", tname, name, ename);
@ -2934,7 +2934,7 @@ tbl_typeref(guint n, GNode *pdu, GNode *tree, guint fullindex)
/* names do not have a fullname */
if (asn1_verbose) g_message("%*s*collection T %s", n*2, empty, p->name);
/* read the enumeration [save min-max somewhere ?] */
p->value_hf.hfinfo.type = tbl_types_ethereal[p->type]; /* XXX change field type... */
p->value_hf.hfinfo.type = tbl_types_wireshark[p->type]; /* XXX change field type... */
proto_register_field_array(proto_asn1, &(p->value_hf) , 1);
@ -2944,7 +2944,7 @@ tbl_typeref(guint n, GNode *pdu, GNode *tree, guint fullindex)
g_message("regtype1: %3d %3d [%3d] F%2.2x (%s)%s %s %s -> id=%d",
p->mytype, p->typenum, p->basetype, p->flags, p->typename,
p->name, p->fullname,
tbl_types_ethereal_txt[p->type], p->value_id);
tbl_types_wireshark_txt[p->type], p->value_id);
p1 = p;
nvals = 0;
while((q = g_node_next_sibling(q))) {
@ -2977,7 +2977,7 @@ tbl_typeref(guint n, GNode *pdu, GNode *tree, guint fullindex)
case TBL_CHOICE:
if (p->value_id == -1) { /* not yet registered ..... */
p->value_hf.hfinfo.type = tbl_types_ethereal[p->type];
p->value_hf.hfinfo.type = tbl_types_wireshark[p->type];
proto_register_field_array(proto_asn1, &(p->value_hf) , 1);
save_reference(p);
@ -2986,14 +2986,14 @@ tbl_typeref(guint n, GNode *pdu, GNode *tree, guint fullindex)
g_message("regtype2: %3d %3d [%3d] F%2.2x (%s)%s %s %s -> id=%d",
p->mytype, p->typenum, p->basetype, p->flags, p->typename,
p->name, p->fullname,
tbl_types_ethereal_txt[p->type], p->value_id);
tbl_types_wireshark_txt[p->type], p->value_id);
}
tbl_type(n, pdu, q, fullindex);
break;
default:
if (p->value_id == -1) { /* not yet registered ..... */
p->value_hf.hfinfo.type = tbl_types_ethereal[p->type];
p->value_hf.hfinfo.type = tbl_types_wireshark[p->type];
proto_register_field_array(proto_asn1, &(p->value_hf) , 1);
save_reference(p);
@ -3002,7 +3002,7 @@ tbl_typeref(guint n, GNode *pdu, GNode *tree, guint fullindex)
g_message("regtype3: %3d %3d [%3d] F%2.2x (%s)%s %s %s -> id=%d",
p->mytype, p->typenum, p->basetype, p->flags, p->typename,
p->name, p->fullname,
tbl_types_ethereal_txt[p->type], p->value_id);
tbl_types_wireshark_txt[p->type], p->value_id);
}
tbl_type(n, pdu, g_node_next_sibling(q), fullindex);
}
@ -3075,7 +3075,7 @@ tbl_type(guint n, GNode *pdu, GNode *list, guint fullindex) /* indent, pdu, sour
p->value_hf.p_id = &(p->value_id);
p->value_hf.hfinfo.name = p->fullname;
p->value_hf.hfinfo.abbrev = p->fullname;
p->value_hf.hfinfo.type = tbl_types_ethereal[p->type];
p->value_hf.hfinfo.type = tbl_types_wireshark[p->type];
p->value_hf.hfinfo.display = BASE_DEC;
p->value_hf.hfinfo.blurb = p->fullname;
/* all the other fields are already 0 ! */
@ -3090,7 +3090,7 @@ tbl_type(guint n, GNode *pdu, GNode *list, guint fullindex) /* indent, pdu, sour
g_message("register: %3d %3d [%3d] F%2.2x (%s)%s %s %s -> id=%d",
p->mytype, p->typenum, p->basetype, p->flags,
p->typename, p->name, p->fullname,
tbl_types_ethereal_txt[p->type], p->value_id);
tbl_types_wireshark_txt[p->type], p->value_id);
}
q = g_node_first_child(list);
@ -3247,7 +3247,7 @@ tbl_type(guint n, GNode *pdu, GNode *list, guint fullindex) /* indent, pdu, sour
g_message("regist-2: %3d %3d [%3d] F%2.2x (%s)%s %s %s -> id=%d",
p->mytype, p->typenum, p->basetype, p->flags, p->typename,
p->name, p->fullname,
tbl_types_ethereal_txt[p->type], p->value_id);
tbl_types_wireshark_txt[p->type], p->value_id);
}
list = g_node_next_sibling(list);
}
@ -3377,7 +3377,7 @@ build_pdu_tree(const char *pduname)
info->value_hf.p_id = &(info->value_id);
info->value_hf.hfinfo.name = info->fullname;
info->value_hf.hfinfo.abbrev = info->fullname;
info->value_hf.hfinfo.type = tbl_types_ethereal[info->type];
info->value_hf.hfinfo.type = tbl_types_wireshark[info->type];
info->value_hf.hfinfo.display = BASE_DEC;
info->value_hf.hfinfo.blurb = info->fullname;
@ -3425,7 +3425,7 @@ build_pdu_tree(const char *pduname)
info->value_hf.p_id = &(info->value_id);
info->value_hf.hfinfo.name = info->fullname;
info->value_hf.hfinfo.abbrev = info->fullname;
info->value_hf.hfinfo.type = tbl_types_ethereal[info->type];
info->value_hf.hfinfo.type = tbl_types_wireshark[info->type];
info->value_hf.hfinfo.display = BASE_DEC;
info->value_hf.hfinfo.blurb = info->fullname;
@ -3506,7 +3506,7 @@ build_pdu_tree(const char *pduname)
#ifdef DISSECTOR_WITH_GUI
/* This cannot work in tethereal.... don't include for now */
/* This cannot work in twireshark.... don't include for now */
#if GTK_MAJOR_VERSION >= 2
#define SHOWPDU /* this needs GTK2 */
#endif

View File

@ -384,7 +384,7 @@ dissect_bpkmattr (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -114,7 +114,7 @@ dissect_bpkmreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -115,7 +115,7 @@ dissect_bpkmrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -114,7 +114,7 @@ dissect_dccack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
} /* if (tree) */
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -381,7 +381,7 @@ dissect_dccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
} /* if (tree) */
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -174,7 +174,7 @@ dissect_dccrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
} /* if (tree) */
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -561,7 +561,7 @@ dissect_dcd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
} /* if (tree) */
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -41,7 +41,7 @@
* be specified for some interfaces on some platforms; for Ethernet
* interfaces, it allows DOCSIS to be specified. If an Ethernet capture
* is done with a link-layer type of DOCSIS, the file will have a link-
* layer type of DLT_DOCSIS; Ethereal will treat the frames in that capture
* layer type of DLT_DOCSIS; Wireshark will treat the frames in that capture
* as DOCSIS frames.
*/
@ -571,7 +571,7 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -92,7 +92,7 @@ dissect_dsaack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -85,7 +85,7 @@ dissect_dsareq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -95,7 +95,7 @@ dissect_dsarsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -94,7 +94,7 @@ dissect_dscack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -86,7 +86,7 @@ dissect_dscreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -93,7 +93,7 @@ dissect_dscrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -90,7 +90,7 @@ dissect_dsdreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -89,7 +89,7 @@ dissect_dsdrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -86,7 +86,7 @@ dissect_intrngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -189,7 +189,7 @@ dissect_macmgmt (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -173,7 +173,7 @@ dissect_map (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -92,7 +92,7 @@ dissect_regack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -87,7 +87,7 @@ dissect_regreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -90,7 +90,7 @@ dissect_regrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -90,7 +90,7 @@ dissect_rngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -197,7 +197,7 @@ dissect_rngrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -2087,7 +2087,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -822,7 +822,7 @@ dissect_type29ucd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -87,7 +87,7 @@ dissect_uccreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -80,7 +80,7 @@ dissect_uccrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -648,7 +648,7 @@ static void
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -224,7 +224,7 @@ dissect_cisco (tvbuff_t * tvb, proto_tree * tree, gint vsif_len)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -795,7 +795,7 @@ static gboolean dissect_coseventcomm(tvbuff_t *tvb, packet_info *pinfo, proto_tr
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
void proto_register_giop_coseventcomm(void) {

View File

@ -49,10 +49,10 @@
#define PROTO_TAG_H223 "H223"
/* Ethereal ID of the H.223 protocol */
/* Wireshark ID of the H.223 protocol */
static int proto_h223 = -1;
/* The following hf_* variables are used to hold the ethereal IDs of
/* The following hf_* variables are used to hold the Wireshark IDs of
* our header fields; they are filled out when we call
* proto_register_field_array() in proto_register_h223()
*/

View File

@ -38,11 +38,11 @@
#include "packet-srp.h"
/* Ethereal ID of the protocols */
/* Wireshark ID of the protocols */
static int proto_srp = -1;
static int proto_ccsrl = -1;
/* The following hf_* variables are used to hold the ethereal IDs of
/* The following hf_* variables are used to hold the Wireshark IDs of
* our header fields; they are filled out when we call
* proto_register_field_array() in proto_register_srp()
*/

View File

@ -1940,7 +1940,7 @@ static void init_irda(void)
/*
* Register the protocol with Ethereal
* Register the protocol with Wireshark
* This format is required because a script is used to build the C function
* that calls all the protocol registrations.
*/

View File

@ -1,7 +1,7 @@
/*
* packet-lua.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* packet-lua.h
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* lua_dumper.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* elua_field.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -499,7 +499,7 @@ ELUA_FUNCTION elua_retap_packets(lua_State* L) {
if ( ops->retap_packets ) {
ops->retap_packets();
} else {
ELUA_ERROR(elua_retap_packets, "does not work on tethereal");
ELUA_ERROR(elua_retap_packets, "does not work on tWireshark");
}
return 0;

View File

@ -1,7 +1,7 @@
/*
* lua_pinfo.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* plugin.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* lua_proto.c
*
* Ethereal's interface to the Lua Programming Language
* wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* lua_tap.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*
@ -272,7 +272,7 @@ static int Tap_newindex(lua_State* L) {
function tap.packet(pinfo,tvb,userdata) ... end
*/
/* ELUA_ATTRIBUTE Tap_draw WO A function that will be called once every few seconds to redraw the gui objects
in tethereal this funtion is called oly at the very end of the capture file.
in twireshark this funtion is called oly at the very end of the capture file.
function tap.draw(userdata) ... end
*/

View File

@ -1,7 +1,7 @@
/*
* elua_tree.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*

View File

@ -1,7 +1,7 @@
/*
* lua_tvb.c
*
* Ethereal's interface to the Lua Programming Language
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
*
@ -287,7 +287,7 @@ int ByteArray_register(lua_State* L) {
*
* a Tvb represents a tvbuff_t in Lua.
* a TvbRange represents a range in a tvb (tvb,offset,lenght) it's main purpose is to do bounds checking,
* it helps too simplifing argument passing to Tree. In ethereal terms this is worthless nothing
* it helps too simplifing argument passing to Tree. In wireshark terms this is worthless nothing
* not already done by the TVB itself. In lua's terms is necessary to avoid abusing TRY{}CATCH(){}
* via preemptive bounds checking.
*

View File

@ -919,7 +919,7 @@ extern mate_config* mate_make_config(const gchar* filename, int mate_hfid) {
analyze_config();
} else {
report_failure("MATE failed to configue!\n"
"It is recommended that you fix your config and restart ethereal.\n"
"It is recommended that you fix your config and restart wireshark.\n"
"The reported error is:\n%s\n",matecfg->config_error->str);
/* if (matecfg) destroy_mate_config(matecfg,FALSE); */

View File

@ -327,7 +327,7 @@ proto_reg_handoff_mate(void)
if (current_mate_config_filename) {
report_failure("Mate cannot reconfigure itself.\n"
"for changes to be applied you have to restart ethereal\n");
"for changes to be applied you have to restart wireshark\n");
return;
}

View File

@ -166,7 +166,7 @@ dissect_rlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration.

View File

@ -1965,7 +1965,7 @@ dissect_v5ua(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Register the protocol with Ethereal */
/* Register the protocol with Wireshark */
/* this format is require because a script is used to build the C function
that calls all the protocol registration. */