Hi,

Please refer to the _send_packet() method of this example.
  http://osrg.github.io/ryu-book/en/html/packet_lib.html#application-examples

Thanks,
Iwase

On 2015年12月19日 03:21, Sachin Sunder Sagadevan wrote:
> Thank you for the references. 
> From where can I learn to construct PACKET_OUT message?
> 
> Regards,
> S. Sachin Sunder
> 
> On Thu, Dec 17, 2015 at 7:00 PM, Yusuke Iwase <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     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 <tel:%2B1-%28617%29-961-2330> (M)
>     >  <http://www.linkedin.com/in/sachsun2809>
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     >
>     >
>     >
>     > _______________________________________________
>     > Ryu-devel mailing list
>     > [email protected] <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>     >
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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

Reply via email to