Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Mar 2005 11:41:33 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Aziz KEZZOU <opensource.enthousiat@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: generic network protocols parser ?
Message-ID:  <4228B9ED.9040906@elischer.org>
In-Reply-To: <37e13166050304080715525d7e@mail.gmail.com>
References:  <37e13166050304080715525d7e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Aziz KEZZOU wrote:

>Hi all,
>I am wondering if any one knows  about a generic parser which takes a
>packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates
>some data structre representing the packet ?
>  
>

you might look at DPF
 (a packet filter/classifier)..
it has an interesting filter description language.

>I've been searching for a while and found that ethereal and tcpdump
>for example use specific data structres and functions to dissect each
>protocol packets. Is this the only approach possible ?
>
>My supervisor suggested using a TLV (Type/Length/Value) approach
>instead. Any opinions about that?
>
>If no such a parser exists is there any practical reason why ?
>
>Thanks,
>Aziz
>_______________________________________________
>freebsd-net@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4228B9ED.9040906>