Hi, You can use the packet library to construct IPv6 NS/NA packets. http://osrg.github.io/ryu-book/en/html/packet_lib.html https://github.com/osrg/ryu/blob/master/ryu/lib/packet/icmpv6.py#L77
Thanks, Iwase On 2015年12月18日 07:08, Sachin Sunder Sagadevan wrote: > Hi, > As a part of my course work, I am working on RYU to build something using RYU > APIs. As, I got familiar with the simple_switch.py. I added a function > "ndp_handler" in the simple_switch.py which can detect NDP messages and > handle Neighbor Solicitations and build a IPv6 Neighbor table. > > But, I want to send a Neighbor Advertisement for the NS message. How do I > construct Packet_out with Neighbor advertisement. Is there any available > reference which I can use for this? > > Regards, > S. Sachin Sunder > Graduate Student (M.S. Telecommunication System Management) > Contact: +1-(617)-961-2330 (M) > <http://www.linkedin.com/in/sachsun2809> > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
