Hi Luciano
I guess you're using the ofp_packet_in->total_len value? That is
indeed the length of the packet that came into the port which
generated the pkt_in.

If you're looking to compute the overall traffic sent from a server,
you can also use the flow_exp message and sum it for all the flows
sent by that server.

On Wed, May 25, 2011 at 11:05 PM,  <[email protected]> wrote:
> Hello,
>
> I have developed a script to distribute flows among three servers using
> mininet + FlowVisor + Nox. I tested the scripts with Iperf and Wireshark and
> apparently it is working well. My only question is related to the len
> parameter in packet_in event. I am using this parameter to calculate the
> traffic sent for each server. Can I really use this parameter? Does it
> represent the length of the packet?
>
> PS. I just sum the len“s value when the switch receives a IP_TYPE packet.
>
> Thank you.
>
> My best regards.
>
> Luciano Ignaczak
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to