]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
14 years agoFixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unalloca...
goldsimon [Wed, 27 Jan 2010 17:22:06 +0000 (17:22 +0000)]
Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()!

14 years agoUse memp pools for snmp instead of the heap; added 4 new pools.
goldsimon [Tue, 26 Jan 2010 20:28:24 +0000 (20:28 +0000)]
Use memp pools for snmp instead of the heap; added 4 new pools.

14 years agoMoved missing include
goldsimon [Tue, 26 Jan 2010 16:09:03 +0000 (16:09 +0000)]
Moved missing include

14 years agoPartly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only...
goldsimon [Mon, 25 Jan 2010 17:44:07 +0000 (17:44 +0000)]
Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get)

14 years agoAdded one more missing cast
goldsimon [Mon, 25 Jan 2010 09:19:52 +0000 (09:19 +0000)]
Added one more missing cast

14 years agobug #28659: Missing casts
goldsimon [Mon, 25 Jan 2010 08:24:30 +0000 (08:24 +0000)]
bug #28659: Missing casts

14 years agoRenamed the private mib node from 'private' to 'mib_private' to *not* use reserved...
goldsimon [Sun, 24 Jan 2010 17:25:22 +0000 (17:25 +0000)]
Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords

14 years agoRenamed the private mib node from 'private' to 'mib_private' to *not* use reserved...
goldsimon [Sun, 24 Jan 2010 17:16:37 +0000 (17:16 +0000)]
Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords, added comments, added init-define for private MIB

14 years agobug #26523: Compiler Warnings
goldsimon [Sun, 24 Jan 2010 14:35:28 +0000 (14:35 +0000)]
bug #26523: Compiler Warnings

14 years agobug #26523: Compiler Warnings
goldsimon [Sun, 24 Jan 2010 13:19:34 +0000 (13:19 +0000)]
bug #26523: Compiler Warnings

14 years agoFixed compilation for LWIP_TCPIP_CORE_LOCKING
goldsimon [Sat, 23 Jan 2010 18:13:55 +0000 (18:13 +0000)]
Fixed compilation for LWIP_TCPIP_CORE_LOCKING

14 years agobug #26523: Compiler Warnings
goldsimon [Sat, 23 Jan 2010 17:48:36 +0000 (17:48 +0000)]
bug #26523: Compiler Warnings

14 years agoFixed bug #28716: select() returns 0 after waiting for less than 1 ms
goldsimon [Sat, 23 Jan 2010 15:01:15 +0000 (15:01 +0000)]
Fixed bug #28716: select() returns 0 after waiting for less than 1 ms

14 years agoFixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in...
goldsimon [Thu, 21 Jan 2010 18:43:37 +0000 (18:43 +0000)]
Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API

14 years agoRemoved unused function declaration for netbuf_len (is a macro now)
goldsimon [Thu, 21 Jan 2010 17:18:15 +0000 (17:18 +0000)]
Removed unused function declaration for netbuf_len (is a macro now)

14 years agoFixed netconn_err() macro
goldsimon [Wed, 20 Jan 2010 07:37:24 +0000 (07:37 +0000)]
Fixed netconn_err() macro

14 years agoAdded missing include
goldsimon [Wed, 20 Jan 2010 07:36:45 +0000 (07:36 +0000)]
Added missing include

14 years agoFixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost...
goldsimon [Tue, 19 Jan 2010 18:34:01 +0000 (18:34 +0000)]
Fixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost in err_tcp

14 years agoreorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x.
goldsimon [Mon, 18 Jan 2010 20:49:43 +0000 (20:49 +0000)]
reorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x.

14 years agoFixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it
goldsimon [Mon, 18 Jan 2010 17:45:41 +0000 (17:45 +0000)]
Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it

14 years agoOnly check for LWIP_RAND() if IGMP is used, for now
goldsimon [Mon, 18 Jan 2010 08:19:48 +0000 (08:19 +0000)]
Only check for LWIP_RAND() if IGMP is used, for now

14 years agoMinor: source code layout
goldsimon [Mon, 18 Jan 2010 08:11:57 +0000 (08:11 +0000)]
Minor: source code layout

14 years agoMinor: fixed argument casts for mbox_fetch parameters (to fix compiler warnings)
goldsimon [Mon, 18 Jan 2010 08:11:39 +0000 (08:11 +0000)]
Minor: fixed argument casts for mbox_fetch parameters (to fix compiler warnings)

14 years agotask #10102: "netconn: clean up conn->err threading issues" by adding error return...
goldsimon [Sun, 17 Jan 2010 18:28:56 +0000 (18:28 +0000)]
task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg

