SMEMCPY is only used within LwIP.
 
Symbols
loading...
Files
loading...

SMEMCPY macro

SMEMCPY: override this with care! Some compilers (e.g. gcc) can inline a call to memcpy() if the length is known at compile time and is small.

Syntax

#define SMEMCPY(dst,src,len) memcpy(dst,src,len)

Arguments

dst

src

len

References

LocationText
opt.h:145
#define SMEMCPY(dst,src,len) memcpy(dst,src,len)
etharp.c:465
etharp.c:1133
etharp.c:1134
etharp.h:71
#define IPADDR_WORDALIGNED_COPY_TO_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
etharp.h:78
#define IPADDR_WORDALIGNED_COPY_FROM_IP4_ADDR_T(dest, src) SMEMCPY(dest, src, sizeof(ip4_addr_t))
ethernet.c:303
SMEMCPY(&ethhdr->dest, dst, ETH_HWADDR_LEN);
ethernet.c:304
SMEMCPY(&ethhdr->src, src, ETH_HWADDR_LEN);
icmp.c:377
SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload,
ip4_frag.c:185
SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN);
ip4_frag.c:308
SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN);
ip4_frag.c:580
SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN);
ip4_frag.c:628
SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN);
ip4_frag.c:806
SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN);