|
|
| 76 |
/** |
76 |
/** |
| 77 |
* \brief Set the NetDevice and Ipv4Interface associated with the ArpCache |
77 |
* \brief Set the NetDevice and Ipv4Interface associated with the ArpCache |
| 78 |
* |
78 |
* |
| 79 |
* \param device The hardware NetDevice associated with this ARP chache |
79 |
* \param device The hardware NetDevice associated with this ARP cache |
| 80 |
* \param interface the Ipv4Interface associated with this ARP chache |
80 |
* \param interface the Ipv4Interface associated with this ARP cache |
| 81 |
*/ |
81 |
*/ |
| 82 |
void SetDevice (Ptr<NetDevice> device, Ptr<Ipv4Interface> interface); |
82 |
void SetDevice (Ptr<NetDevice> device, Ptr<Ipv4Interface> interface); |
| 83 |
/** |
83 |
/** |
|
|
| 155 |
void Flush (void); |
155 |
void Flush (void); |
| 156 |
|
156 |
|
| 157 |
/** |
157 |
/** |
|
|
158 |
* \brief Print the ARP cache entries |
| 159 |
* |
| 160 |
* \param stream the ostream the ARP cache entries is printed to |
| 161 |
*/ |
| 162 |
void PrintArpCache (Ptr<OutputStreamWrapper> stream); |
| 163 |
|
| 164 |
/** |
| 158 |
* \brief A record that that holds information about an ArpCache entry |
165 |
* \brief A record that that holds information about an ArpCache entry |
| 159 |
*/ |
166 |
*/ |
| 160 |
class Entry { |
167 |
class Entry { |