#include "IPv6NeighbourCache.h"
Functions | |
| std::ostream & | operator<< (std::ostream &os, const IPv6NeighbourCache::Key &e) |
| std::ostream & | operator<< (std::ostream &os, const IPv6NeighbourCache::Neighbour &e) |
|
||||||||||||
|
00030 {
00031 os << e.macAddress;
00032 if (e.isRouter) os << " ROUTER";
00033 if (e.isDefaultRouter) os << " defaultRtr";
00034 os << " " << IPv6NeighbourCache::stateName(e.reachabilityState);
00035 os << " reachabilityExp:" << simtimeToStr(e.reachabilityExpires);
00036 if (e.numProbesSent) os << " probesSent:" << e.numProbesSent;
00037 if (e.isRouter) os << " rtrExp:" << simtimeToStr(e.routerExpiryTime);
00038 return os;
00039 }
|
|
||||||||||||
|
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 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00025 {
00026 return os << "if=" << e.interfaceID << " " << e.address; //FIXME try printing interface name
00027 }
|
1.4.1