On Tue, 08 Jan 2019 02:23:14 +0900,
James Aiken wrote:
> In the example Traffic Monitor Ryu application, within the flow stats reply
> handler there is some code which writes to the log.
> 
> Within which there is "stat.packet_count".  I was wondering how I could get
> the packet_count of only TCP SYN packets within a flow?  How would I begin
> to write this in Python?
> 
> I have been reading the documentation however have struggled to find
> anything that helps me.

Packets can be matched against tcp_flags using the Nicira extension or
OpenFlow 1.5 (EXT-109). Create flows that matches tcp syn packets and
observe flow counters.

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to