]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
jani [Mon, 19 May 2003 14:41:54 +0000 (14:41 +0000)]
patches 1492, 1493 and 1494 from Marc
likewise [Sun, 18 May 2003 22:29:10 +0000 (22:29 +0000)]
Applied patches posted by Marc Boucher on lwip-users May 18th 2003.
jani [Tue, 6 May 2003 12:20:57 +0000 (12:20 +0000)]
add sio_read and sio_write to beused by PPP
jani [Tue, 6 May 2003 12:19:53 +0000 (12:19 +0000)]
empty lightweight protection macros defined not only for no_sys
jani [Tue, 6 May 2003 12:15:08 +0000 (12:15 +0000)]
C++ comments cleanup
jani [Tue, 6 May 2003 12:13:34 +0000 (12:13 +0000)]
fix format warning
jani [Tue, 6 May 2003 11:24:42 +0000 (11:24 +0000)]
simplify MEM_ALIGN_SIZE macro
likewise [Sat, 3 May 2003 09:44:09 +0000 (09:44 +0000)]
Made pbuf flags unsigned. Added "incoming broadcast" flag.
likewise [Thu, 1 May 2003 13:24:01 +0000 (13:24 +0000)]
Major stylo search/replace for "One space between keyword and opening bracket."
jani [Thu, 1 May 2003 09:36:08 +0000 (09:36 +0000)]
add PPP_DEBUG option and align all options to teh same colums using spaces and no tabs.closes patch #1306 too
likewise [Thu, 1 May 2003 09:03:20 +0000 (09:03 +0000)]
Patch #1308. Disabled, as one issue in dhcp.c (file field overloading) needs fix.
likewise [Thu, 1 May 2003 08:37:24 +0000 (08:37 +0000)]
Fixed packet header debug formatters.
likewise [Thu, 1 May 2003 08:29:54 +0000 (08:29 +0000)]
Patch #1183 applied. This drops short ICMP packets.
likewise [Thu, 1 May 2003 08:03:51 +0000 (08:03 +0000)]
Patch #1183 applied. This drops short UDP/TCP packets.
likewise [Thu, 1 May 2003 08:00:41 +0000 (08:00 +0000)]
Patch #1308. Still disabled, as it needs to make sure no file field is not overloaded.
likewise [Thu, 1 May 2003 07:48:01 +0000 (07:48 +0000)]
Implemented packet (de)queueing. Unused, etharp.c must be adapted next.
anderscarlman [Sun, 27 Apr 2003 09:51:59 +0000 (09:51 +0000)]
Added dummy parameters for the empty macros snmp_add_ifinoctets and
snmp_add_ifoutoctets in order to avoid compiler warnings.
anderscarlman [Sat, 26 Apr 2003 20:32:23 +0000 (20:32 +0000)]
Re-added code for checking tail-parameter for NULL in
pbuf_chain() to provide for better backward compatibility.
likewise [Fri, 25 Apr 2003 13:23:10 +0000 (13:23 +0000)]
Mentioned changes to netif that imply changes for network drivers.
likewise [Tue, 22 Apr 2003 15:09:56 +0000 (15:09 +0000)]
Either first or last packet can be queued through ARP_QUEUE_FIRST option.
likewise [Tue, 22 Apr 2003 15:08:47 +0000 (15:08 +0000)]
Either first or last packet can be queued. Fixed (err_t)NULL return value in etharp_query().
jani [Tue, 22 Apr 2003 13:37:14 +0000 (13:37 +0000)]
add definitions for PF_UNSPEC and IPPROTO_IP
likewise [Wed, 16 Apr 2003 07:39:48 +0000 (07:39 +0000)]
Fixed tabs into spaces. Fixed other stylos.
jani [Tue, 15 Apr 2003 14:58:35 +0000 (14:58 +0000)]
obsolete PCB handling only active when TCP is enabled
jani [Tue, 15 Apr 2003 14:56:03 +0000 (14:56 +0000)]
alignment fix from Marc Boucher
likewise [Tue, 15 Apr 2003 14:43:36 +0000 (14:43 +0000)]
Mention DHCP fix.
likewise [Tue, 15 Apr 2003 14:40:55 +0000 (14:40 +0000)]
Stylo.
likewise [Tue, 15 Apr 2003 14:32:13 +0000 (14:32 +0000)]
Changed netif name formatting from %s to %c%c.
likewise [Tue, 15 Apr 2003 12:44:15 +0000 (12:44 +0000)]
hexadecimal notation for NETIF_FLAGS_
likewise [Tue, 15 Apr 2003 12:43:15 +0000 (12:43 +0000)]
Debug levels set on some serious debug messages.
likewise [Tue, 15 Apr 2003 12:41:52 +0000 (12:41 +0000)]
Prevent compiler warning on unused function arguments.
likewise [Tue, 15 Apr 2003 12:38:48 +0000 (12:38 +0000)]
Debug message shows requested pbuf type (of ROM/REF) upon memory allocation failure.
likewise [Tue, 15 Apr 2003 12:37:06 +0000 (12:37 +0000)]
dhcp_inform() did not set and unset netif->dhcp. always generated assert failure.
likewise [Tue, 15 Apr 2003 11:27:52 +0000 (11:27 +0000)]
Prevent warnings about unused function arguments.
likewise [Tue, 15 Apr 2003 09:16:39 +0000 (09:16 +0000)]
Again accepted NULL to indicate IP_ADDR_ANY.
likewise [Mon, 14 Apr 2003 12:29:45 +0000 (12:29 +0000)]
Added NETIF_FLAG_LINK_UP. Not used yet.
likewise [Mon, 14 Apr 2003 12:17:08 +0000 (12:17 +0000)]
Disabled pbuf_dechain() as it not currently in use.
likewise [Mon, 14 Apr 2003 11:37:12 +0000 (11:37 +0000)]
Disabled pbuf_dechain() as it not currently in use. Fixed comment position.
likewise [Mon, 14 Apr 2003 11:36:17 +0000 (11:36 +0000)]
Stronger debugging/assertion.
anderscarlman [Sat, 12 Apr 2003 15:40:43 +0000 (15:40 +0000)]
Removed the lines setting dhcp->msg_in and dhcp->options_in to NULL, since this is done implicitly through dhcp_free_reply().
davidhaas [Fri, 11 Apr 2003 14:39:15 +0000 (14:39 +0000)]
Got rid of pbuf_pool_alloc_cache and pbuf_pool_free_cache. Also got rid of
pbuf_refresh(). This has sped up pbuf pool operations.
likewise [Fri, 11 Apr 2003 14:02:48 +0000 (14:02 +0000)]
All debug messages now show actual config _after_ setting netif config.
likewise [Fri, 11 Apr 2003 12:56:13 +0000 (12:56 +0000)]
Fixed debug message for PBUF_REF/ROM allocation failure.
likewise [Fri, 11 Apr 2003 08:45:15 +0000 (08:45 +0000)]
Macro IP_ADDR_ are cast non-const as lots of functions miss const qualifier for arguments.
likewise [Fri, 11 Apr 2003 08:10:17 +0000 (08:10 +0000)]
ip_addr_any and _broadcast are type-declared as being const.
likewise [Thu, 10 Apr 2003 08:51:58 +0000 (08:51 +0000)]
Updated changelog to reflect some recent changes.
davidhaas [Wed, 9 Apr 2003 20:28:15 +0000 (20:28 +0000)]
Fix memory leaks.
When pbufs are chained, the second pbuf must be freed, if no higher level
application refers to it any longer.
davidhaas [Wed, 9 Apr 2003 20:19:27 +0000 (20:19 +0000)]
Made memory stats more accurate (real amount and max amount of memory used).
Also fixed a protection bug which occurred when memory allocation failed.
davidhaas [Wed, 9 Apr 2003 20:12:12 +0000 (20:12 +0000)]
Fixed bug where tearing down a connection would cause loss of memory.
likewise [Wed, 9 Apr 2003 15:22:11 +0000 (15:22 +0000)]
First attempt to track/explain changes that happened in CVS tree.
likewise [Wed, 9 Apr 2003 15:17:57 +0000 (15:17 +0000)]
Enabled code to abort/replace TCP pcbs upon netif address change.
likewise [Tue, 8 Apr 2003 12:19:02 +0000 (12:19 +0000)]
Added (non-active) code handling pcbs upon changing IP address.
likewise [Mon, 7 Apr 2003 21:28:16 +0000 (21:28 +0000)]
TCP data can be safely referenced as PBUF_ROM instead of PBUF_REF.
jani [Mon, 7 Apr 2003 08:54:18 +0000 (08:54 +0000)]
initial PPP options
likewise [Sun, 6 Apr 2003 20:35:50 +0000 (20:35 +0000)]
Fixed bug #3112 (faulty behaviour calling tcp_listen() when already listening)
likewise [Fri, 4 Apr 2003 08:14:49 +0000 (08:14 +0000)]
Added debugging to verify correct result of udp_bind() / udp_connect().
likewise [Fri, 4 Apr 2003 08:14:04 +0000 (08:14 +0000)]
Fixed stylo.
likewise [Thu, 3 Apr 2003 19:11:02 +0000 (19:11 +0000)]
Only changes to comments.
likewise [Thu, 3 Apr 2003 12:09:39 +0000 (12:09 +0000)]
Print debug message before actually changing netif IP address config.
likewise [Thu, 3 Apr 2003 09:37:41 +0000 (09:37 +0000)]
Updated to reflect current practice and URLs.
likewise [Thu, 3 Apr 2003 08:50:57 +0000 (08:50 +0000)]
In pbuf_take(): Got rid of variable 'f'. Fixed stylo (typo in style). Renamed 'top' to 'head'.
davidhaas [Wed, 2 Apr 2003 15:21:56 +0000 (15:21 +0000)]
Updated sys_arch documentation to make new timeouts clearer.
davidhaas [Tue, 1 Apr 2003 15:54:25 +0000 (15:54 +0000)]
Fixed last change to pbuf_take. There were two calls to pbuf_free in a row.
likewise [Tue, 1 Apr 2003 15:00:26 +0000 (15:00 +0000)]
Fixed ip_addr_set() to deal with IP_ADDR_ANY. Added "ip_addr.h" include.
likewise [Tue, 1 Apr 2003 14:52:41 +0000 (14:52 +0000)]
Added assertion checking against dupes in pcb active list. Added comments.
likewise [Tue, 1 Apr 2003 14:50:00 +0000 (14:50 +0000)]
IP_ADDR_ANY is now a pointer to { 0UL } (see IP_ADDR_BROADCAST).
For easier debugging of IP addresses.
likewise [Tue, 1 Apr 2003 14:49:37 +0000 (14:49 +0000)]
IP_ADDR_ANY is now a pointer to { 0UL } (see IP_ADDR_BROADCAST).
likewise [Tue, 1 Apr 2003 14:02:50 +0000 (14:02 +0000)]
etharp_query() has error return type now. Matched dhcp.c with this change.
Added debug messages in other places.
likewise [Tue, 1 Apr 2003 13:34:56 +0000 (13:34 +0000)]
Added source code self documentation guidelines.
likewise [Tue, 1 Apr 2003 12:28:45 +0000 (12:28 +0000)]
Fixed another assert. Removed another redundant assignment.
likewise [Tue, 1 Apr 2003 12:17:55 +0000 (12:17 +0000)]
Lots of comments added. Removed redundant assignment. Moved assertion.
likewise [Tue, 1 Apr 2003 09:35:20 +0000 (09:35 +0000)]
Reverted back to David Haas' patch of pbuf_chain() from 1.34.
likewise [Mon, 31 Mar 2003 23:28:54 +0000 (23:28 +0000)]
Replaced pbuf.c 1.34 pbuf_take() change by simpler alternative.
davidhaas [Mon, 31 Mar 2003 22:09:39 +0000 (22:09 +0000)]
In keeping with pbuf->ref always having the count of the number of pointers
to the particular buffer (and the last rewrite of pbuf_free), changed most
pbuf_ref_chain() calls back to pbuf_ref(). I think this was causing some pbuf
leaks.
davidhaas [Mon, 31 Mar 2003 21:32:30 +0000 (21:32 +0000)]
Fixed issue in pbuf_take(): old pbuf of type PBUF_REF was being referenced
after being freed. Also, it was not being freed if it had been the first
buffer in chain. It still needs to be freed then.
davidhaas [Mon, 31 Mar 2003 20:45:08 +0000 (20:45 +0000)]
Fix pbuf_chain() to update tot_len of last buffer in first chain properly.
Previous code skipped it.
Made comments in pbuf_header() more general (header can be increased or
decreased).
likewise [Mon, 31 Mar 2003 18:48:52 +0000 (18:48 +0000)]
pbuf_header() now only moves payload pointer upwards for PBUF_ROM/REF.
likewise [Mon, 31 Mar 2003 11:39:48 +0000 (11:39 +0000)]
Fixed pbuf_dechain() assertion. Removed old documentation from pbuf.h.
likewise [Mon, 31 Mar 2003 10:32:35 +0000 (10:32 +0000)]
Documentation changes. Added missing trailing newlines to debug messages.
kieranm [Mon, 31 Mar 2003 09:36:18 +0000 (09:36 +0000)]
Fixed bug in mem_realloc (check alignment of size)
kieranm [Mon, 31 Mar 2003 09:35:47 +0000 (09:35 +0000)]
Fixed bug in do_delcon (set tcp_arg to NULL)
kieranm [Mon, 31 Mar 2003 09:34:56 +0000 (09:34 +0000)]
Fixed bug in netconn_peer (test pcb for NULL before accessing)
likewise [Mon, 31 Mar 2003 08:34:02 +0000 (08:34 +0000)]
Fixed missing variable.
likewise [Mon, 31 Mar 2003 08:02:52 +0000 (08:02 +0000)]
Better error handling. Added debug messages for serious errors.
likewise [Mon, 31 Mar 2003 08:00:01 +0000 (08:00 +0000)]
Added debug messages for serious errors.
likewise [Sun, 30 Mar 2003 22:57:52 +0000 (22:57 +0000)]
Initial start with source code and documentation style guidelines.
likewise [Sun, 30 Mar 2003 22:24:10 +0000 (22:24 +0000)]
Corrected more pbuf.c functions to comply with pbuf->ref and ->tot_len invariant.
likewise [Sun, 30 Mar 2003 00:39:03 +0000 (00:39 +0000)]
Removed the pbuf_dechain() from udp_send() matching new pbuf code.
davidhaas [Fri, 28 Mar 2003 20:46:40 +0000 (20:46 +0000)]
Made lwip timeout measurements accurate by no longer returning 1 millisecond
whenever sys_arch_mbox_wait() and sys_arch_sem_wait() get a message or
semaphore immediately. Updated documentation for this change.
Unix port and Coldfire port have been updated.
davidhaas [Fri, 28 Mar 2003 19:45:37 +0000 (19:45 +0000)]
Fixed minor compile issues.
likewise [Fri, 28 Mar 2003 08:49:05 +0000 (08:49 +0000)]
Fixed bugs #2968 (ref count) and #2670 (total length).
Name of pbuf_unref() falsely suggests to undo pbuf_ref(), renamed to pbuf_take().
likewise [Wed, 26 Mar 2003 13:50:03 +0000 (13:50 +0000)]
pbuf_realloc() did not update ->tot_len in a chain. Fixed dealloc of REF/ROMs.
likewise [Wed, 26 Mar 2003 13:30:38 +0000 (13:30 +0000)]
Fixing bug #1903 with a new pbuf_realloc() that respects mixed-type chains.
likewise [Wed, 26 Mar 2003 10:59:31 +0000 (10:59 +0000)]
Strong assert checking against queueing behaviour in udp_send().
jani [Wed, 26 Mar 2003 10:36:00 +0000 (10:36 +0000)]
more suggestions
likewise [Wed, 26 Mar 2003 00:31:55 +0000 (00:31 +0000)]
Fixed typo affecting debugging.
likewise [Wed, 26 Mar 2003 00:31:24 +0000 (00:31 +0000)]
Brackets around debug in DEBUGF. Cleaned comments.
likewise [Tue, 25 Mar 2003 12:59:42 +0000 (12:59 +0000)]
Added documentation and comments.
likewise [Tue, 25 Mar 2003 12:58:22 +0000 (12:58 +0000)]
New tail section of udp_send() that handles both queued and unqueued cases.
davidhaas [Mon, 24 Mar 2003 15:53:38 +0000 (15:53 +0000)]
Typo bug. The wrong semaphore was being signalled.