INET Framework for OMNeT++/OMNEST
inet::IPv6NeighbourCache::Key Struct Reference

Key into neighbour cache. More...

#include <IPv6NeighbourCache.h>

Public Member Functions

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

Public Attributes

IPv6Address address
 
int interfaceID
 

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.

Constructor & Destructor Documentation

inet::IPv6NeighbourCache::Key::Key ( IPv6Address  addr,
int  ifaceID 
)
inline
64 { address = addr; interfaceID = ifaceID; }
int interfaceID
Definition: IPv6NeighbourCache.h:63
IPv6Address address
Definition: IPv6NeighbourCache.h:62

Member Function Documentation

bool inet::IPv6NeighbourCache::Key::operator< ( const Key b) const
inline
66  {
67  return interfaceID == b.interfaceID ? address < b.address : interfaceID < b.interfaceID;
68  }
int interfaceID
Definition: IPv6NeighbourCache.h:63
IPv6Address address
Definition: IPv6NeighbourCache.h:62
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation


The documentation for this struct was generated from the following file: