[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    Re: [Bridge] Simple bridging application
From:       Bart De Schuymer <bart.de.schuymer () pandora ! be>
Date:       2002-05-29 5:44:37
[Download RAW message or body]

On Wednesday 29 May 2002 01:31, Craig Rich wrote:
> I feel the bridging code in the 2.4 linux kernel would be a good
> alternative to my simplistic application. However, I would rather
> re-write my application to use the kernel space bridging code in Linux
> rather than use the existing bridging tools (brctl, etc.) I'm looking
> for documentation on how to use the bridging code in the kernel and docs
> for the bridge-utils-devel-0.9.5-1.i386.rpm package. Can anyone help
> point me in the right direction? Any advice would be appreciated.

You will probably want to use the bridge netfilter hooks. No docs available 
AFAIK except source code. E.g. net/bridge/netfilter/ebtable_filter.c (after 
applying ebtables patch) or net/ipv4/netfilter/iptable_filter.c, will show 
you how to register onto a netfilter hook.

cheers,
Bart


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic