I should have mentioned that the OpenFlow pack library in NOX does
this for you, with the correct byte order. For details, check out:
http://noxrepo.org/~yapkke/doc/classvigil_1_1openflow__pack.html
http://noxrepo.org/~yapkke/doc/openflow-pack-raw_8hh.html
Regards
KK
On 21 March 2011 13:11,
Hi,
I am having the same problem.
Any help?
Best regards.
2011/3/20 Ricardo Bennesby ricardo.benne...@gmail.com
Sorry, forgot to paste that...
fsie is from Flow_stats_in event, declared in a handle_flow_stats_in
method (a handler):
Disposition newcomp::handle_flow_stats_in(const
Hi, Ricardo.
I solved this problem.
Try to use ntohll() to uint64 and ntohs() to uint32*.*
Best regards.
***
*
2011/3/21 Paulo César pcd...@gmail.com
Hi,
I am having the same problem.
Any help?
Best regards.
2011/3/20 Ricardo Bennesby ricardo.benne...@gmail.com
Sorry, forgot to
Oops... should have spotted that. Thanks Paulo, that saved me.
Regards
KK
PS This email comes 20 sec before I decide to spend a few mins on this. :)
On 21 March 2011 12:24, Paulo César pcd...@gmail.com wrote:
Hi, Ricardo.
I solved this problem.
Try to use ntohll() to uint64 and ntohs() to
Hi Paulo and kk!
You are right!
Problem solved.
Thank you very much for your help.
Best Regards.
2011/3/21 Paulo César pcd...@gmail.com
Hi, Ricardo.
I solved this problem.
Try to use ntohll() to uint64 and ntohs() to uint32*.*
Best regards.
***
*
2011/3/21 Paulo César pcd...@gmail.com
Hi.
I am running a C++ component that prints statistics of flows collected in
switches with the flow_stats_in_event.
I am also running the dpctl dump-flows command in mininet to compare the
values and they are very different.
The request is as follows:
*request.table_id = 0xff;
Hi Ricardo,
I mean the result. Did you run ntohx on them.
Regards
KK
On 20 March 2011 10:50, Ricardo Bennesby ricardo.benne...@gmail.com wrote:
Hi kk, thanks for quick reply.
I changed request.match.wildcards = htonl(0x) to:
request.match.wildcards = htons(0x); - but it
Sorry, forgot to paste that...
fsie is from Flow_stats_in event, declared in a handle_flow_stats_in
method (a handler):
Disposition newcomp::handle_flow_stats_in(const Event e){
*const Flow_stats_in_event fsie*
= assert_castconst Flow_stats_in_event(e);
So, fsie.flows