goldsimon
|
f61b80ca6a
|
Fixed bug #29361 (ip_frag has problems with zero-copy DMA MACs) by adding custom pbufs and implementing custom pbufs that reference other (original) pbufs. Additionally set IP_FRAG_USES_STATIC_BUF=0 as default to be on the safe side.
|
2010-06-21 18:50:16 +00:00 |
|
goldsimon
|
f98e5717e5
|
task #6849: added udp_send(_to/_if) functions that take a precalculated checksum, added pbuf_fill_chksum() to copy data into a pbuf and at the same time calculating the checksum for that data
|
2010-04-30 20:39:45 +00:00 |
|
goldsimon
|
846a2fb933
|
Fixed compiling with different options disabled (TCP/UDP), triggered by bug #29345; don't allocate acceptmbox if LWIP_TCP is disabled
|
2010-03-26 16:09:02 +00:00 |
|
goldsimon
|
0a2eb3fdc8
|
minor: fixed coding style
|
2010-03-22 15:45:34 +00:00 |
|
goldsimon
|
bcd4b76d31
|
Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains the actual application programmer's API
|
2010-02-21 11:35:21 +00:00 |
|
goldsimon
|
52970c2459
|
Renamed mem_realloc() to mem_trim() to prevent confusion with realloc()
|
2010-02-19 16:23:46 +00:00 |
|
goldsimon
|
9ff7d29696
|
Fixed compiler warnings when MEM_SIZE < 64000
|
2010-02-02 20:14:05 +00:00 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
aeef0a21f3
|
Fixed bug #28064: pbuf_alloc(PBUF_POOL) is not thread-safe by queueing a call into tcpip_thread to free ooseq-bufs if the pool is empty
|
2009-11-29 11:57:35 +00:00 |
|
goldsimon
|
49bdf32765
|
Fixed usage of logging levels (bug #27948: Incorrect logging levels used in various places)
|
2009-11-22 13:31:31 +00:00 |
|
goldsimon
|
22bcf5892a
|
Fixed bug #27034: "Invalid ASSERT in pbuf_alloc()" to prevent breaking PPP (for now).
|
2009-07-27 15:17:13 +00:00 |
|
goldsimon
|
22d6558f13
|
task #7013: Added option LWIP_NETIF_TX_SINGLE_PBUF to try to create transmit packets from only one pbuf to help MACs that don't support scatter-gather DMA.
|
2009-05-10 17:07:25 +00:00 |
|
goldsimon
|
7b6c11360f
|
Added check: PBUF_POOL_BUFSIZE must be greater than MEM_ALIGNMENT or else the offset of a pbuf may take the full first pbuf in a chain (resulting in the first pbuf having len==0)
|
2009-02-18 16:50:40 +00:00 |
|
jifl
|
102d69004a
|
* pbuf.c: reclaim pbufs from TCP out-of-sequence segments if we run
out of pool pbufs.
|
2009-01-28 05:43:35 +00:00 |
|
jifl
|
6f6c8c5434
|
* pbuf.c (pbuf_copy_partial): Improve function description comment. Thanks to Luca Ceresoli
|
2008-09-30 13:40:41 +00:00 |
|
goldsimon
|
6374766a55
|
Added 2 asserts in pbuf_realloc to prevent dereferencing a null pointer in invalid pbuf queues
|
2008-08-26 19:34:18 +00:00 |
|
goldsimon
|
a9aefcc1be
|
Fixed comments for pbuf_copy() and find_entry() as proposed by Luca Ceresoli on lwip-users
|
2008-04-01 19:05:40 +00:00 |
|
jifl
|
f067d34392
|
* pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.
|
2008-03-04 16:37:46 +00:00 |
|
fbernon
|
c61262d839
|
Minor changes in lwip folder: fix some warnings.
|
2008-01-04 23:24:05 +00:00 |
|
goldsimon
|
e1f49d990b
|
Fix some warnings discovered by compiling the unixsim under cygwin (gcc pedantic)
|
2007-11-25 13:57:05 +00:00 |
|
fbernon
|
3d9c76a69c
|
Minor change (doxygen tags)
|
2007-11-24 22:13:25 +00:00 |
|
jgrubb
|
54e1b79ac5
|
Make pbuf_alloc a bit easier to read (change parameter name from "l" to "layer" and use LWIP_MIN instead of ternary operatory)
|
2007-09-10 18:25:15 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
2007-09-07 23:01:59 +00:00 |
|
fbernon
|
4f76bc42d7
|
Rename pbuf's "flgs" in "flags" (see in [lwip-devel] Last changes by Marc)
|
2007-08-20 19:15:43 +00:00 |
|
marcbou
|
0471aaec52
|
Use enum pbuf_flag as pbuf_type.
Renumber PBUF_FLAG_*.
|
2007-08-17 02:09:43 +00:00 |
|
marcbou
|
4236699052
|
Split pbuf flags in pbuf type and flgs.
Improved lwip_recvfrom(). TCP push now propagated.
|
2007-08-16 20:22:15 +00:00 |
|
jifl
|
f0b33f5ced
|
Make pbuf_init() call be an empty macro for now
|
2007-07-27 15:06:03 +00:00 |
|
goldsimon
|
f9c30017b0
|
Fixed bug #20429: use the new pbuf_copy_partial instead of the old copy_from_pbuf, which illegally modified the given pbuf; Introduced pbuf_copy_partial, making netbuf_copy_partial use this function.
|
2007-07-25 18:53:45 +00:00 |
|
goldsimon
|
8d2c8065eb
|
Removed old debug variables from pbuf_copy()
|
2007-07-04 16:43:54 +00:00 |
|
fbernon
|
bf176ed712
|
Minor fix (indent)
|
2007-07-03 21:27:59 +00:00 |
|
goldsimon
|
eb875de67e
|
Added assertions where PBUF_RAM pbufs are used and an assumption is made that this pbuf is in one piece (i.e. not chained). These assumptions clash with the possibility of converting to fully pool-based pbuf implementations, where PBUF_RAM pbufs might be chained.
|
2007-07-03 20:28:35 +00:00 |
|
goldsimon
|
88b1cebe1d
|
Sorry, checked in some of my local changes with the LWIP_ERROR modification!
|
2007-06-23 13:09:58 +00:00 |
|
goldsimon
|
bb9e9e5480
|
Changed the expression of LWIP_ERROR to the same as for LWIP_ASSERT
|
2007-06-22 20:50:21 +00:00 |
|
fbernon
|
4c07b1606c
|
Minor changes: fix some comments for Doygen documentation
|
2007-06-21 07:17:29 +00:00 |
|
goldsimon
|
f66bbda8b1
|
Ooops, checked in a wrong (test-) version before!
|
2007-06-18 19:52:55 +00:00 |
|
goldsimon
|
6784fd64f3
|
Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1
|
2007-06-17 15:20:21 +00:00 |
|
goldsimon
|
55bd48dc10
|
Always align PBUF_POOL_BUFSIZE, pbuf_init is not needed any more, minor changes to meet coding style requirements
|
2007-06-17 14:36:19 +00:00 |
|
goldsimon
|
f93b8fe377
|
pbuf_copy(): removed copy & paste error which did not copy pbuf chains correctly
|
2007-06-14 17:40:39 +00:00 |
|
goldsimon
|
978c68dcf8
|
pbuf_copy: chained pbufs were not copied correctly because of wrong packet-queue-check
|
2007-06-14 07:22:43 +00:00 |
|
fbernon
|
bdbc96f453
|
opt.h, mem.h, mem.c, memp.c, pbuf.c, ip_frag.c, vj.c: Fix bug #20162. Rename MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid some macro names collision with some OS macros.
|
2007-06-13 17:17:26 +00:00 |
|
goldsimon
|
0b9c9f9ede
|
pbuf_copy(): Corrected a wrong comment & try to behave correctly if LWIP_NOASSERT is defined
|
2007-06-08 17:27:36 +00:00 |
|
goldsimon
|
75fd6fc4a4
|
Needed for patch to bug #19937: pbuf_copy is always compiled, not only if ARP_QUEUEING is enabled
|
2007-06-03 11:28:25 +00:00 |
|
goldsimon
|
98df3c6e0a
|
Removed LWIP_DEBUG_ASSERT
|
2007-05-24 07:19:34 +00:00 |
|
goldsimon
|
4192df97ec
|
Corrected check of PBUF_POOL overflow
|
2007-05-18 11:13:34 +00:00 |
|
goldsimon
|
887077b5a4
|
pbuf_alloc(PBUF_POOL): Added asserts to make sure payload+len is still in bound of the pbuf (also to make sure bug #15659 is fixed).
|
2007-05-16 10:45:28 +00:00 |
|
goldsimon
|
62d705903e
|
task #6831: removed the option PBUF_POOL_USES_MEMP and removed the old pbuf pool code, pbuf pool now always allocates from a memp pool
|
2007-05-13 18:17:22 +00:00 |
|
goldsimon
|
a5e2e9ea03
|
(see task #6831): Included new option PBUF_POOL_USES_MEMP to use a memp pool for PBUF_POOL pbufs instead of the old pool implementation in pbuf.c to remove redundant code.
|
2007-05-13 16:16:03 +00:00 |
|
goldsimon
|
055e3d52b6
|
Modified struct pbuf size determination so that sizeof(struct pbuf) does not necessarily be a multiple of MEM_ALIGNMENT
|
2007-05-13 16:12:29 +00:00 |
|
goldsimon
|
255d5a748f
|
Included patch #5920: Create define to override C-library memcpy. 2 Defines are created: MEMCPY() for normal memcpy, SMEMCPY() for situations where some compilers might inline the copy and save a function call. Also replaced all calls to memcpy() with calls to (S)MEMCPY().
|
2007-05-10 05:20:05 +00:00 |
|
goldsimon
|
79d9b36ece
|
Further update to ARP queueing: Changed pbuf_copy() implementation so that it can be reused (don't allocate the target pbuf inside pbuf_copy()).
|
2007-05-04 21:31:25 +00:00 |
|