i have tried it but it is not printing neighbor node.
On Fri, Mar 14, 2014 at 4:34 PM, Hashim Bukhari [via Network Simulator ns-2] <[email protected]> wrote: > > You can use List function for this purpose and initialize > discover_neighbor > and show_neighbor functions in node.h and node.cc and use them in aodv.cc > > Regards. > > > On 14 March 2014 14:28, gajendra <[hidden > email]<http://user/SendEmail.jtp?type=node&node=28382&i=0>> > wrote: > > > > > Hello Hashim > > but i have to print all neighbor node. so can you > > please help me to print all these node. > > > > On 3/14/14, Hashim Bukhari [via Network Simulator ns-2] > > <[hidden email] <http://user/SendEmail.jtp?type=node&node=28382&i=1>> > wrote: > > > > > > > > > > > > Hello Gajendra > > > > > > Please follow the neighbor management function for your purposes > > > > > > AODV Neighbor* nb lookup(nsaddr t id) > > > > > > Regards > > > > > > > > > On 14 March 2014 13:43, gajendra <[hidden > > > email]<http://user/SendEmail.jtp?type=node&node=28382&i=2>> > wrote: > > > > > >> > > >> is it possible to access all the neighbor of a node by using AODV as > a > > >> routing protocol. > > >> I have tried with rt->rt_nexthop. it gives only the current path next > > >> node > > >> and not all nodes. > > >> > > >> > > >> > > >> > > >> Thanks & Regards > > >> Gajendra > > >> > > >> > > >> > > >> -- > > >> View this message in context: > > >> > > > http://network-simulator-ns-2.7690.n7.nabble.com/List-of-Neighbor-tp28379.html > > >> Sent from the ns-users mailing list archive at Nabble.com. > > >> > > >> > > > > > > > > > > > > > > > _______________________________________________ > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > > http://network-simulator-ns-2.7690.n7.nabble.com/List-of-Neighbor-tp28379p28380.html > > > To start a new topic under ns-users, email > > [hidden email] <http://user/SendEmail.jtp?type=node&node=28382&i=3> > > > To unsubscribe from List of Neighbor, visit > > > > > > > > > > > > > > -- > > View this message in context: > > > http://network-simulator-ns-2.7690.n7.nabble.com/List-of-Neighbor-tp28379p28381.html > > > Sent from the ns-users mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://network-simulator-ns-2.7690.n7.nabble.com/List-of-Neighbor-tp28379p28382.html > To start a new topic under ns-users, email > [email protected] > To unsubscribe from List of Neighbor, click > here<http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=28379&code=Z2FqdS52eWFzQGdtYWlsLmNvbXwyODM3OXwtMTU5MDg2Nzg5MQ==> > . > NAML<http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/List-of-Neighbor-tp28379p28429.html Sent from the ns-users mailing list archive at Nabble.com.
