Dirk Ziegelmeier
7a1b38db6e
Minor: Save an #ifdef in ip4_frag.c
2016-12-09 21:26:53 +01:00
Axel Lin
20fde0be6c
ip4_frag: Use LWIP_MIN instead of open-coded
...
Signed-off-by: Axel Lin <axel.lin@ingics.com>
2016-10-19 08:37:39 +02:00
Dirk Ziegelmeier
67895e7bdd
Fixup new IPv4 fragmentation code - thanks to Zach Smith
2016-10-19 08:36:43 +02:00
goldsimon
d5bfec2e52
ip4_frag: restore "lwip_ntohs" after last change
2016-10-11 09:52:20 +02:00
goldsimon
576f49ee2b
Fixed bug #46467 : ip_frag() shouldn't modify pbuf in case of a retransmission
2016-10-11 09:47:03 +02:00
Dirk Ziegelmeier
f6e27940bd
Make lwIP compile with clang -Wdocumentation -> several documentation fixes
2016-10-09 12:21:39 +02:00
Dirk Ziegelmeier
13fb616bb2
Cleanup hton*/ntoh* function handling and platform abstraction
...
Let lwip use functions/macros prefixed by lwip_ internally to avoid naming clashes with external #includes.
Remove over-complicated #define handling in def.h
Make functions easier to override in cc.h. The following is sufficient now (no more LWIP_PLATFORM_BYTESWAP):
#define lwip_htons(x) <your_htons>
#define lwip_htonl(x) <your_htonl>
2016-10-06 12:55:57 +02:00
Dirk Ziegelmeier
149701b347
Fix bug #49218 : pbuf_clen() overflow as a result of tcp_write concatenation
...
Let pbuf_clen() return u16_t
2016-09-30 09:04:36 +02:00
sg
34682facd1
Remove ip4_frag IP_FRAG_USES_STATIC_BUF code: nearly the same as the other code, but IP_FRAG_USES_STATIC_BUF doesn't work when queuing pbufs
2016-08-31 21:00:10 +02:00
Dirk Ziegelmeier
72208cddfa
Rename ip_frag.* to ip4_frag.*
2016-07-19 10:12:56 +02:00