#include "net\ip.h"
Defines | |
#define | ARP_REPLY (0x00ul) |
#define | ARP_REQUEST (0x01ul) |
#define | ARP_UNKNOWN (0x02ul) |
#define | ARPIsTxReady() MACIsTxReady(TRUE) |
Functions | |
BOOL | ARPGet (NODE_INFO *remote, BYTE *opCode) |
BOOL | ARPPut (NODE_INFO *remote, BYTE opCode) |
#define ARP_REPLY (0x00ul) |
#define ARP_REQUEST (0x01ul) |
#define ARP_UNKNOWN (0x02ul) |
#define ARPIsTxReady | ( | ) | MACIsTxReady(TRUE) |
If a valid ARP packet addressed to us was received, true is returned and opcode (ARP_REPLY or ARP_REQUEST) is writen to given opCode buffer.
remote | Remote node info | |
opCode | Buffer to hold ARP op code. |
Send an ARP message.
remote | - Remote node info | |
opCode | - ARP op code to send |