| lwIP
    2.1.2
    Lightweight IP stack | 
#include "lwip/arch.h"#include "lwip/prot/ethernet.h"#include "arch/bpstruct.h"#include "arch/epstruct.h"| Data Structures | |
| struct | ip4_addr_wordaligned | 
| struct | etharp_hdr | 
| Macros | |
| #define | IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t)) | 
| #define | IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t)) | 
ARP protocol definitions
| #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.
| #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.