weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Fields
arp_entry Struct Reference

Data Fields

struct uip_eth_addr ethaddr
 the 48 bit MAC address
uint16_t ipaddr [2]
 the IP (V4) address
uint8_t time
 Time stamp and valid flag.

Detailed Description

An ARP entry.

This type describes the result of one address resolution. It is a relation of a MAC and an IP address plus a time stamp of when this relation was entered first or updated.


Field Documentation

uint8_t time

Time stamp and valid flag.

The time stamp of this MAC/IP address relation is in terms of a ARP tick. The tick time (hence the unit) is usually 10 s. A longer value may be chosen to get longer ARP timeouts by an 8 bit tick and this 8 bit time stamp.

The value 0 is neither used as tick nor (hence) as time stamp value. time == 0 just means this entry is invalid.


The documentation for this struct was generated from the following file: