Bug 65 - mapping functions needed in Ipv4 between IP addresses, net devices, and ifIndexes
mapping functions needed in Ipv4 between IP addresses, net devices, and ifInd...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
pre-release
All All
: P5 minor
Assigned To: ns-bugs
:
Depends on:
Blocks: 69 384
  Show dependency treegraph
 
Reported: 2007-08-06 00:52 EDT by Tom Henderson
Modified: 2008-10-20 08:11 EDT (History)
0 users

See Also:


Attachments
two convenience functions in Ipv4.{cc,h} (7.94 KB, patch)
2007-09-04 02:36 EDT, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2007-08-06 00:52:42 EDT
There are still two methods that probably should eventually be moved to the Ipv4 code:

uint32_t GlobalRouter::FindIfIndexForDevice (Ptr<Node> node, Ptr<Net Device> nd) const;
uint32_t GlobalRouteManagerImpl::FindOutgoingInterfaceId (Ipv4Address a);

Basically, there probably is a more general need residing in the Ipv4 API to lookup mappings between IP addresses, net devices, and IfIndexes.  For now, we leave it in this code.

> >
> >
Comment 1 Tom Henderson 2007-09-04 02:36:26 EDT
Created attachment 48 [details]
two convenience functions in Ipv4.{cc,h}
Comment 2 Tom Henderson 2007-09-08 17:12:44 EDT
resolved by ns-3-dev changeset 1316