14 years agotask #10102: "netconn: clean up conn->err threading issues" by adding error return...
goldsimon [Sun, 17 Jan 2010 18:28:56 +0000 (18:28 +0000)]
task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg

14 years agoAdded comment
goldsimon [Sun, 17 Jan 2010 17:37:10 +0000 (17:37 +0000)]
Added comment

14 years agoMinor: source code layout
goldsimon [Sun, 17 Jan 2010 16:23:26 +0000 (16:23 +0000)]
Minor: source code layout

14 years agoChanged netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087)
goldsimon [Sun, 17 Jan 2010 16:21:07 +0000 (16:21 +0000)]
Changed netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087)

14 years agoFixed bug #27856: PPP: Set netif link- and status-callback by adding ppp_set_netif_st...
goldsimon [Thu, 14 Jan 2010 20:04:52 +0000 (20:04 +0000)]
Fixed bug #27856: PPP: Set netif link- and status-callback by adding ppp_set_netif_statuscallback()/ppp_set_netif_linkcallback()

14 years agoUsing typedefs for function prototypes and -pointers throughout the stack for clarity
goldsimon [Thu, 14 Jan 2010 20:02:15 +0000 (20:02 +0000)]
Using typedefs for function prototypes and -pointers throughout the stack for clarity

14 years agoUse protocol definition from tcp.h, not from sockets.h
goldsimon [Thu, 14 Jan 2010 19:59:28 +0000 (19:59 +0000)]
Use protocol definition from tcp.h, not from sockets.h

14 years agoImproved includes in snmp
goldsimon [Thu, 14 Jan 2010 19:59:03 +0000 (19:59 +0000)]
Improved includes in snmp

14 years agodo_connect(): set conn->err to an error if conn->pcb is NULL
goldsimon [Thu, 14 Jan 2010 19:49:27 +0000 (19:49 +0000)]
do_connect(): set conn->err to an error if conn->pcb is NULL

14 years agoAnother fix for bug #28562: Segfault @ err_tcp
goldsimon [Thu, 14 Jan 2010 15:43:11 +0000 (15:43 +0000)]
Another fix for bug #28562: Segfault @ err_tcp

14 years agoAgain: Fixed bug #26672 (close connection when receive window = 0) by correctly drain...
goldsimon [Wed, 13 Jan 2010 15:59:47 +0000 (15:59 +0000)]
Again: Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox

14 years agoCoding style
goldsimon [Wed, 13 Jan 2010 15:17:01 +0000 (15:17 +0000)]
Coding style

14 years agoMinor fix: bug #28555: Retransmission timer only stopped if TCP_QUEUE_OOSEQ==1
goldsimon [Wed, 13 Jan 2010 14:24:15 +0000 (14:24 +0000)]
Minor fix: bug #28555: Retransmission timer only stopped if TCP_QUEUE_OOSEQ==1

14 years agoThe heap now may be moved to user-defined memory by defining LWIP_RAM_HEAP_POINTER...
goldsimon [Wed, 13 Jan 2010 13:09:55 +0000 (13:09 +0000)]
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)

14 years agoMinor speedup ip_output_if when writing TTL/proto to ip header
goldsimon [Wed, 13 Jan 2010 12:52:15 +0000 (12:52 +0000)]
Minor speedup ip_output_if when writing TTL/proto to ip header

14 years agoFixed NO_SYS==0: starting pppInputThread failed; fixed some comments
goldsimon [Wed, 13 Jan 2010 11:19:03 +0000 (11:19 +0000)]
Fixed NO_SYS==0: starting pppInputThread failed; fixed some comments

14 years agoAdded comments
goldsimon [Wed, 13 Jan 2010 11:16:47 +0000 (11:16 +0000)]
Added comments

14 years agoFixed bug #13315 (PPP PAP authentication can result in erroneous callbacks) by copyin...
goldsimon [Mon, 11 Jan 2010 16:38:56 +0000 (16:38 +0000)]
Fixed bug #13315 (PPP PAP authentication can result in erroneous callbacks) by copying the code from recent pppd

14 years agoFixed bug #28551 (Compiler warning introduced with closed bug #28506)
goldsimon [Mon, 11 Jan 2010 09:51:33 +0000 (09:51 +0000)]
Fixed bug #28551 (Compiler warning introduced with closed bug #28506)

14 years agoFixed comment on struct mem.prev
goldsimon [Mon, 11 Jan 2010 09:49:31 +0000 (09:49 +0000)]
Fixed comment on struct mem.prev

