On Sun, Feb 01, 2004 at 02:38:00PM -0800, Guy Harris wrote:
>       2) split "pcap_compile()" into a parser that generates an
>          expression tree and code generators that produce programs,
>          have a routine that takes an expression tree and a pcap_t and
>          either generates code and sets a filter or fails if it can't
>          generate code or set the filter, and have multiple code
>          generators for different filter engines.

I'd really prefer this solution. The fact that today the syntax for the
(capture) filters is tied to libpcap but shouldn't be can bee seen in
the location of the capture filter manpage: It's not in the libs manpage
but in the applications manpage (tcpdump).

  Ciao
        J�rg
-- 
Joerg Mayer                                           <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to