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 <gaju.v...@gmail.com> 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]
> <ml-node+s7690n2838...@n7.nabble.com> 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 <gaju.v...@gmail.com> 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
> ml-node+s7690n3...@n7.nabble.com
> > To unsubscribe from List of Neighbor, visit
> >
> http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=28379&code=Z2FqdS52eWFzQGdtYWlsLmNvbXwyODM3OXwtMTU5MDg2Nzg5MQ==
>
>
>
>
> --
> 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.
>

Reply via email to