14 years agoFixed bug #28506 (raw_bind should filter received packets)
goldsimon [Sun, 10 Jan 2010 13:45:24 +0000 (13:45 +0000)]
Fixed bug #28506 (raw_bind should filter received packets)

14 years agoFixed bug #28248 (netif_remove doesn't call netif callback) by calling netif_set_down...
goldsimon [Sun, 10 Jan 2010 13:34:21 +0000 (13:34 +0000)]
Fixed bug #28248 (netif_remove doesn't call netif callback) by calling netif_set_down() from netif_remove()

14 years agoMinor coding style changes, added assertion
goldsimon [Sun, 10 Jan 2010 13:32:36 +0000 (13:32 +0000)]
Minor coding style changes, added assertion

14 years agoGCC didn't like memp_memory_XXX -> now using memp_memory_XXX_base (as in Bill's origi...
goldsimon [Sun, 10 Jan 2010 13:09:55 +0000 (13:09 +0000)]
GCC didn't like memp_memory_XXX -> now using memp_memory_XXX_base (as in Bill's original patch)

14 years agopatch #6822 (Add option to place memory pools in separate arrays) - new config option...
goldsimon [Sun, 10 Jan 2010 12:44:09 +0000 (12:44 +0000)]
patch #6822 (Add option to place memory pools in separate arrays) - new config option MEMP_SEPARATE_POOLS

14 years agoAdded/changed comments
goldsimon [Sun, 10 Jan 2010 11:48:28 +0000 (11:48 +0000)]
Added/changed comments

14 years agoD'Oh!
goldsimon [Sun, 10 Jan 2010 11:42:31 +0000 (11:42 +0000)]
D'Oh!

14 years agobug #28127: remove call to tcp_output() from tcp_ack(_now)()
goldsimon [Sun, 10 Jan 2010 11:41:25 +0000 (11:41 +0000)]
bug #28127: remove call to tcp_output() from tcp_ack(_now)()

14 years agopatch #6463 (IGMP - Adding Random Delay): added define LWIP_RAND() for lwip-wide...
goldsimon [Sun, 10 Jan 2010 10:47:27 +0000 (10:47 +0000)]
patch #6463 (IGMP - Adding Random Delay): added define LWIP_RAND() for lwip-wide randomization (to be defined in cc.h)

14 years agoForgot one line & comments
goldsimon [Sun, 10 Jan 2010 10:32:56 +0000 (10:32 +0000)]
Forgot one line & comments

14 years agoFixed bug #28529: macro LWIP_DEBUG_TIMERNAMES in timers.h
goldsimon [Sat, 9 Jan 2010 19:14:23 +0000 (19:14 +0000)]
Fixed bug #28529: macro LWIP_DEBUG_TIMERNAMES in timers.h

14 years agoInlined netif_is_up() and netif_is_link_up() as defines for speed reasons; fixed...
goldsimon [Sat, 9 Jan 2010 13:25:15 +0000 (13:25 +0000)]
Inlined netif_is_up() and netif_is_link_up() as defines for speed reasons; fixed type and macro definition.

14 years agoFixed bug #28195 (PPP: remove duplicate TCP/IP protocol header definitions - use...
goldsimon [Sat, 9 Jan 2010 12:45:23 +0000 (12:45 +0000)]
Fixed bug #28195 (PPP: remove duplicate TCP/IP protocol header definitions - use the lwIP ones) - deleted unused header file

14 years agoFixed compilation of VJ_SUPPORT after separating tx and rx
goldsimon [Fri, 8 Jan 2010 15:52:17 +0000 (15:52 +0000)]
Fixed compilation of VJ_SUPPORT after separating tx and rx

14 years agoFixed bug #26672 (close connection when receive window = 0) by correctly draining...
goldsimon [Fri, 8 Jan 2010 15:10:03 +0000 (15:10 +0000)]
Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox

14 years agoFixed bug #28519 (lwip_recvfrom bug with len > 65535)
goldsimon [Fri, 8 Jan 2010 14:51:14 +0000 (14:51 +0000)]
Fixed bug #28519 (lwip_recvfrom bug with len > 65535)

14 years agoCopy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string passed to dns_local_a...
goldsimon [Fri, 8 Jan 2010 14:42:09 +0000 (14:42 +0000)]
Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string passed to dns_local_addhost() might be volatile

14 years agoAdded function names to timer debug output
goldsimon [Fri, 8 Jan 2010 14:08:47 +0000 (14:08 +0000)]
Added function names to timer debug output

