What I need basically is:

msg = ev.msg
pkt = packet.Packet(msg.data)

from 'pkt' we will get all ethernet, IP and TCP headers using
pkt.get_protocol(). But I would like to know
how to extract the payload of the packet after stripping of all these
headers.

Regards,
Ramana



On Thu, Dec 17, 2015 at 10:38 PM, Ramana Reddy <[email protected]> wrote:

> Hi All,
>
> I would like to know the API to extract the payload of a tcp packet.
>
>
> Thanks & Regards,
> Ramana
>
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to