ARP protocol definitions. More...
Go to the source code of this file.
Data Structures | |
struct | ip4_addr_wordaligned |
struct ip4_addr_wordaligned is used in the definition of the ARP packet format in order to support compilers that don't have structure packing. More... | |
struct | etharp_hdr |
the ARP message, see RFC 826 ("Packet format") More... | |
Macros | |
#define | IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t)) |
MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed. More... | |
#define | IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t)) |
MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed. More... | |
ARP protocol definitions.
Definition in file lwip/prot/etharp.h.
#define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T | ( | dest, | |
src | |||
) | SMEMCPY(dest, src, sizeof(ip4_addr_t)) |
MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed.
Definition at line 78 of file lwip/prot/etharp.h.
#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T | ( | dest, | |
src | |||
) | SMEMCPY(dest, src, sizeof(ip4_addr_t)) |
MEMCPY-like copying of IP addresses where addresses are known to be 16-bit-aligned if the port is correctly configured (so a port could define this to copying 2 u16_t's) - no NULL-pointer-checking needed.
Definition at line 71 of file lwip/prot/etharp.h.