Re: Extending ipt_packet_msg_t

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Tuesday 06 May 2003 11:55, Scott MacKay wrote:
> Hello,
>     I want to obtain physical device info in my
> userspace QUEUE from the ebtables extensions to a
> kernel 2.4.20 build.  To do this, I know that,
> minimally, I would need to add 2 fields to the
> ipt_packet_msg_t structure (which is passed to the
> userspace QUEUE) and fill in the values in ip_queue.c
> (I believe in ipv4/netfilter).  Are there any other
> places where I would need to make alterations to
> properly handle an extension like this?

No, that would be it. net/bridge/br_netfilter.c fills in the nf_bridge member 
of the struct sk_buff.

-- 
cheers,
Bart



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.