Hi Ben, I assumed that openflow was implemented in the openvswitch kernel module, therefore the EXPORT_SYMBOL approach. I understand now from your comment that openflow is not implemented in the kernel, but instead runs in user space in ovs-vswitchd. In that case we will have to use netlink sockets.
Thanks for clarifying. BR Daniel On Fri, May 23, 2014 at 5:09 PM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, May 23, 2014 at 11:36:17AM +0200, Dani Camps wrote: >> We are trying to have ofproto.c calling a function defined in another >> kernel module. For that we do EXPORT_SYMBOL() in the other module, and >> include the corresponding header file in ofproto.c. > > This doesn't make any sense. You can't call kernel functions from > userspace or vice versa. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss