/[lwip]/lwip/src/core/mem.c
ViewVC logotype

Log of /lwip/src/core/mem.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Sun Jun 26 17:31:10 2011 UTC (12 years, 5 months ago) by goldsimon
Branch: MAIN
CVS Tags: HEAD, cvs-repository-moved-to-git
Changes since 1.77: +6 -5 lines
Diff to previous 1.77
fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an unaligned pointer.


Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Sun Jun 26 17:13:57 2011 UTC (12 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.76: +2 -0 lines
Diff to previous 1.76
Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1)


Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Mar 22 08:38:28 2010 UTC (13 years, 8 months ago) by goldsimon
Branch: MAIN
CVS Tags: STABLE-1_4_0, STABLE-1_4_0-RC1, STABLE-1_4_0-RC2
Changes since 1.75: +1 -1 lines
Diff to previous 1.75
Fixed compilation for MEM_USE_POOLS under MSVC (where ++ doesn't work for enums)


Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Mon Mar 15 10:44:19 2010 UTC (13 years, 8 months ago) by goldsimon
Branch: MAIN
Changes since 1.74: +20 -20 lines
Diff to previous 1.74
Fixed compiler warnings when casting where we know the source is aligned (by casting to void-pointer first)


Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sun Mar 7 16:50:08 2010 UTC (13 years, 9 months ago) by goldsimon
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73
Create mem_mutext at the end of mem_init. This enables sys_mutex_new to use the heap if required.


Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Fri Feb 19 16:23:46 2010 UTC (13 years, 9 months ago) by goldsimon
Branch: MAIN
Changes since 1.72: +6 -8 lines
Diff to previous 1.72
Renamed mem_realloc() to mem_trim() to prevent confusion with realloc()


Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Fri Feb 12 13:56:51 2010 UTC (13 years, 9 months ago) by goldsimon
Branch: MAIN
Changes since 1.71: +1 -0 lines
Diff to previous 1.71
Fixed compilation for NO_SYS==1


Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Fri Feb 12 13:49:21 2010 UTC (13 years, 9 months ago) by goldsimon
Branch: MAIN
Changes since 1.70: +9 -7 lines
Diff to previous 1.70
task #10139 (Prefer statically allocated memory): converted mbox and semaphore functions to take pointers to sys_mbox_t/sys_sem_t; converted sys_mbox_new/sys_sem_new to take pointers and return err_t; task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX to let sys.h use binary semaphores instead of mutexes - as before)


Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Feb 2 20:14:05 2010 UTC (13 years, 10 months ago) by goldsimon
Branch: MAIN
Changes since 1.69: +6 -6 lines
Diff to previous 1.69
Fixed compiler warnings when MEM_SIZE < 64000


Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Mon Jan 25 08:24:30 2010 UTC (13 years, 10 months ago) by goldsimon
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
bug #28659: Missing casts


Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Jan 18 17:45:41 2010 UTC (13 years, 10 months ago) by goldsimon
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67
Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it


Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Wed Jan 13 13:09:55 2010 UTC (13 years, 10 months ago) by goldsimon
Branch: MAIN
Changes since 1.66: +10 -2 lines
Diff to previous 1.66
The heap now may be moved to user-defined memory by defining LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address (patch #6966 and bug #26133)


Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Jan 11 09:49:31 2010 UTC (13 years, 10 months ago) by goldsimon
Branch: MAIN
Changes since 1.65: +1 -1 lines
Diff to previous 1.65
Fixed comment on struct mem.prev


Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Nov 22 15:18:21 2009 UTC (14 years ago) by goldsimon
Branch: MAIN
CVS Tags: STABLE-1_3_2
Changes since 1.64: +4 -4 lines
Diff to previous 1.64
Fixed usage of logging levels (bug #27948: Incorrect logging levels used in various places)


Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sat Apr 25 17:42:27 2009 UTC (14 years, 7 months ago) by goldsimon
Branch: MAIN
CVS Tags: STABLE-1_3_1, STABLE-1_3_1-RC1, STABLE-1_3_1-RC2, STABLE-1_3_1-RC3, STABLE-1_3_2-RC1
Changes since 1.63: +18 -16 lines
Diff to previous 1.63
bug #26213 "Problem with memory allocation when debugging": memp_sizes contained the wrong sizes (including sanity regions); memp pools for MEM_USE_POOLS were too small; Added option MEM_USE_POOLS_TRY_BIGGER_POOL to try the next bigger malloc pool if one is empty (only usable with MEM_USE_POOLS).


Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed Feb 18 20:42:16 2009 UTC (14 years, 9 months ago) by goldsimon
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
mem_free: fix a warning by converting pointer to mem_ptr_t instead of unsigned long


Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Jun 30 18:16:51 2008 UTC (15 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.61: +142 -93 lines
Diff to previous 1.61
fixed bug #21433: Calling mem_free/pbuf_free from interrupt context isn't safe: LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT allows mem_free to run between mem_malloc iterations. Added illegal counter for mem stats.


Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 18:37:53 2008 UTC (15 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.60: +7 -27 lines
Diff to previous 1.60
patch #6483: stats module improvement: Added defines to display each module's statistic individually, added stats defines for MEM, MEMP and SYS modules, removed (unused) rexmit counter.


Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Thu Mar 27 19:29:36 2008 UTC (15 years, 8 months ago) by goldsimon
Branch: MAIN
Changes since 1.59: +33 -8 lines
Diff to previous 1.59
fixed bug #21433 (Calling mem_free/pbuf_free from interrupt context isn't safe): set LWIP_USE_HEAP_FROM_INTERRUPT to 1 in lwipopts.h or use tcpip_callback_nonblocking(pbuf_free_int, p)/ tcpip_callback_nonblocking(mem_free, m) to free pbufs or heap memory from interrupt context


Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Tue Mar 4 16:31:32 2008 UTC (15 years, 9 months ago) by jifl
Branch: MAIN
CVS Tags: STABLE-1_3_0
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
  * mem.c, stats.c, mem.h: apply patch #6414 to avoid compiler errors
  and/or warnings on some systems where mem_size_t and size_t differ.


Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Jan 11 14:28:58 2008 UTC (15 years, 10 months ago) by jifl
Branch: MAIN
CVS Tags: STABLE-1_3_0-RC1
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
Minor spelling typos and formatting fixes.


Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Jan 4 23:07:45 2008 UTC (15 years, 11 months ago) by fbernon
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
Minor changes in lwip folder: fix some warnings, coding style, and rename "internal" netconn_alloc function.


Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Dec 3 18:01:28 2007 UTC (16 years ago) by goldsimon
Branch: MAIN
Changes since 1.55: +16 -0 lines
Diff to previous 1.55
Added short comment in file description about how to handle MEM_USE_POOLS / MEM_LIBC_MALLOC


Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Wed Nov 28 18:24:08 2007 UTC (16 years ago) by goldsimon
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
mem_malloc with MEM_USE_POOLS=1: if size > size of biggest pool and custom pools (in addition to the MEM_POOLs) were defined, the first custom pool was used instead of asserting


Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Wed Nov 28 17:19:15 2007 UTC (16 years ago) by jgrubb
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
Fix typo (MEMP_POOL_START/END to FIRST/LAST)


Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Nov 25 10:01:22 2007 UTC (16 years ago) by goldsimon
Branch: MAIN
Changes since 1.52: +51 -15 lines
Diff to previous 1.52
Added some more comments and function documentation


Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue Oct 9 19:59:58 2007 UTC (16 years, 2 months ago) by goldsimon
Branch: MAIN
Changes since 1.51: +0 -1 lines
Diff to previous 1.51
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!


Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Mon Oct 8 18:39:45 2007 UTC (16 years, 2 months ago) by goldsimon
Branch: MAIN
Changes since 1.50: +6 -0 lines
Diff to previous 1.50
lfree was not updated in mem_realloc!


Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Sep 15 11:34:06 2007 UTC (16 years, 2 months ago) by kleshov
Branch: MAIN
Changes since 1.49: +12 -6 lines
Diff to previous 1.49
Fix bug #21077: inaccuracy in calculation of lwip_stat.mem.used


Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Sep 7 23:02:00 2007 UTC (16 years, 3 months ago) by fbernon
Branch: MAIN
Changes since 1.48: +6 -6 lines
Diff to previous 1.48
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.


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Fri Aug 17 17:50:32 2007 UTC (16 years, 3 months ago) by jgrubb
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
Task #7136: Centralize mempool settings into new memp_std.h and optional user file lwippools.h.


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Aug 17 00:30:28 2007 UTC (16 years, 3 months ago) by fbernon
Branch: MAIN
Changes since 1.46: +6 -6 lines
Diff to previous 1.46
Minor changes (tabs, ident, coding style...)


Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 18:37:15 2007 UTC (16 years, 3 months ago) by marcbou
Branch: MAIN
Changes since 1.45: +11 -0 lines
Diff to previous 1.45
Added mem_calloc().


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Aug 9 22:21:45 2007 UTC (16 years, 4 months ago) by fbernon
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
Comments Fix for Doxygen documentation


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Jun 22 20:26:30 2007 UTC (16 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
no-pool-big-enough was not correctly caught


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Jun 22 20:23:26 2007 UTC (16 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
ASSERTS were using old MEM_ALIGN define, therefore, was not compilable without LWIP_NOASSERT defined


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Jun 21 20:12:11 2007 UTC (16 years, 5 months ago) by goldsimon
Branch: MAIN
Changes since 1.41: +75 -3 lines
Diff to previous 1.41
Introduced the option MEM_USE_POOLS to use 4 pools with different sized elements instead of a heap. This both prevents memory fragmentation and gives a higher speed at the cost of more memory consumption. Turned off by default.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Jun 13 17:17:26 2007 UTC (16 years, 5 months ago) by fbernon
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40
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.


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue May 22 19:38:12 2007 UTC (16 years, 6 months ago) by goldsimon
Branch: MAIN
Changes since 1.39: +45 -93 lines
Diff to previous 1.39
Added some comments, better max-size-check, removed Adams original mem_malloc.


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed May 16 11:02:07 2007 UTC (16 years, 6 months ago) by goldsimon
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38
Removed semaphores from memp, changed sys_sem_wait calls into sys_arch_sem_wait calls to prevent timers from running while waiting for the heap. This fixes bug #19167.


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue May 15 16:34:30 2007 UTC (16 years, 6 months ago) by fbernon
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
Minor fix (tabs)


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue May 15 10:35:48 2007 UTC (16 years, 6 months ago) by goldsimon
Branch: MAIN
Changes since 1.36: +11 -11 lines
Diff to previous 1.36
Aligned MIN_SIZE, memset(0) the complete ram_heap instead of only the used area, only to be on the safe side...


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri May 11 19:42:50 2007 UTC (16 years, 6 months ago) by goldsimon
Branch: MAIN
Changes since 1.35: +5 -2 lines
Diff to previous 1.35
Ooops, checked in the wrong version before :-(


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri May 11 19:42:10 2007 UTC (16 years, 6 months ago) by goldsimon
Branch: MAIN
Changes since 1.34: +133 -96 lines
Diff to previous 1.34
- Changed mem_malloc(): near fit behaves like exact fit since mem->next is always used
- Included some more alignment statements
- Every malloced block is at least MIN_SIZE big (can be overridden, can be used to work against fragmentation)
- Added many comments so that the next developer knows what I was thinking :-)


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue May 8 18:09:14 2007 UTC (16 years, 7 months ago) by goldsimon
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33
Fixed 3 typos of the version checked in yesterday...


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue May 8 10:50:19 2007 UTC (16 years, 7 months ago) by goldsimon
Branch: MAIN
Changes since 1.32: +5 -0 lines
Diff to previous 1.32
mem_realloc: Added assert to check that memory is shrinked, not expanded.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon May 7 19:48:30 2007 UTC (16 years, 7 months ago) by goldsimon
Branch: MAIN
Changes since 1.31: +60 -40 lines
Diff to previous 1.31
Another attempt to fix bug #17922


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Mar 30 08:47:04 2007 UTC (16 years, 8 months ago) by fbernon
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with others environment defines (these were too "generic").


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 4 08:24:25 2006 UTC (17 years ago) by christiaans
Branch: MAIN
Branch point for: DEVEL_SOCKET, STABLE-1_2_0
Changes since 1.29: +5 -0 lines
Diff to previous 1.29
Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 28 13:29:05 2006 UTC (17 years ago) by christiaans
Branch: MAIN
Changes since 1.28: +12 -1 lines
Diff to previous 1.28
Disabled alignment fix. Stepping back, #17922 fix fails on my target, DHCP won't start, I don't understand.


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Nov 27 14:23:24 2006 UTC (17 years ago) by christiaans
Branch: MAIN
Changes since 1.27: +16 -21 lines
Diff to previous 1.27
Changed heap to use naturally aligned start address and added near-fit case to #17922 fix.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Nov 22 09:56:39 2006 UTC (17 years ago) by christiaans
Branch: MAIN
Changes since 1.26: +0 -1 lines
Diff to previous 1.26
Removed mem_dump() reference.


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Nov 22 08:27:38 2006 UTC (17 years ago) by christiaans
Branch: MAIN
Changes since 1.25: +142 -38 lines
Diff to previous 1.25
Initial attempt at fixing bug #17922, calling for reviewers. This seems to work for me, more or less, but it looks like it breaks TCP.


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed May 31 21:23:01 2006 UTC (17 years, 6 months ago) by curtmcd
Branch: MAIN
Changes since 1.24: +6 -16 lines
Diff to previous 1.24
Remove unused mem_reallocm


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Nov 25 12:03:38 2005 UTC (18 years ago) by christiaans
Branch: MAIN
CVS Tags: STABLE-1_1_1
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
Introduced cc.h formatters and removed SO_REUSE from transport layers.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Jul 4 23:43:38 2004 UTC (19 years, 5 months ago) by likewise
Branch: MAIN
CVS Tags: STABLE-1_0_0, STABLE-1_1_0, STABLE-1_1_0-RC1
Branch point for: STABLE-1_1
Changes since 1.22: +1 -0 lines
Diff to previous 1.22
Dependencies on C library memset() etc., so include <string.h>.


Revision 1.18.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Apr 23 15:10:58 2004 UTC (19 years, 7 months ago) by likewise
Branch: STABLE-0_7
CVS Tags: STABLE-0_7_2
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 , to next main 1.78
Updated copyright years.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Feb 20 00:45:47 2004 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: POST_PACK_REMOVE, PRE_PACK_REMOVE
Branch point for: lukem-pbuf
Changes since 1.21: +2 -0 lines
Diff to previous 1.21
added 8-byte alignment for 64-bit architectures


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Feb 16 21:33:42 2004 UTC (19 years, 9 months ago) by likewise
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Applied Ian Wienand's patches (4-2-2004). Was partly applied earlier.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Feb 7 00:30:03 2004 UTC (19 years, 10 months ago) by likewise
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Merged from DEVEL, except for the API change in etharp.c.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Feb 6 23:44:59 2004 UTC (19 years, 10 months ago) by likewise
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
Applied mem.diff by Ian Wienand on lwip-devel on February 4th 2004.
Stops some warnings.


Revision 1.17.2.3 - (view) (download) (annotate) - [select for diffs]
Thu Jan 22 21:00:45 2004 UTC (19 years, 10 months ago) by likewise
Branch: DEVEL
CVS Tags: merged_from_DEVEL_to_main
Changes since 1.17.2.2: +1 -1 lines
Diff to previous 1.17.2.2 , to branch point 1.17 , to next main 1.78
Globally updated the Copyright notices to mention 2004, except for the PPP folder.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Nov 14 13:17:24 2003 UTC (20 years ago) by likewise
Branch: MAIN
CVS Tags: STABLE, STABLE-0_6_5, STABLE-0_7_0, STABLE-0_7_1, branched_from_main_to_STABLE-0_7, merged_from_main_to_STABLE-0_7
Branch point for: STABLE-0_7
Changes since 1.17: +7 -7 lines
Diff to previous 1.17
Merged from DEVEL into main tree.


Revision 1.17.2.2 - (view) (download) (annotate) - [select for diffs]
Fri Nov 14 09:42:51 2003 UTC (20 years ago) by likewise
Branch: DEVEL
Changes since 1.17.2.1: +1 -1 lines
Diff to previous 1.17.2.1 , to branch point 1.17
Applied patch #1779 (considered a workaround) for bug #2595.
Removed all horizontal line seperators as they serve no use.


Revision 1.17.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 11:44:43 2003 UTC (20 years, 1 month ago) by jani
Branch: DEVEL
Changes since 1.17: +6 -6 lines
Diff to previous 1.17
Use #if not #ifdef for all STATS options. They are turned on off by defining them to 1 or 0. Make use of XXX_STATS_INC macros for udp, ip, tcp, ip_frag, link and icmp. Add IPFRAG_STATS option


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Jun 12 07:18:57 2003 UTC (20 years, 5 months ago) by likewise
Branch: MAIN
CVS Tags: STABLE-0_6_4, merged_from_main_to_DEVEL, root_of_DEVEL
Branch point for: DEVEL
Changes since 1.16: +6 -4 lines
Diff to previous 1.16
Fixed a string literal being wrongly split over two lines.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 10:45:29 2003 UTC (20 years, 6 months ago) by kieranm
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15
Changed DEBUGF to LWIP_DEBUGF


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jun 9 21:14:47 2003 UTC (20 years, 6 months ago) by likewise
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14
Replaced all tabs with two spaces (regardless of indentation is correct).


Revision 1.11.2.5 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 17:15:22 2003 UTC (20 years, 6 months ago) by likewise
Changes since 1.11.2.4: +1 -0 lines
Diff to previous 1.11.2.4 , to branch point 1.11 , to next main 1.78
Overwrote files from main as the merged_from_main_to_STABLE tag was incorrect.


Revision 1.11.2.4 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 16:14:42 2003 UTC (20 years, 6 months ago) by likewise
Changes since 1.11.2.3: +0 -1 lines
Diff to previous 1.11.2.3 , to branch point 1.11
Merged again due to differing two-way differences. No clue why.


Revision 1.11.2.3 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 10:18:38 2003 UTC (20 years, 6 months ago) by likewise
Changes since 1.11.2.2: +8 -15 lines
Diff to previous 1.11.2.2 , to branch point 1.11
Merged from main development tree.


Revision 1.11.2.2 - (view) (download) (annotate) - [select for diffs]
Wed May 14 14:38:28 2003 UTC (20 years, 6 months ago) by likewise
Changes since 1.11.2.1: +22 -22 lines
Diff to previous 1.11.2.1 , to branch point 1.11
Added spaces between each keyword and opening bracket.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu May 1 13:24:01 2003 UTC (20 years, 7 months ago) by likewise
Branch: MAIN
CVS Tags: merged_from_main_to_STABLE
Branch point for: STABLE-0_6_3
Changes since 1.13: +8 -8 lines
Diff to previous 1.13
Major stylo search/replace for "One space between keyword and opening bracket."


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Apr 15 14:40:55 2003 UTC (20 years, 7 months ago) by likewise
Branch: MAIN
Changes since 1.12: +23 -30 lines
Diff to previous 1.12
Stylo.


Revision 1.11.2.1 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 09:28:17 2003 UTC (20 years, 8 months ago) by likewise
CVS Tags: STABLE-0_6_2
Changes since 1.11: +3 -2 lines
Diff to previous 1.11
Merged against HEAD for memory usage stats fix and locking fix.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Apr 9 20:19:27 2003 UTC (20 years, 8 months ago) by davidhaas
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11
Made memory stats more accurate (real amount and max amount of memory used).

Also fixed a protection bug which occurred when memory allocation failed.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Mar 31 09:36:18 2003 UTC (20 years, 8 months ago) by kieranm
Branch: MAIN
CVS Tags: STABLE-0_6_1
Changes since 1.10: +10 -0 lines
Diff to previous 1.10
Fixed bug in mem_realloc (check alignment of size)


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Mar 24 10:29:03 2003 UTC (20 years, 8 months ago) by likewise
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
Added debug levels for some serious errors (out of memory).


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Feb 21 16:43:46 2003 UTC (20 years, 9 months ago) by jani
Branch: MAIN
Changes since 1.8: +0 -1 lines
Diff to previous 1.8
byte-order handling functions are in inet.c now and the uperrcase counterparts are gone. opt.h has all the
configurable items debug does not need to be directly included.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Feb 6 22:18:56 2003 UTC (20 years, 10 months ago) by davidhaas
Branch: MAIN
Branch point for: leon-dhcp
Changes since 1.7: +78 -78 lines
Diff to previous 1.7
Add the following features and bugfixes:

Added select() functionality to sockets library.
Support for errno in sockets library.
Byte ordering fixes.
basic lwip_ioctl(), FIONREAD, get/setsockopt() etc. support

- added additional argument to netif_add to pass state pointer so that the
if_init function has access to context information before
the interface is added, without accessing globals.

- added netif_remove()

- to conserve cpu load the tcpip_tcp_timer should only be active
when tcbs that need it exist.

- pass length of available data to callbacks for NETCONN_EVT_RCV events

- added tcpip_link_input(), a hack to allow processing of PPP
packets in tcpip_thread() context. This saves threads and context
switches.

- renamed incompatible ASSERT() macro to LWIP_ASSERT() to avoid name
collision.

- changed a bunch of %d's to %u's in format strings for unsigned values.

- added ip_frag to lwip_stats.

- changed IP_REASS_MAXAGE and IP_REASS_TMO defaults to more realistic
values.

- added sys_timeout_remove() function to cancel timeouts (needed by PPP
amongst other things).

- tolerate NULL returns from sys_arch_timeouts() since some threads might
not need to use or have timeouts.

- added sys_sem_wait_timeout()

- moved mem_malloc() function to end of mem.c to work around tasking
compiler bug.

- automatically bind to local tcp port if 0.

- allow customization of port ranges for automatic local bindings.

- corrected various typos, spelling errors, etc..

Thanks to Marc Boucher for many of these changes.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Feb 4 22:52:22 2003 UTC (20 years, 10 months ago) by davidhaas
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Added lightweight protection. In coldfire this is implemented by disabling
interrupts. In unixsim this is implemented by using a mutex. Uses #define
SYS_LIGHTWEIGHT_PROT to enable. It is enabled in coldfire by default, but
disabled in unixsim.

Fixes bug 2005 if you enable SYS_LIGHTWEIGHT_PROT. So the bug is closed.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Jan 8 10:09:42 2003 UTC (20 years, 11 months ago) by likewise
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Updated lwIP module copyright years to include 2003. Committers must check theirs.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Dec 18 12:49:02 2002 UTC (20 years, 11 months ago) by jani
Branch: MAIN
Changes since 1.4: +10 -10 lines
Diff to previous 1.4
renamed (hopefully everywhere) stats to lwip_stats.closes bug #1901


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Dec 18 12:01:24 2002 UTC (20 years, 11 months ago) by kieranm
Branch: MAIN
Changes since 1.3: +9 -4 lines
Diff to previous 1.3
Removed dummy variable from "struct mem" and handled all MEM_ALIGNMENT cases
Fixes bug #1912


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Dec 18 10:40:01 2002 UTC (20 years, 11 months ago) by jani
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
use memset and memcpy instead of bzero and bcopy throughout lwIP core code.Archs need to update.Bug #1899


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Nov 14 12:20:37 2002 UTC (21 years ago) by jani
Branch: MAIN
Branch point for: STABLE-0_6_0
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Fix function names in DEBUGF stataments.Remove reference to "reclaimed" field in stat.


Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Sat Oct 19 13:00:33 2002 UTC (21 years, 1 month ago) by likewise
Branch: adamdunkels
CVS Tags: start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.78
Initial import from Adam's 20021017 CVS archive w/ modified license.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Oct 19 13:00:33 2002 UTC (21 years, 1 month ago) by likewise
Branch: MAIN
Branch point for: adamdunkels
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26