[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Mach interface to packet filters
From: |
Richard Braun |
Subject: |
Re: GNU Mach interface to packet filters |
Date: |
Fri, 21 Apr 2006 21:01:24 +0200 |
User-agent: |
Mutt/1.5.9i |
On Wed, Apr 19, 2006 at 04:32:57PM +0200, Marco Gerards wrote:
> Richard Braun <syn@hurdfr.org> writes:
> > Here is the NETF filter that would be used in pfinet :
> > static short ether_filter[] =
> > {
> > NETF_IN, /* header */
> > NETF_PUSHLIT | NETF_NOP,
> > 1
> > };
>
> Is it possible to move NETF_IN to the end of the struct? Would that
> mean the interface change would not break existing code?
It would be possible, yes, but harder to do and not really conforming with
the idea of a header. As struct net_rcv_msg has been modified, binary
compatibility is broken. You need at least to rebuild pfinet. So why not
integrate this patch as well ? One line for a header is no real pain.
--
Richard Braun
signature.asc
Description: Digital signature