Thank you for replaying, I know this file but what I am trying to do is the
following:
Normally(I think) an option can by written as this:
option = '\x03\x03\x03'
and included in the tcp protocol. But I want to do the following:
mcw = int(log(window_scale, 2))
shift_cnt = mcw
option = '\x03\x03\mcw'
I mean that I want to inject the value of mcw in this string but I do not know
how to work it with (\xnn).
Please advice
Kind regards,
Randa
From: Ramana Reddy [mailto:gtvrre...@gmail.com]
Sent: 06 May 2016 17:07
To: Randa Alani <el...@leeds.ac.uk>
Cc: ryu-devel@lists.sourceforge.net
Subject: Re: [Ryu-devel] TCP options (Randa Alani)
Recently ryu added the feature to serialize/parse the tcp option. Please look
at the this file:
https://github.com/osrg/ryu/blob/master/ryu/lib/packet/tcp.py
Hope this helps,
Regards,
Ramana
On Fri, May 6, 2016 at 8:17 PM, Randa Alani
<el...@leeds.ac.uk<mailto:el...@leeds.ac.uk>> wrote:
Dear all
I just wanted to add that the shift_cnt is not a constant as I described
before, instead it is a variable that presents an equation.
mcw = int(log(window_scale, 2))
shift_cnt = mcw
Please advise
Kind regards,
Randa
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel