[ovs-discuss] packet processing plugin

Yi Sun beyounn at gmail.com
Tue Apr 17 02:50:31 UTC 2012


On 04/10/2012 05:26 PM, Jesse Gross wrote:
> On Tue, Apr 10, 2012 at 3:27 PM, Yi Sun<beyounn at gmail.com>  wrote:
>> Hello,
>> In openvswitch, is there something similar to the NF_HOOK? Bascially, I'm
>> looking for a method to register an action handling function that is
>> implemented by another kernel module.
> No, Open vSwitch is designed to be driven by userspace and arbitrary
> hooks prevent that from happening.  It sounds like you want to use
> Netfilter instead.
Just a double check--are you saying that I can use netfilter? I was 
trying to filter on NF_BR_FORWARD but my callback hook did not get 
called at all. During the debug, I try to find NF_HOOK calls in the 
openvswitch code, since they used to be called from bridge module, But I 
did not find any of them. Not sure if I have missed something or got 
some wrong ideas about the netfilter code.
Thanks
Yi



More information about the discuss mailing list