#include "IPv6NeighbourCache.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const IPv6NeighbourCache::Key &e) |
std::ostream & | operator<< (std::ostream &os, const IPv6NeighbourCache::Neighbour &e) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const IPv6NeighbourCache::Key & | e | |||
) |
Copyright (C) 2005 Andras Varga Copyright (C) 2005 Wei Yang, Ng
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
Definition at line 23 of file IPv6NeighbourCache.cc.
{ return os << "if=" << e.interfaceID << " " << e.address; //FIXME try printing interface name }
std::ostream& operator<< | ( | std::ostream & | os, | |
const IPv6NeighbourCache::Neighbour & | e | |||
) |
Definition at line 28 of file IPv6NeighbourCache.cc.
{ os << e.macAddress; if (e.isRouter) os << " ROUTER"; if (e.isDefaultRouter) os << " defaultRtr"; os << " " << IPv6NeighbourCache::stateName(e.reachabilityState); os << " reachabilityExp:" << e.reachabilityExpires; if (e.numProbesSent) os << " probesSent:" << e.numProbesSent; if (e.isRouter) os << " rtrExp:" << e.routerExpiryTime; return os; }