Re: bridge/ebtables interaction...
Jon Anderson <jon-fIEOMvnSDpKWw5T4fKrT77Dks+cytr/[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
Bart De Schuymer wrote: >Just add the call to the brouting chain in the function >br_handle_frame_continue as the first code inside the >BR_STATE_FORWARDING if construct. That way, you introduce a new chain >without breaking anything. > I'm uncertain about the behavior of okfn in the hook. (I couldn't find any documentation about okfn.) In br_handle_frame, returning 0 means the packet should be processed further, returning 1 means it was handled; the brouting stuff returns 0, and everything else returns 1. Does returning 1/0 from the okfn have the same behavior? If so, things get _really_ easy - the br_handle_frame_continue can be basically a copy of what br_handle_frame used to be. Also, should this discussion be moved to the devel list? jon ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click