IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T is only used within LwIP.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesLwIPIPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T

IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T macro

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.

Syntax

#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))

Arguments

dest

src

References

LocationText
etharp.h:71
#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
etharp.c:678
IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&sipaddr, &hdr->sipaddr);
etharp.c:679
IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(&dipaddr, &hdr->dipaddr);