|
lwIP
2.2.1
Lightweight IP stack
|
Macros | |
| #define | MEMCPY(dst, src, len) memcpy(dst,src,len) |
| #define | SMEMCPY(dst, src, len) memcpy(dst,src,len) |
| #define | MEMMOVE(dst, src, len) memmove(dst,src,len) |
| #define MEMCPY | ( | dst, | |
| src, | |||
| len | |||
| ) | memcpy(dst,src,len) |
MEMCPY: override this if you have a faster implementation at hand than the one included in your C library
| #define MEMMOVE | ( | dst, | |
| src, | |||
| len | |||
| ) | memmove(dst,src,len) |
MEMMOVE: override this if you have a faster implementation at hand than the one included in your C library. lwIP currently uses MEMMOVE only when IPv6 fragmentation support is enabled.
| #define SMEMCPY | ( | dst, | |
| src, | |||
| len | |||
| ) | memcpy(dst,src,len) |
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.