[Bridge] Bridge Netfilter question

Stephen Hemminger shemminger at osdl.org
Mon Jan 12 08:27:01 PST 2004

You shouldn't have to change an existing line of code to do what you want!
Make your new filter a module.

In the routine called by module_init(), add a call to ebt_register_table()
You need to setup an struct ebt_table to describe your new filter.

Look at source for exist ebtable modules to see how to do it.

Of course, make sure and unregister and cleanup on module removal.

More information about the Bridge mailing list