|
CS43 Lab7 - A Router Stack
1.2019
|
An outstanding ARP request with queued packets waiting on the response. More...
#include <sr_arpcache.h>
Public Attributes | |
| uint32_t | ip |
| The IP trying to be resolved by the request. More... | |
| time_t | sent |
| Last time this ARP request was sent. More... | |
| uint32_t | times_sent |
| Number of times this request was sent. More... | |
| struct sr_packet * | packets |
| List of sr_packet waiting on this request to finish. More... | |
| struct sr_arpreq * | next |
| Pointer to the next outstanding ARP request. More... | |
An outstanding ARP request with queued packets waiting on the response.
| uint32_t sr_arpreq::ip |
The IP trying to be resolved by the request.
| struct sr_arpreq* sr_arpreq::next |
Pointer to the next outstanding ARP request.
NULL if there are no more in the linked list.
| time_t sr_arpreq::sent |
Last time this ARP request was sent.
You should update this. If the ARP request was never sent, will be 0.
| uint32_t sr_arpreq::times_sent |
Number of times this request was sent.
You should update this.
1.8.13