#include "IPv6NeighbourCache.h"
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::Neighbour & | e | |||
) |
00029 { 00030 os << e.macAddress; 00031 if (e.isRouter) os << " ROUTER"; 00032 if (e.isDefaultRouter) os << " defaultRtr"; 00033 os << " " << IPv6NeighbourCache::stateName(e.reachabilityState); 00034 os << " reachabilityExp:" << e.reachabilityExpires; 00035 if (e.numProbesSent) os << " probesSent:" << e.numProbesSent; 00036 if (e.isRouter) os << " rtrExp:" << e.routerExpiryTime; 00037 return os; 00038 }
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/>.
00024 { 00025 return os << "if=" << e.interfaceID << " " << e.address; //FIXME try printing interface name 00026 }