Dear all

I am trying to get the TCP header but when I excute the following:

pkt = packet.Packet(msg.data)
eth = pkt.get_protocols(ethernet.ethernet)[0]
print eth


pkt_tcp= pkt.get_protocols(tcp.tcp)
print pkt_tcp


and send TCP packet, the result is:

[]

Why it is empty?

Actullay, I want to modify the window_size of the packet and send it back to 
the switch. How to do that.

Any information would very helpful,

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
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to