Hi,

On Sat, 11 May 2013 19:39:59 -0500
Gandhimathi Velusamy <mathiy...@gmail.com> wrote:

> I am trying to write switch functionality to handle icmp packets. I am
> struck with packet_in event. I would like to know how to handle packet_in
> to get IP address from the received packet. Could you please, guide me how
> to do that.

You need to parse the received packet. Ryu provides a helper library
to do such:

http://osrg.github.io/ryu/doc/library_packet.html

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to