|
|
| 110 |
void PrintRoutingTableEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
110 |
void PrintRoutingTableEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
| 111 |
|
111 |
|
| 112 |
/** |
112 |
/** |
|
|
113 |
* \brief prints the neighbor cache of all nodes at a particular time. |
| 114 |
* \param printTime the time at which the neighbor cache is supposed to be printed. |
| 115 |
* \param stream The output stream object to use |
| 116 |
* |
| 117 |
* This method calls the PrintArpCache() method of the |
| 118 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 119 |
* specified time. The output format is similar to: |
| 120 |
* \verbatim |
| 121 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 122 |
\endverbatim |
| 123 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 124 |
*/ |
| 125 |
void PrintNeighborCacheAllAt (Time printTime, Ptr<OutputStreamWrapper> stream) const; |
| 126 |
|
| 127 |
/** |
| 128 |
* \brief prints the neighbor cache of all nodes at regular intervals specified by user. |
| 129 |
* \param printInterval the time interval for which the neighbor cache is supposed to be printed. |
| 130 |
* \param stream The output stream object to use |
| 131 |
* |
| 132 |
* This method calls the PrintArpCache() method of the |
| 133 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 134 |
* specified time. The output format is similar to: |
| 135 |
* \verbatim |
| 136 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 137 |
\endverbatim |
| 138 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 139 |
*/ |
| 140 |
void PrintNeighborCacheAllEvery (Time printInterval, Ptr<OutputStreamWrapper> stream) const; |
| 141 |
|
| 142 |
/** |
| 143 |
* \brief prints the neighbor cache of a node at a particular time. |
| 144 |
* \param printTime the time at which the neighbor cache is supposed to be printed. |
| 145 |
* \param node The node ptr for which we need the neighbor cache to be printed |
| 146 |
* \param stream The output stream object to use |
| 147 |
* |
| 148 |
* This method calls the PrintArpCache() method of the |
| 149 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 150 |
* specified time. The output format is similar to: |
| 151 |
* \verbatim |
| 152 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 153 |
\endverbatim |
| 154 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 155 |
*/ |
| 156 |
void PrintNeighborCacheAt (Time printTime, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
| 157 |
|
| 158 |
/** |
| 159 |
* \brief prints the neighbor cache of a node at regular intervals specified by user. |
| 160 |
* \param printInterval the time interval for which the neighbor cache is supposed to be printed. |
| 161 |
* \param node The node ptr for which we need the neighbor cache to be printed |
| 162 |
* \param stream The output stream object to use |
| 163 |
* |
| 164 |
* This method calls the PrintArpCache() method of the |
| 165 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 166 |
* specified time. The output format is similar to: |
| 167 |
* \verbatim |
| 168 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 169 |
\endverbatim |
| 170 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 171 |
*/ |
| 172 |
void PrintNeighborCacheEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
| 173 |
|
| 174 |
/** |
| 113 |
* \brief Request a specified routing protocol <T> from Ipv4RoutingProtocol protocol |
175 |
* \brief Request a specified routing protocol <T> from Ipv4RoutingProtocol protocol |
| 114 |
* |
176 |
* |
| 115 |
* If protocol is Ipv4ListRouting, then protocol will be searched in the list, |
177 |
* If protocol is Ipv4ListRouting, then protocol will be searched in the list, |
|
|
| 130 |
* \param stream The output stream object to use |
192 |
* \param stream The output stream object to use |
| 131 |
* |
193 |
* |
| 132 |
* This method calls the PrintRoutingTable() method of the |
194 |
* This method calls the PrintRoutingTable() method of the |
| 133 |
* Ipv6RoutingProtocol stored in the Ipv6 object; |
195 |
* Ipv4RoutingProtocol stored in the Ipv4 object; |
| 134 |
* the output format is routing protocol-specific. |
196 |
* the output format is routing protocol-specific. |
| 135 |
*/ |
197 |
*/ |
| 136 |
void Print (Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
198 |
void Print (Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
|
|
| 144 |
* \param stream The output stream object to use |
206 |
* \param stream The output stream object to use |
| 145 |
* |
207 |
* |
| 146 |
* This method calls the PrintRoutingTable() method of the |
208 |
* This method calls the PrintRoutingTable() method of the |
| 147 |
* Ipv6RoutingProtocol stored in the Ipv6 object, for the selected node |
209 |
* Ipv4RoutingProtocol stored in the Ipv4 object, for the selected node |
| 148 |
* at the specified interval; the output format is routing protocol-specific. |
210 |
* at the specified interval; the output format is routing protocol-specific. |
| 149 |
*/ |
211 |
*/ |
| 150 |
void PrintEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
212 |
void PrintEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
|
|
213 |
|
| 214 |
/** |
| 215 |
* \internal |
| 216 |
* |
| 217 |
* \brief prints the neighbor cache of a node. |
| 218 |
* \param node The node ptr for which we need the neighbor cache to be printed |
| 219 |
* \param stream The output stream object to use |
| 220 |
* |
| 221 |
* This method calls the PrintArpCache() method of the |
| 222 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 223 |
* specified time. The output format is similar to: |
| 224 |
* \verbatim |
| 225 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 226 |
\endverbatim |
| 227 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 228 |
*/ |
| 229 |
void PrintArpCache (Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
| 230 |
|
| 231 |
/** |
| 232 |
* \internal |
| 233 |
* |
| 234 |
* \brief prints the neighbor cache of a node at regular intervals specified by user. |
| 235 |
* \param printInterval the time interval for which the neighbor cache is supposed to be printed. |
| 236 |
* \param node The node ptr for which we need the neighbor cache to be printed |
| 237 |
* \param stream The output stream object to use |
| 238 |
* |
| 239 |
* This method calls the PrintArpCache() method of the |
| 240 |
* ArpCache associated with each Ipv4Interface stored in the Ipv4 object, for all nodes at the |
| 241 |
* specified time. The output format is similar to: |
| 242 |
* \verbatim |
| 243 |
10.1.1.2 dev 1 lladdr 00-06-00:00:00:00:00:02 REACHABLE |
| 244 |
\endverbatim |
| 245 |
* Note that the MAC address is printed as "type"-"size"-"actual address" |
| 246 |
*/ |
| 247 |
void PrintArpCacheEvery (Time printInterval, Ptr<Node> node, Ptr<OutputStreamWrapper> stream) const; |
| 151 |
}; |
248 |
}; |
| 152 |
|
249 |
|
| 153 |
|
250 |
|