Bug 652 - no public API for IPv4 neighbor table
: no public API for IPv4 neighbor table
Status: NEW
: ns-3
node module
: ns-3-dev
: All All
: P5 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-06 15:58 EDT by
Modified: 2009-08-07 04:16 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-08-06 15:58:54 EDT
This has not yet been implemented in class Ipv4 public API; this note is in the
header file for ipv4.h:
 * TO DO:  Add API to allow access to the Ipv4 neighbor table

What I had in mind was to define some class such as Ipv4Neighbor that
corresponded to Linux struct neighbour, add some methods analogous to what we
do to add interfaces and addresses (e.g., Ipv4::GetNNeighbors(),
Ipv4::GetNeighbor (i); Ipv4::AddNeighbor (neighbor); Ipv4::DeleteNeighbor
(i);), and then add an ArpHelper class that could produce output analogous to
what you get on a Linux system when you use the "arp" command.