[Xorp-hackers] get_neighbour_info()

Selçuk Cevher cevhers at gmail.com
Tue Jul 8 08:33:41 PDT 2008


Hi All,

I need the uint32_t value of rid argument (router ID) of type IPv4* returned
by get_neighbour_info() xrl interface of ospfv2.

I noticed that rid's uint32_t value shows up in reverse order when used
IPv4::addr() (if the address is 10.10.1.2, it shows up as 2.1.10.10).

The second issue is that what is the proper way of reseting a RoutingTable
object (removing all the entries in it) other than iterating over all the
items ?

Thanks,
Selcuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20080708/3f9259dc/attachment.html 


More information about the Xorp-hackers mailing list