Public Member Functions | Public Attributes

IPv6NeighbourCache::Key Struct Reference

#include <IPv6NeighbourCache.h>

List of all members.

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.

Definition at line 55 of file IPv6NeighbourCache.h.


Constructor & Destructor Documentation

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

Definition at line 59 of file IPv6NeighbourCache.h.

{address=addr; interfaceID=ifaceID;}


Member Function Documentation

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;
        }


Member Data Documentation


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