Ethereal-dev: Re: [Ethereal-dev] patch for MTP3 (+= ANSI support)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Fri, 06 Jul 2001 18:44:49 -0400
Hello list,

Well, I finally little spare time to recode this patch for MTP3 as per
below...  Diff'd against CVS.

Regards,
-Jeff

Jeff Morriss wrote:
> 
> Guy Harris wrote:

...

> > In "proto_register_x25()", for example, we have entries such as
> >
> >         { &hf_x25_p_s_mod8,
> >           { "P(S)", "x.25.p_s", FT_UINT8, BASE_HEX, NULL, 0x0E,
> >                 "Packet Send Sequence Number", HFILL }},
> >         { &hf_x25_p_s_mod128,
> >           { "P(S)", "x.25.p_s", FT_UINT8, BASE_HEX, NULL, 0xFE,
> >                 "Packet Send Sequence Number", HFILL }},
> >
> > and the X.25 dissector puts the field into the protocol tree using
> > "hf_x25_p_s_mod8" if it's a mod-8 connection and "hf_x25_p_s_mod128" if
> > it's a mod-128 connection.
> >
> > You can filter on, say, "x.25.p_s == 3", and it'll correctly match
> > packets with a P(S) field with a value of 3, regardless of whether the
> > packet came from a mod-8 connection or a mod-128 connection.
> 
> Sweet!  I'll re-code it...

Attachment: packet-mtp3.patch.gz
Description: GNU Zip compressed data

begin:vcard 
n:Morriss;Jeff
tel;fax:+1-856-222-9947
tel;work:+1-856-787-2824
x-mozilla-html:FALSE
url:http://www.ulticom.com
org:Ulticom, Inc.;Customer Support
version:2.1
email;internet:jeff.morriss@xxxxxxxxxxx
title:Product Support Engineer
adr;quoted-printable:;;Ulticom, Inc.=0D=0A1020 Briggs Rd.=0D=0A;Mount Laurel;NJ;08054;USA
fn:Jeff Morriss
end:vcard