14 years agoImproved assertion message when MEMP_SYS_TIMEOUT pool is empty
goldsimon [Fri, 8 Jan 2010 13:40:50 +0000 (13:40 +0000)]
Improved assertion message when MEMP_SYS_TIMEOUT pool is empty

14 years agoCall tcp_timer_needed() with NO_SYS==1, too
goldsimon [Thu, 7 Jan 2010 09:47:30 +0000 (09:47 +0000)]
Call tcp_timer_needed() with NO_SYS==1, too

14 years agoFixed bug #28496: missing include guards in netdb.h
goldsimon [Wed, 6 Jan 2010 16:30:23 +0000 (16:30 +0000)]
Fixed bug #28496: missing include guards in netdb.h

14 years agoInitial version of PPP for NO_SYS==1, some TODOs are remaining, but it works...
goldsimon [Thu, 31 Dec 2009 17:56:51 +0000 (17:56 +0000)]
Initial version of PPP for NO_SYS==1, some TODOs are remaining, but it works...

14 years agoRenamed PPP tasks from "pppMain" to "pppInputThread"
goldsimon [Thu, 31 Dec 2009 17:21:11 +0000 (17:21 +0000)]
Renamed PPP tasks from "pppMain" to "pppInputThread"

14 years agoRemoved unnecessary tcpip-callbacks: this whole module runs inside the tcpip-thread...
goldsimon [Thu, 31 Dec 2009 17:18:09 +0000 (17:18 +0000)]
Removed unnecessary tcpip-callbacks: this whole module runs inside the tcpip-thread. This also makes PPPoE usable with NO_SYS==1

14 years agoReorganised PPP source code from ucip structure to pppd structure to easily compare...
goldsimon [Thu, 31 Dec 2009 17:08:08 +0000 (17:08 +0000)]
Reorganised PPP source code from ucip structure to pppd structure to easily compare our code against the pppd code (around v2.3.1)

14 years agoRemove warning for TCP_LISTEN_BACKLOG==0
goldsimon [Thu, 31 Dec 2009 16:51:17 +0000 (16:51 +0000)]
Remove warning for TCP_LISTEN_BACKLOG==0

14 years agoRemoved unused test function
goldsimon [Thu, 31 Dec 2009 16:50:11 +0000 (16:50 +0000)]
Removed unused test function

14 years agoRemove C++-style comments
goldsimon [Thu, 31 Dec 2009 16:49:36 +0000 (16:49 +0000)]
Remove C++-style comments

