Hi, I am a student working on a project that I want to integrate openvswitch with an external DPI (Deep Packet Inspection) like nDPI to identify the flow. And Viswa has done something like this ( https://github.com/kspviswa/dpi-enabled-ovs). In this project, he used older version of ovs (Ver. 2.3.9). And the 'frame' pointer in 'struct ofpbuf' was used like that: file:/ovs/ofproto/ofproto-dpif-upcall.c ...... handle_upcalls(struct udpif *udpif, struct upcall *upcalls, size_t n_upcalls) { ......... for (i = 0; i<n_upcalls; i++){ ......... const struct ofpbuf *packet = upcall->packet; ......... if (upcall-> DPIF_UC_DPI){ dpiProcessPacket(packet->frame, packet->size_); } } }
Now I want to use the latest version of ovs, the problem is that I find that the 'frame' pointer has been removed. I don't know if there is something I can use instead of 'frame' pointer. Would you please help me and put me in the right direction. Thank you in advance. Best Regards LZM
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss