|
CS43 Lab7 - A Router Stack
1.2019
|
An entry in the ARP cache. More...
#include <sr_arpcache.h>
Public Attributes | |
| unsigned char | mac [6] |
| MAC address of the MAC/IP mapping. More... | |
| uint32_t | ip |
| IP addr in network byte order of the MAC/IP mapping. More... | |
| time_t | added |
| Time that the entry was added. More... | |
| int | valid |
| Boolean indicating whether or not the entry is valid. More... | |
An entry in the ARP cache.
| time_t sr_arpentry::added |
Time that the entry was added.
The entry invalidated after SR_ARPCACHE_TO seconds. This is already tracked for you.
| uint32_t sr_arpentry::ip |
IP addr in network byte order of the MAC/IP mapping.
| unsigned char sr_arpentry::mac[6] |
MAC address of the MAC/IP mapping.
| int sr_arpentry::valid |
Boolean indicating whether or not the entry is valid.
This is already tracked for you
1.8.13