Hi, I would like to create flow rules on an OvS switch that can match certain TCP checksum values sent by an OpenFlow controller. So far, I have been able to extend the OpenFlow 1.0 Flow-mod to include the necessary checksum value. I have also modified OvS to receive the Flow-mod. I used POX to receive a Packet-In and based on its checksum value, send the OvS switch a Flow-mod.
It appears that a flow rule is created based on the received Flow-mod. However, I face 2 problems from here on. 1. Packets that do not have the specified checksum value are being matched against the rule i.e., the flow in the datapath is not using the checksum value to perform the lookup for some reason even though I modified the flow data structure to include the tcp checksum. 2. The checksum value in the rule is not the one in the flow-mod. I think this is a casting or misalignment problem. I am using version 2.3.1 and the user-space switch. To make my changes, I used commit "dc235f7fbcff39b318b715f9d3d01f97b2634357 ->> TCP flags matching support." as a reference but in vain. Would somebody be kind enough to help me out with this? Thanks, Kash _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev