]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
20 years agoMerged from DEVEL.
marcbou [Thu, 19 Jun 2003 11:50:54 +0000 (11:50 +0000)]
Merged from DEVEL.

20 years agomerged from DEVEL.
marcbou [Thu, 19 Jun 2003 11:35:26 +0000 (11:35 +0000)]
merged from DEVEL.

20 years agoImportant bug fixes and improvements.
marcbou [Thu, 19 Jun 2003 11:31:25 +0000 (11:31 +0000)]
Important bug fixes and improvements.

20 years agoMerged from DEVEL.
marcbou [Thu, 19 Jun 2003 11:15:39 +0000 (11:15 +0000)]
Merged from DEVEL.

20 years agoMerged from DEVEL
marcbou [Thu, 19 Jun 2003 11:08:57 +0000 (11:08 +0000)]
Merged from DEVEL

20 years agoPatch #1623: Add missing pbuf_free() call after pbuf_chain() in slipif_input()
marcbou [Thu, 19 Jun 2003 10:30:13 +0000 (10:30 +0000)]
Patch #1623: Add missing pbuf_free() call after pbuf_chain() in slipif_input()

20 years agoMerged with DEVEL.
likewise [Fri, 13 Jun 2003 12:16:29 +0000 (12:16 +0000)]
Merged with DEVEL.

20 years agoInitial commit.
likewise [Fri, 13 Jun 2003 07:40:53 +0000 (07:40 +0000)]
Initial commit.

20 years agoFixed a string literal being wrongly split over two lines.
likewise [Thu, 12 Jun 2003 07:18:57 +0000 (07:18 +0000)]
Fixed a string literal being wrongly split over two lines.

20 years agoFixes wrongly cast LWIP_DEBUGF arguments (patch #1596 and more).
likewise [Wed, 11 Jun 2003 22:34:51 +0000 (22:34 +0000)]
Fixes wrongly cast LWIP_DEBUGF arguments (patch #1596 and more).

20 years agoApplied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
likewise [Wed, 11 Jun 2003 22:11:42 +0000 (22:11 +0000)]
Applied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
(printf expects integers on the var args stack)

20 years agoApplied patch #1597
likewise [Wed, 11 Jun 2003 21:22:58 +0000 (21:22 +0000)]
Applied patch #1597

20 years agoChanged DEBUGF to LWIP_DEBUGF
kieranm [Tue, 10 Jun 2003 10:45:29 +0000 (10:45 +0000)]
Changed DEBUGF to LWIP_DEBUGF

20 years agoFixed a multi-line comment.
likewise [Mon, 9 Jun 2003 21:32:55 +0000 (21:32 +0000)]
Fixed a multi-line comment.

20 years agoReplaced all tabs with two spaces (regardless of indentation is correct).
likewise [Mon, 9 Jun 2003 21:14:47 +0000 (21:14 +0000)]
Replaced all tabs with two spaces (regardless of indentation is correct).

20 years agoMore precise comments on address change.
likewise [Mon, 9 Jun 2003 21:08:55 +0000 (21:08 +0000)]
More precise comments on address change.

20 years agoOnly free the queued packets if there are any.
likewise [Mon, 9 Jun 2003 20:28:10 +0000 (20:28 +0000)]
Only free the queued packets if there are any.

21 years agoAdditional documentation on the subtle difference of a 'pbuf chain' and a 'packet...
likewise [Fri, 6 Jun 2003 08:34:37 +0000 (08:34 +0000)]
Additional documentation on the subtle difference of a 'pbuf chain' and a 'packet queue'.

21 years agoIncreased number of debug messages to see pbuf chain actions.
likewise [Thu, 5 Jun 2003 14:15:46 +0000 (14:15 +0000)]
Increased number of debug messages to see pbuf chain actions.

21 years agoNumerated contents so that they can be refered to.
likewise [Wed, 4 Jun 2003 20:00:11 +0000 (20:00 +0000)]
Numerated contents so that they can be refered to.

21 years agoMentioned pbuf_alloc() fixes.
likewise [Wed, 4 Jun 2003 19:43:29 +0000 (19:43 +0000)]
Mentioned pbuf_alloc() fixes.

21 years agoFixed a memory leak when only a part of a PBUF_POOL chain could be allocated.
likewise [Wed, 4 Jun 2003 19:09:11 +0000 (19:09 +0000)]
Fixed a memory leak when only a part of a PBUF_POOL chain could be allocated.

21 years agopbuf_alloc() forgot to set tot_len field for PBUF_POOL pbufs.
likewise [Wed, 4 Jun 2003 09:06:22 +0000 (09:06 +0000)]
pbuf_alloc() forgot to set tot_len field for PBUF_POOL pbufs.

21 years agoSeveral additional documentation fixes.
likewise [Wed, 4 Jun 2003 08:58:51 +0000 (08:58 +0000)]
Several additional documentation fixes.

21 years agofixed sio_read_abort prototype
jani [Mon, 2 Jun 2003 11:30:47 +0000 (11:30 +0000)]
fixed sio_read_abort prototype

21 years agosio and PPP updates from Marc
jani [Mon, 2 Jun 2003 11:12:56 +0000 (11:12 +0000)]
sio and PPP updates from Marc

21 years agosys_msleep and sys_jiffies used by PPP code.From Marc
jani [Mon, 2 Jun 2003 11:10:20 +0000 (11:10 +0000)]
sys_msleep and sys_jiffies used by PPP code.From Marc

21 years agoinet_ntoa and inet_aton from Marc
jani [Mon, 2 Jun 2003 11:09:01 +0000 (11:09 +0000)]
inet_ntoa and inet_aton from Marc

21 years agoCleanups in PPP: C++ comments removed, make it compile for unixsim too. Does not...
jani [Fri, 30 May 2003 08:49:34 +0000 (08:49 +0000)]
Cleanups in PPP: C++ comments removed, make it compile for unixsim too. Does not work yet only compiles

21 years agoMention PPP in changelog
jani [Wed, 28 May 2003 06:21:04 +0000 (06:21 +0000)]
Mention PPP in changelog

21 years agoadd PPP stack from Marc. Work in progress
jani [Tue, 27 May 2003 14:37:56 +0000 (14:37 +0000)]
add PPP stack from Marc. Work in progress

21 years agoput LWIP_MAX and LWIP_MIN macros in def.h and use these instead of locally declaring...
jani [Tue, 27 May 2003 13:44:08 +0000 (13:44 +0000)]
put LWIP_MAX and LWIP_MIN macros in def.h and use these instead of locally declaring them in .c files

21 years agofix warning
jani [Tue, 27 May 2003 13:40:54 +0000 (13:40 +0000)]
fix warning

21 years agoSet UDP_FLAGS_CONNECTED in udp_connect().
likewise [Tue, 20 May 2003 11:23:59 +0000 (11:23 +0000)]
Set UDP_FLAGS_CONNECTED in udp_connect().

21 years agoMerging some fixes that had been committed into STABLE.
likewise [Tue, 20 May 2003 09:49:04 +0000 (09:49 +0000)]
Merging some fixes that had been committed into STABLE.

21 years agodhcp_recv() left dangling dhcp->p pointer in case of unexpected message.
likewise [Tue, 20 May 2003 09:04:10 +0000 (09:04 +0000)]
dhcp_recv() left dangling dhcp->p pointer in case of unexpected message.
This could result in pbuf_free() assertion (ref count 0) or crashes.

21 years agoCleanup of some formatting and comments.
likewise [Tue, 20 May 2003 08:16:29 +0000 (08:16 +0000)]
Cleanup of some formatting and comments.

21 years agopatches 1492, 1493 and 1494 from Marc
jani [Mon, 19 May 2003 14:41:54 +0000 (14:41 +0000)]
patches 1492, 1493 and 1494 from Marc

21 years agoApplied patches posted by Marc Boucher on lwip-users May 18th 2003.
likewise [Sun, 18 May 2003 22:29:10 +0000 (22:29 +0000)]
Applied patches posted by Marc Boucher on lwip-users May 18th 2003.

21 years agoadd sio_read and sio_write to beused by PPP
jani [Tue, 6 May 2003 12:20:57 +0000 (12:20 +0000)]
add sio_read and sio_write to beused by PPP

21 years agoempty lightweight protection macros defined not only for no_sys
jani [Tue, 6 May 2003 12:19:53 +0000 (12:19 +0000)]
empty lightweight protection macros defined not only for no_sys

21 years agoC++ comments cleanup
jani [Tue, 6 May 2003 12:15:08 +0000 (12:15 +0000)]
C++ comments cleanup

21 years agofix format warning
jani [Tue, 6 May 2003 12:13:34 +0000 (12:13 +0000)]
fix format warning

21 years agosimplify MEM_ALIGN_SIZE macro
jani [Tue, 6 May 2003 11:24:42 +0000 (11:24 +0000)]
simplify MEM_ALIGN_SIZE macro

21 years agoMade pbuf flags unsigned. Added "incoming broadcast" flag.
likewise [Sat, 3 May 2003 09:44:09 +0000 (09:44 +0000)]
Made pbuf flags unsigned. Added "incoming broadcast" flag.

21 years agoMajor stylo search/replace for "One space between keyword and opening bracket."
likewise [Thu, 1 May 2003 13:24:01 +0000 (13:24 +0000)]
Major stylo search/replace for "One space between keyword and opening bracket."

21 years agoadd PPP_DEBUG option and align all options to teh same colums using spaces and no...
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

21 years agoPatch #1308. Disabled, as one issue in dhcp.c (file field overloading) needs fix.
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.

21 years agoFixed packet header debug formatters.
likewise [Thu, 1 May 2003 08:37:24 +0000 (08:37 +0000)]
Fixed packet header debug formatters.

21 years agoPatch #1183 applied. This drops short ICMP packets.
likewise [Thu, 1 May 2003 08:29:54 +0000 (08:29 +0000)]
Patch #1183 applied. This drops short ICMP packets.

21 years agoPatch #1183 applied. This drops short UDP/TCP packets.
likewise [Thu, 1 May 2003 08:03:51 +0000 (08:03 +0000)]
Patch #1183 applied. This drops short UDP/TCP packets.

21 years agoPatch #1308. Still disabled, as it needs to make sure no file field is not overloaded.
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.

21 years agoImplemented packet (de)queueing. Unused, etharp.c must be adapted next.
likewise [Thu, 1 May 2003 07:48:01 +0000 (07:48 +0000)]
Implemented packet (de)queueing. Unused, etharp.c must be adapted next.

21 years agoAdded dummy parameters for the empty macros snmp_add_ifinoctets and
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.

21 years agoRe-added code for checking tail-parameter for NULL in
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.

21 years agoMentioned changes to netif that imply changes for network drivers.
likewise [Fri, 25 Apr 2003 13:23:10 +0000 (13:23 +0000)]
Mentioned changes to netif that imply changes for network drivers.

21 years agoEither first or last packet can be queued through ARP_QUEUE_FIRST option.
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.

21 years agoEither first or last packet can be queued. Fixed (err_t)NULL return value in etharp_q...
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().

21 years agoadd definitions for PF_UNSPEC and IPPROTO_IP
jani [Tue, 22 Apr 2003 13:37:14 +0000 (13:37 +0000)]
add definitions for PF_UNSPEC and IPPROTO_IP

21 years agoFixed tabs into spaces. Fixed other stylos.
likewise [Wed, 16 Apr 2003 07:39:48 +0000 (07:39 +0000)]
Fixed tabs into spaces. Fixed other stylos.

21 years agoobsolete PCB handling only active when TCP is enabled
jani [Tue, 15 Apr 2003 14:58:35 +0000 (14:58 +0000)]
obsolete PCB handling only active when TCP is enabled

21 years agoalignment fix from Marc Boucher
jani [Tue, 15 Apr 2003 14:56:03 +0000 (14:56 +0000)]
alignment fix from Marc Boucher

21 years agoMention DHCP fix.
likewise [Tue, 15 Apr 2003 14:43:36 +0000 (14:43 +0000)]
Mention DHCP fix.

21 years agoStylo.
likewise [Tue, 15 Apr 2003 14:40:55 +0000 (14:40 +0000)]
Stylo.

21 years agoChanged netif name formatting from %s to %c%c.
likewise [Tue, 15 Apr 2003 14:32:13 +0000 (14:32 +0000)]
Changed netif name formatting from %s to %c%c.

21 years agohexadecimal notation for NETIF_FLAGS_
likewise [Tue, 15 Apr 2003 12:44:15 +0000 (12:44 +0000)]
hexadecimal notation for NETIF_FLAGS_

21 years agoDebug levels set on some serious debug messages.
likewise [Tue, 15 Apr 2003 12:43:15 +0000 (12:43 +0000)]
Debug levels set on some serious debug messages.

21 years agoPrevent compiler warning on unused function arguments.
likewise [Tue, 15 Apr 2003 12:41:52 +0000 (12:41 +0000)]
Prevent compiler warning on unused function arguments.

21 years agoDebug message shows requested pbuf type (of ROM/REF) upon memory allocation failure.
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.

21 years agodhcp_inform() did not set and unset netif->dhcp. always generated assert 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.

21 years agoPrevent warnings about unused function arguments.
likewise [Tue, 15 Apr 2003 11:27:52 +0000 (11:27 +0000)]
Prevent warnings about unused function arguments.

21 years agoAgain accepted NULL to indicate IP_ADDR_ANY.
likewise [Tue, 15 Apr 2003 09:16:39 +0000 (09:16 +0000)]
Again accepted NULL to indicate IP_ADDR_ANY.

21 years agoAdded NETIF_FLAG_LINK_UP. Not used yet.
likewise [Mon, 14 Apr 2003 12:29:45 +0000 (12:29 +0000)]
Added NETIF_FLAG_LINK_UP. Not used yet.

21 years agoDisabled pbuf_dechain() as it not currently in use.
likewise [Mon, 14 Apr 2003 12:17:08 +0000 (12:17 +0000)]
Disabled pbuf_dechain() as it not currently in use.

21 years agoDisabled pbuf_dechain() as it not currently in use. Fixed comment position.
likewise [Mon, 14 Apr 2003 11:37:12 +0000 (11:37 +0000)]
Disabled pbuf_dechain() as it not currently in use. Fixed comment position.

21 years agoStronger debugging/assertion.
likewise [Mon, 14 Apr 2003 11:36:17 +0000 (11:36 +0000)]
Stronger debugging/assertion.

21 years agoRemoved the lines setting dhcp->msg_in and dhcp->options_in to NULL, since this is...
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().

21 years agoGot rid of pbuf_pool_alloc_cache and pbuf_pool_free_cache. Also got rid of
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.

21 years agoAll debug messages now show actual config _after_ setting netif config.
likewise [Fri, 11 Apr 2003 14:02:48 +0000 (14:02 +0000)]
All debug messages now show actual config _after_ setting netif config.

21 years agoFixed debug message for PBUF_REF/ROM allocation failure.
likewise [Fri, 11 Apr 2003 12:56:13 +0000 (12:56 +0000)]
Fixed debug message for PBUF_REF/ROM allocation failure.

21 years agoMacro IP_ADDR_ are cast non-const as lots of functions miss const qualifier for argum...
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.

21 years agoip_addr_any and _broadcast are type-declared as being const.
likewise [Fri, 11 Apr 2003 08:10:17 +0000 (08:10 +0000)]
ip_addr_any and _broadcast are type-declared as being const.

21 years agoUpdated changelog to reflect some recent changes.
likewise [Thu, 10 Apr 2003 08:51:58 +0000 (08:51 +0000)]
Updated changelog to reflect some recent changes.

21 years agoFix memory leaks.
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.

21 years agoMade memory stats more accurate (real amount and max amount of memory used).
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.

21 years agoFixed bug where tearing down a connection would cause loss of memory.
davidhaas [Wed, 9 Apr 2003 20:12:12 +0000 (20:12 +0000)]
Fixed bug where tearing down a connection would cause loss of memory.

21 years agoFirst attempt to track/explain changes that happened in CVS tree.
likewise [Wed, 9 Apr 2003 15:22:11 +0000 (15:22 +0000)]
First attempt to track/explain changes that happened in CVS tree.

21 years agoEnabled code to abort/replace TCP pcbs upon netif address change.
likewise [Wed, 9 Apr 2003 15:17:57 +0000 (15:17 +0000)]
Enabled code to abort/replace TCP pcbs upon netif address change.

21 years agoAdded (non-active) code handling pcbs upon changing IP address.
likewise [Tue, 8 Apr 2003 12:19:02 +0000 (12:19 +0000)]
Added (non-active) code handling pcbs upon changing IP address.

21 years agoTCP data can be safely referenced as PBUF_ROM instead of PBUF_REF.
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.

21 years agoinitial PPP options
jani [Mon, 7 Apr 2003 08:54:18 +0000 (08:54 +0000)]
initial PPP options

21 years agoFixed bug #3112 (faulty behaviour calling tcp_listen() when already listening)
likewise [Sun, 6 Apr 2003 20:35:50 +0000 (20:35 +0000)]
Fixed bug #3112 (faulty behaviour calling tcp_listen() when already listening)

21 years agoAdded debugging to verify correct result of udp_bind() / udp_connect().
likewise [Fri, 4 Apr 2003 08:14:49 +0000 (08:14 +0000)]
Added debugging to verify correct result of udp_bind() / udp_connect().

21 years agoFixed stylo.
likewise [Fri, 4 Apr 2003 08:14:04 +0000 (08:14 +0000)]
Fixed stylo.

21 years agoOnly changes to comments.
likewise [Thu, 3 Apr 2003 19:11:02 +0000 (19:11 +0000)]
Only changes to comments.

21 years agoPrint debug message before actually changing netif IP address config.
likewise [Thu, 3 Apr 2003 12:09:39 +0000 (12:09 +0000)]
Print debug message before actually changing netif IP address config.

21 years agoUpdated to reflect current practice and URLs.
likewise [Thu, 3 Apr 2003 09:37:41 +0000 (09:37 +0000)]
Updated to reflect current practice and URLs.

21 years agoIn pbuf_take(): Got rid of variable 'f'. Fixed stylo (typo in style). Renamed 'top...
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'.

21 years agoUpdated sys_arch documentation to make new timeouts clearer.
davidhaas [Wed, 2 Apr 2003 15:21:56 +0000 (15:21 +0000)]
Updated sys_arch documentation to make new timeouts clearer.

21 years agoFixed last change to pbuf_take. There were two calls to pbuf_free in a row.
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.