ARPTask is implemented as a cooperative state machine, responding to ARP requests from the remote host. It also maintains a one-level cache to store the ARP reply and returns to a higher level when the appropriate calls are made. ARPTask does not implement a retry mechanism, so the upper level modules or applications must detect time-out conditions and respond accordingly.
arptask operates in two modes: Server mode and Server/Client mode.
The compiler define STACK_CLIENT_MODE includes the client portion of code. In Server/Client mode, ARPTask maintains a one-level cache to store the ARP reply from the remote host. When Server/Client mode is not enabled, the cache is not defined and the corresponding RAM and program memory is not used.
|ARP Module for Modtronix TCP/IP Stack. |
|ARP Server Module for Modtronix TCP/IP Stack. |