Hi All,

I would like to know how to set or get TCP options in RYU.
When I print tcp options, its just printing some unreadable symbols.
I have to print each tcp option (mss, timestamps etc).

In the code simple_switch_13.py :

In _packet_in_handler module:

pkt = packet.Packet(msg.data)
pkt_tcp = pkt.get_protocol(tcp.tcp)

if pkt_tcp:
   print pkt_tcp.option

Can some one tell me how to do that.

Many thanks,
Ramana
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to