On Thu, Sep 08, 2011 at 06:10:45PM +0500, Bibrak Qamar wrote: > Ok now I have got some idea. In the classifier there is a data structure > which stores the rules, i.e > > struct classifier { > int n_rules; /* Total number of rules. */ > struct hmap tables; /* Contains "struct cls_table"s. */ > }; > > And in the netdev there is also a data structure which stores the flows, i.e > > > > dp_netdev_lookup_flow
That's the userspace implementation of the datapath. If you're using the Linux kernel module, nothing in dpif-netdev.c is used; the code in dpif-linux.c is used instead. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev