Hi, Please keep the mailing list CC'ed
On Fri, 7 Dec 2012 02:24:25 +0000 Mohamad Al Atasi <mohamad.alat...@mail.utoronto.ca> wrote: > However, I am still not being able to retrieve the TCP ports from > msg.data though so I was wondering if it is a similar approach to > the simple_switch.py script where the destination and source mac > addresses, in addition to the ethernet type are found by the > following command: "dst, src, _eth_type = > struct.unpack_from('!6s6sH', buffer(msg.data), 0)" ? If so, how can > I modify this command to retrieve the TCP port numbers at the sender > and receiver? Ryu's packet library would help you, I think: http://osrg.github.com/ryu/doc/library_packet.html ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel