#include <IPv6NeighbourCache.h>
Public Member Functions | |
Key (IPv6Address addr, int ifaceID) | |
bool | operator< (const Key &b) const |
Public Attributes | |
IPv6Address | address |
int | interfaceID |
Key into neighbour cache. Note that address does NOT identify the neighbour itself, because link-local addresses are in common use between routers.
Definition at line 55 of file IPv6NeighbourCache.h.
IPv6NeighbourCache::Key::Key | ( | IPv6Address | addr, | |
int | ifaceID | |||
) | [inline] |
Definition at line 59 of file IPv6NeighbourCache.h.
{address=addr; interfaceID=ifaceID;}
bool IPv6NeighbourCache::Key::operator< | ( | const Key & | b | ) | const [inline] |
Definition at line 60 of file IPv6NeighbourCache.h.
{ return interfaceID==b.interfaceID ? address<b.address : interfaceID<b.interfaceID; }
Definition at line 57 of file IPv6NeighbourCache.h.
Referenced by IPv6NeighbourDiscovery::dropQueuedPacketsAwaitingAR(), IPv6NeighbourDiscovery::initiateAddressResolution(), operator<(), operator<<(), IPv6NeighbourDiscovery::processARTimeout(), IPv6NeighbourDiscovery::processNUDTimeout(), and IPv6NeighbourDiscovery::selectDefaultRouter().
Definition at line 58 of file IPv6NeighbourCache.h.
Referenced by IPv6NeighbourDiscovery::dropQueuedPacketsAwaitingAR(), IPv6NeighbourDiscovery::initiateAddressResolution(), IPv6NeighbourDiscovery::initiateNeighbourUnreachabilityDetection(), operator<(), operator<<(), IPv6NeighbourDiscovery::processARTimeout(), IPv6NeighbourDiscovery::processNAForIncompleteNCEState(), IPv6NeighbourDiscovery::processNAForOtherNCEStates(), IPv6NeighbourDiscovery::processNUDTimeout(), and IPv6NeighbourDiscovery::selectDefaultRouter().