14 years agoSeparated timer implementation from semaphore/mbox implementation, moved timer implem...
goldsimon [Thu, 31 Dec 2009 16:16:44 +0000 (16:16 +0000)]
Separated timer implementation from semaphore/mbox implementation, moved timer implementation to timers.c/.h (TASK#7235)

14 years agoSome functions were located outside extern "C" {}
goldsimon [Thu, 31 Dec 2009 15:57:22 +0000 (15:57 +0000)]
Some functions were located outside extern "C" {}

14 years agoCommented 2 variables
goldsimon [Thu, 31 Dec 2009 15:12:00 +0000 (15:12 +0000)]
Commented 2 variables

14 years agoAdded an additional option LWIP_ETHERNET to support ethernet without ARP (necessary...
goldsimon [Sun, 27 Dec 2009 11:42:16 +0000 (11:42 +0000)]
Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE)

14 years agoAdded an additional option LWIP_ETHERNET to support ethernet without ARP (necessary...
goldsimon [Sun, 27 Dec 2009 11:40:48 +0000 (11:40 +0000)]
Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) - no changes in the ppp code yet

14 years agoAnother fix for bug #28241 (ooseq processing) and adapted corresponding unit test
goldsimon [Sun, 27 Dec 2009 11:31:19 +0000 (11:31 +0000)]
Another fix for bug #28241 (ooseq processing) and adapted corresponding unit test

14 years agoUpdate version numbering for 1.4.0 CVS development
kieranm [Thu, 24 Dec 2009 15:49:12 +0000 (15:49 +0000)]
Update version numbering for 1.4.0 CVS development

14 years agoUpdate CHANGELOG for 1.3.2
kieranm [Thu, 24 Dec 2009 15:33:19 +0000 (15:33 +0000)]
Update CHANGELOG for 1.3.2

14 years agoUpdate version information for 1.3.2
kieranm [Thu, 24 Dec 2009 15:32:19 +0000 (15:32 +0000)]
Update version information for 1.3.2

14 years agoBUG28241: improve oos sequence processing with patches from Oleg Tyshev.
kieranm [Thu, 24 Dec 2009 15:31:44 +0000 (15:31 +0000)]
BUG28241: improve oos sequence processing with patches from Oleg Tyshev.

14 years agoSlightly modified the out-of-sequence-FIN test: receive packets with FIN & data and...
goldsimon [Fri, 11 Dec 2009 13:07:47 +0000 (13:07 +0000)]
Slightly modified the out-of-sequence-FIN test: receive packets with FIN & data and with FIN alone

14 years agotcp_set_state: fail on unimplemented state
goldsimon [Fri, 11 Dec 2009 13:07:06 +0000 (13:07 +0000)]
tcp_set_state: fail on unimplemented state

14 years agoAdded explicit check for number of segments and seqno/len of each segment on pcb...
goldsimon [Thu, 10 Dec 2009 17:34:11 +0000 (17:34 +0000)]
Added explicit check for number of segments and seqno/len of each segment on pcb->ooseq

14 years agoUpdated comments on which sio-functions are used
goldsimon [Mon, 7 Dec 2009 18:58:13 +0000 (18:58 +0000)]
Updated comments on which sio-functions are used

14 years agoAdded a note why MSCHAP currently doesn't work with lwIP PPP
goldsimon [Mon, 7 Dec 2009 07:50:24 +0000 (07:50 +0000)]
Added a note why MSCHAP currently doesn't work with lwIP PPP

14 years agoAdded description about the PPP stack
goldsimon [Mon, 7 Dec 2009 07:28:27 +0000 (07:28 +0000)]
Added description about the PPP stack

14 years agoVarious small improvements from patch #6965 (removed _inet_ntoa, set PPP netif down...
goldsimon [Sun, 6 Dec 2009 11:59:56 +0000 (11:59 +0000)]
Various small improvements from patch #6965 (removed _inet_ntoa, set PPP netif down before removing, change log message and comment)

14 years agotcp_process: add state info to log message that is used for multiple states ("TCP...
goldsimon [Sun, 6 Dec 2009 11:57:31 +0000 (11:57 +0000)]
tcp_process: add state info to log message that is used for multiple states ("TCP connection closed")

14 years agoFixed bug #27079 (Yet another leak in PPP): outpacket_buf can be statically allocated...
goldsimon [Sun, 6 Dec 2009 11:12:18 +0000 (11:12 +0000)]
Fixed bug #27079 (Yet another leak in PPP): outpacket_buf can be statically allocated (like in ucip)

14 years agopppInit: Remove zeroing the stats - no protocol does that
goldsimon [Sun, 6 Dec 2009 10:56:28 +0000 (10:56 +0000)]
pppInit: Remove zeroing the stats - no protocol does that

14 years agoFixed checking input packet length (20 bytes is a valid packet and is used e.g. with...
goldsimon [Sun, 6 Dec 2009 10:14:46 +0000 (10:14 +0000)]
Fixed checking input packet length (20 bytes is a valid packet and is used e.g. with MS RAS server)

14 years agoSligthly reordered struct netif's members to better meet alignment requirements
goldsimon [Sun, 6 Dec 2009 08:58:41 +0000 (08:58 +0000)]
Sligthly reordered struct netif's members to better meet alignment requirements

14 years agopatch #6969: PPP: missing PAP authentication UNTIMEOUT
goldsimon [Fri, 4 Dec 2009 15:41:26 +0000 (15:41 +0000)]
patch #6969: PPP: missing PAP authentication UNTIMEOUT

14 years agoPPP: Make MAXNAMELEN/MAXSECRETLEN overridable in lwipopts.h
goldsimon [Fri, 4 Dec 2009 09:00:55 +0000 (09:00 +0000)]
PPP: Make MAXNAMELEN/MAXSECRETLEN overridable in lwipopts.h

14 years agoThe guy's name is Van Jacobson (not Jabobsen or Jacobsen :-)
goldsimon [Fri, 4 Dec 2009 08:57:22 +0000 (08:57 +0000)]
The guy's name is Van Jacobson (not Jabobsen or Jacobsen :-)

14 years agoMoved the function definitions so that other modules can use the ICMP protocol header...
goldsimon [Fri, 4 Dec 2009 08:11:57 +0000 (08:11 +0000)]
Moved the function definitions so that other modules can use the ICMP protocol header definitions when LWIP_ICMP==0

14 years agoFixed bug #28106: dup ack for fast retransmit could have non-zero length
goldsimon [Thu, 3 Dec 2009 19:42:35 +0000 (19:42 +0000)]
Fixed bug #28106: dup ack for fast retransmit could have non-zero length

14 years agoFixed some typos
goldsimon [Thu, 3 Dec 2009 18:07:00 +0000 (18:07 +0000)]
Fixed some typos