IPv6NeighbourCache::Key Struct Reference

#include <IPv6NeighbourCache.h>

List of all members.


Detailed Description

Key into neighbour cache. Note that address does NOT identify the neighbour itself, because link-local addresses are in common use between routers.


Public Member Functions

 Key (IPv6Address addr, int ifaceID)
bool operator< (const Key &b) const

Public Attributes

IPv6Address address
int interfaceID


Constructor & Destructor Documentation

IPv6NeighbourCache::Key::Key ( IPv6Address  addr,
int  ifaceID 
) [inline]

00060 {address=addr; interfaceID=ifaceID;}


Member Function Documentation

bool IPv6NeighbourCache::Key::operator< ( const Key b  )  const [inline]

00061                                            {
00062             return interfaceID==b.interfaceID ? address<b.address : interfaceID<b.interfaceID;
00063         }


Member Data Documentation

IPv6Address IPv6NeighbourCache::Key::address

int IPv6NeighbourCache::Key::interfaceID


The documentation for this struct was generated from the following file:
Generated on Wed Apr 4 13:20:21 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7