Hi,

Because I convert the payload from string to bytes and send from the controller 
(ODL), I thought *oh = msg->data should have this byte version of my sent 
message string. Am I missing something else here?

I send "abcde" from the controller. I see the packet sent from ODL and when 
received on OVS, "printf ("%d",*oh)" gives "754978052". I even tried printing 
in hex which gives something else random.

Thanks

From: discuss [mailto:[email protected]] On Behalf Of 
Rajasekaran, Monica
Sent: Thursday, June 02, 2016 11:00 AM
To: [email protected]
Subject: [ovs-discuss] Message payload

Hi,

When the openflow messages are received to ofproto/ofproto.c --> 
handle_openflow__(), is it possible to get the payload of the message received 
? I would like to print that out and see. I can see that the function switches 
based on the "type" field in the message header and the header info to the 
corresponding handler functions. But, not sure how to get the payload.

Thanks,
Monica

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to