]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
16 years agorawapi.txt, api_msg.c, tcp.c, tcp_in.c, tcp.h: changes for task #7675 "Enable to...
fbernon [Mon, 14 Jan 2008 21:07:08 +0000 (21:07 +0000)]
rawapi.txt, api_msg.c, tcp.c, tcp_in.c, tcp.h: changes for task #7675 "Enable to refuse data on a TCP_EVENT_RECV call". Important, behavior changes for the tcp_recv callback (see rawapi.txt).

16 years agoip.c: Integrate patch #6369" ip_input : checking before realloc".
fbernon [Mon, 14 Jan 2008 20:53:23 +0000 (20:53 +0000)]
ip.c: Integrate patch #6369" ip_input : checking before realloc".

16 years agoMinor change: add comment
fbernon [Sat, 12 Jan 2008 16:46:40 +0000 (16:46 +0000)]
Minor change: add comment

16 years agotcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field netconn...
fbernon [Sat, 12 Jan 2008 11:52:21 +0000 (11:52 +0000)]
tcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field netconn::sem per netconn::op_completed like suggested for the task #7490 "Add return value to sys_mbox_post".

16 years agoapi_msg.c, opt.h: replace DEFAULT_RECVMBOX_SIZE per DEFAULT_TCP_RECVMBOX_SIZE, DEFAUL...
fbernon [Fri, 11 Jan 2008 23:50:10 +0000 (23:50 +0000)]
api_msg.c, opt.h: replace DEFAULT_RECVMBOX_SIZE per DEFAULT_TCP_RECVMBOX_SIZE, DEFAULT_UDP_RECVMBOX_SIZE and DEFAULT_RAW_RECVMBOX_SIZE (to optimize queues sizes), like suggested for the task #7490 "Add return value to sys_mbox_post".

16 years agoMinor spelling typos and formatting fixes.
jifl [Fri, 11 Jan 2008 14:28:58 +0000 (14:28 +0000)]
Minor spelling typos and formatting fixes.

16 years agotcpip.h, tcpip.c: add tcpip_callback_with_block function for the task #7490 "Add...
fbernon [Thu, 10 Jan 2008 21:47:52 +0000 (21:47 +0000)]
tcpip.h, tcpip.c: add tcpip_callback_with_block function for the task #7490 "Add return value to sys_mbox_post". tcpip_callback is always defined as "blocking" ("block" parameter = 1).

16 years agotcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field netconn...
fbernon [Thu, 10 Jan 2008 21:34:25 +0000 (21:34 +0000)]
tcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field netconn::mbox (sys_mbox_t) per netconn::sem (sys_sem_t) for the task #7490 "Add return value to sys_mbox_post".

16 years ago * opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid
jifl [Wed, 9 Jan 2008 10:05:23 +0000 (10:05 +0000)]
 * opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid
  conflict with Linux system headers.

16 years agoFix DHCP build problem.
fbernon [Sun, 6 Jan 2008 22:07:03 +0000 (22:07 +0000)]
Fix DHCP build problem.

16 years ago * dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP
jifl [Sun, 6 Jan 2008 21:09:11 +0000 (21:09 +0000)]
  * dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP
  address entirely on receiving a DHCPNAK, and restarting discovery.

16 years agoAdded function netconn_free(), which deallocates all mboxes and frees the netconn...
goldsimon [Sun, 6 Jan 2008 14:28:04 +0000 (14:28 +0000)]
Added function netconn_free(), which deallocates all mboxes and frees the netconn (to be used from different places) - the PCB is not freed!

16 years agosys_arch.txt, api.h, api_lib.c, api_msg.h, api_msg.c, tcpip.c, sys.h, opt.h: Introduc...
fbernon [Sat, 5 Jan 2008 21:10:32 +0000 (21:10 +0000)]
sys_arch.txt, api.h, api_lib.c, api_msg.h, api_msg.c, tcpip.c, sys.h, opt.h: Introduce changes for task #7490 "Add return value to sys_mbox_post" with some modifications in the sys_mbox api: sys_mbox_new take a "size" parameters which indicate the number of pointers query by the mailbox. There is three defines in opt.h to indicate sizes for tcpip::mbox, netconn::recvmbox, and for the netconn::acceptmbox. Port maintainers, you can decide to just add this new parameter in your implementation, but to ignore it to keep the previous behavior. The new sys_mbox_trypost function return a value to know if the mailbox is full or if the message is posted. Take a look to sys_arch.txt for more details. This new function is used in tcpip_input (so, can be called in an interrupt context since the function is not blocking), and in recv_udp and recv_raw.

16 years agoMinor changes in lwip folder: fix some warnings.
fbernon [Sat, 5 Jan 2008 00:13:33 +0000 (00:13 +0000)]
Minor changes in lwip folder: fix some warnings.

16 years agoMinor changes in lwip folder: fix some warnings.
fbernon [Fri, 4 Jan 2008 23:24:05 +0000 (23:24 +0000)]
Minor changes in lwip folder: fix some warnings.

16 years agoMinor changes in lwip folder: fix some warnings, coding style, and rename "internal...
fbernon [Fri, 4 Jan 2008 23:07:44 +0000 (23:07 +0000)]
Minor changes in lwip folder: fix some warnings, coding style, and rename "internal" netconn_alloc function.

16 years agorawapi.txt, api.h, api_lib.c, api_msg.h, api_msg.c, sockets.c, tcp.h, tcp.c, ...
fbernon [Fri, 4 Jan 2008 22:18:27 +0000 (22:18 +0000)]
rawapi.txt, api.h, api_lib.c, api_msg.h, api_msg.c, sockets.c, tcp.h, tcp.c,     tcp_in.c, init.c, opt.h: rename backlog options with TCP_ prefix, limit the "backlog" parameter in an u8_t, 0 is interpreted as "smallest queue", add documentation in the rawapi.txt file.

16 years agoMinor changes: fix some PPP traces.
fbernon [Thu, 3 Jan 2008 20:22:14 +0000 (20:22 +0000)]
Minor changes: fix some PPP traces.

16 years ago* core/ipv4/ip.c (ip_input): Rename ipsrcchecking -> check_ip_src, to make
jifl [Thu, 3 Jan 2008 17:49:25 +0000 (17:49 +0000)]
* core/ipv4/ip.c (ip_input): Rename ipsrcchecking -> check_ip_src, to make
purpose clearer.

16 years agoAdd persist timer
kieranm [Mon, 31 Dec 2007 13:34:47 +0000 (13:34 +0000)]
Add persist timer

16 years agoautoip.c, etharp.c: ip_addr.h: Integrate patch #6348: "Broadcast ARP packets in autoi...
fbernon [Mon, 31 Dec 2007 13:22:03 +0000 (13:22 +0000)]
autoip.c, etharp.c: ip_addr.h: Integrate patch #6348: "Broadcast ARP packets in autoip". The change in etharp_raw could be removed, since all calls to etharp_raw use ethbroadcast for the "ethdst_addr" parameter. But it could be wrong in the future.

16 years agoip.c: Fix bug #21846 "LwIP doesn't appear to perform any IP Source Address Filtering...
fbernon [Sun, 30 Dec 2007 01:09:11 +0000 (01:09 +0000)]
ip.c: Fix bug #21846 "LwIP doesn't appear to perform any IP Source Address Filtering" reported by Tom Evans.

16 years agotcp.h, opt.h, api.h, api_msg.h, tcp.c, tcp_in.c, api_lib.c, api_msg.c, sockets.c...
goldsimon [Fri, 21 Dec 2007 16:47:56 +0000 (16:47 +0000)]
tcp.h, opt.h, api.h, api_msg.h, tcp.c, tcp_in.c, api_lib.c, api_msg.c, sockets.c, init.c: task #7252: Implement TCP listen backlog: Warning: raw API applications have to call 'tcp_accepted(pcb)' in their accept callback to keep accepting new connections.

16 years agosys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail is not...
goldsimon [Fri, 21 Dec 2007 14:59:10 +0000 (14:59 +0000)]
sys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail is not protected" by using new macros for interlocked access to modify/test netconn->recv_avail.

16 years agoWhitespace fix.
kieranm [Thu, 20 Dec 2007 15:05:09 +0000 (15:05 +0000)]
Whitespace fix.

16 years ago 2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
kieranm [Thu, 20 Dec 2007 14:58:43 +0000 (14:58 +0000)]
 2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
  * tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e

16 years ago 2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
kieranm [Thu, 20 Dec 2007 14:51:35 +0000 (14:51 +0000)]
  2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
  * tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
    of silly window avoidance and prevent lwIP from shrinking the window)

16 years agoMinor changes in PPP (coding style, tabs, idents...)
fbernon [Wed, 19 Dec 2007 20:47:22 +0000 (20:47 +0000)]
Minor changes in PPP (coding style, tabs, idents...)

16 years agoRemoved debug code
goldsimon [Sun, 16 Dec 2007 16:24:10 +0000 (16:24 +0000)]
Removed debug code

16 years agoCorrected assert when netconn_new_* fails
goldsimon [Sun, 16 Dec 2007 16:15:08 +0000 (16:15 +0000)]
Corrected assert when netconn_new_* fails

16 years agoapi_msg.c, err.h, err.c, sockets.c, dns.c, dns.h: replace "enum dns_result" by err_t...
fbernon [Thu, 13 Dec 2007 23:06:49 +0000 (23:06 +0000)]
api_msg.c, err.h, err.c, sockets.c, dns.c, dns.h: replace "enum dns_result" by err_t type. Add a new err_t code "ERR_INPROGRESS".

16 years agoFix bug #21699: segment leak in ooseq processing when last data packet was lost ...
goldsimon [Thu, 13 Dec 2007 20:24:39 +0000 (20:24 +0000)]
Fix bug #21699: segment leak in ooseq processing when last data packet was lost (free last segment if FIN is already received)

16 years agoMinor change: move DNS_MSG_SIZE in opt.h, add comments.
fbernon [Wed, 12 Dec 2007 19:22:20 +0000 (19:22 +0000)]
Minor change: move DNS_MSG_SIZE in opt.h, add comments.

16 years agodns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles are the...
fbernon [Wed, 12 Dec 2007 17:56:03 +0000 (17:56 +0000)]
dns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles are the ones which have ram usage.

16 years agoFix err_stderr[] table with new err.h defines.
fbernon [Wed, 12 Dec 2007 08:25:23 +0000 (08:25 +0000)]
Fix err_stderr[] table with new err.h defines.

16 years agonetdb.c: add a LWIP_DNS_API_HOSTENT_STORAGE option to decide to use a static set...
fbernon [Wed, 5 Dec 2007 23:00:02 +0000 (23:00 +0000)]
netdb.c: add a LWIP_DNS_API_HOSTENT_STORAGE option to decide to use a static set of variables (=0) or a local one (=1). In this last case, your port should provide a function "struct hostent* sys_thread_hostent( struct hostent* h)" which have to do a copy of "h" and return a pointer ont the "per-thread" copy.

16 years agofix bug #21699 (segment leak in ooseq): add assert that all segment lists are empty...
goldsimon [Tue, 4 Dec 2007 20:41:12 +0000 (20:41 +0000)]
fix bug #21699 (segment leak in ooseq): add assert that all segment lists are empty in tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED state from LAST_ACK in tcp_process

16 years agoMinor changes (tabs)
fbernon [Mon, 3 Dec 2007 21:44:51 +0000 (21:44 +0000)]
Minor changes (tabs)

16 years agoAdded short comment in file description about how to handle MEM_USE_POOLS / MEM_LIBC_...
goldsimon [Mon, 3 Dec 2007 18:01:28 +0000 (18:01 +0000)]
Added short comment in file description about how to handle MEM_USE_POOLS / MEM_LIBC_MALLOC

16 years agoip_input: check if a packet is for inp first before checking all other netifs on...
goldsimon [Mon, 3 Dec 2007 17:55:01 +0000 (17:55 +0000)]
ip_input: check if a packet is for inp first before checking all other netifs on netif_list (speeds up packet receiving in most cases)

16 years agoMinor changes: coding style (tabs, ident, etc...).
fbernon [Sun, 2 Dec 2007 23:58:11 +0000 (23:58 +0000)]
Minor changes: coding style (tabs, ident, etc...).

16 years agoMinor changes: coding style (tabs, ident, etc...).
fbernon [Sun, 2 Dec 2007 23:38:45 +0000 (23:38 +0000)]
Minor changes: coding style (tabs, ident, etc...).

16 years agoInclude a temporary sample of queue.h to fix build.
fbernon [Sun, 2 Dec 2007 23:33:58 +0000 (23:33 +0000)]
Include a temporary sample of queue.h to fix build.

16 years agoMinor changes: coding style (tabs, ident, etc...).
fbernon [Sun, 2 Dec 2007 23:24:59 +0000 (23:24 +0000)]
Minor changes: coding style (tabs, ident, etc...).

16 years agoMinor changes: coding style (tabs, ident, etc...).
fbernon [Sun, 2 Dec 2007 22:56:19 +0000 (22:56 +0000)]
Minor changes: coding style (tabs, ident, etc...).

16 years agoMinor changes: coding style (tabs, ident, etc...).
fbernon [Sun, 2 Dec 2007 22:35:55 +0000 (22:35 +0000)]
Minor changes: coding style (tabs, ident, etc...).

16 years agoChanges for coding style (typo, use LINK_STATS_INC, tabs, ident, etc...). Be careful...
fbernon [Sun, 2 Dec 2007 20:38:02 +0000 (20:38 +0000)]
Changes for coding style (typo, use LINK_STATS_INC, tabs, ident, etc...). Be careful, even if this change is minor, there is lot of lines modified, so, an error is always possible (I hope there is no problems).

16 years agoprocess "localhost" name in dns_gethostbyname
fbernon [Sun, 2 Dec 2007 17:15:28 +0000 (17:15 +0000)]
process "localhost" name in dns_gethostbyname

16 years agofix bug #21654: exclude definition of struct timeval from #ifndef FD_SET. If includin...
goldsimon [Sun, 2 Dec 2007 15:24:02 +0000 (15:24 +0000)]
fix bug #21654: exclude definition of struct timeval from #ifndef FD_SET. If including <sys/time.h> for system-struct timeval, LWIP_TIMEVAL_PRIVATE now has to be set to 0 in lwipopts.h

16 years agoMinor fix: #include "lwip/api.h" was missing to compile cleanly
goldsimon [Sun, 2 Dec 2007 15:18:08 +0000 (15:18 +0000)]
Minor fix: #include "lwip/api.h" was missing to compile cleanly

16 years agofix bug #21656 (recvmbox problem in netconn API): always allocate a recvmbox in netco...
goldsimon [Sun, 2 Dec 2007 14:53:50 +0000 (14:53 +0000)]
fix bug #21656 (recvmbox problem in netconn API): always allocate a recvmbox in netconn_new_with_proto_and_callback. For a tcp-listen netconn, this recvmbox is later freed and a new mbox is allocated for acceptmbox. This is a fix for thread-safety and allocates all items needed for a netconn when the netconn is created.

16 years agoMinor change: use goto instead of redundant code to return on error in dhcp_rev().
goldsimon [Sun, 2 Dec 2007 14:40:32 +0000 (14:40 +0000)]
Minor change: use goto instead of redundant code to return on error in dhcp_rev().

16 years agoMinor changes: fix some problems with PPPoE include path, add small comments in slip...
fbernon [Fri, 30 Nov 2007 17:22:20 +0000 (17:22 +0000)]
Minor changes: fix some problems with PPPoE include path, add small comments in slip.c (unusual octal values?)

16 years agoMinor changes: dnsserver initialization with DNS_SERVER_ADDRESS in dns_init
fbernon [Fri, 30 Nov 2007 16:40:46 +0000 (16:40 +0000)]
Minor changes: dnsserver initialization with DNS_SERVER_ADDRESS in dns_init

16 years agoCompacted code: moved the code creating a netconn (without pcb) from netconn_new_with...
goldsimon [Fri, 30 Nov 2007 12:54:10 +0000 (12:54 +0000)]
Compacted code: moved the code creating a netconn (without pcb) from netconn_new_with_proto_and_callback to new (synchroneous) function netconn_alloc_with_proto_and_callback and call this function from netconn_new_with_proto_and_callback and accept_function.

16 years agoconnect the UDP pcb to the DNS server (IPaddress and port) to receive faster (unconne...
goldsimon [Fri, 30 Nov 2007 12:46:30 +0000 (12:46 +0000)]
connect the UDP pcb to the DNS server (IPaddress and port) to receive faster (unconnected pcbs are very inefficient in udp_input)

16 years agotask #7497: Sort lists (pcb, netif, ...) for faster access UDP: move a (connected...
goldsimon [Fri, 30 Nov 2007 09:44:18 +0000 (09:44 +0000)]
task #7497: Sort lists (pcb, netif, ...) for faster access UDP: move a (connected) pcb selected for input to the front of the list of pcbs so that it is found faster next time. Same for RAW pcbs that have eaten a packet.

16 years agofirst attempt to fix bug #21655 (DHCP doesn't work reliably with multiple netifs...
goldsimon [Fri, 30 Nov 2007 08:55:15 +0000 (08:55 +0000)]
first attempt to fix bug #21655 (DHCP doesn't work reliably with multiple netifs): if LWIP_DHCP is enabled, UDP packets to DHCP_CLIENT_PORT are passed to netif->dhcp->pcb only (if that exists) and not to any other pcb for the same port (only solution to let UDP pcbs 'bind' to a netif instead of an IP address)

16 years agoFirst fix for bug #21664 "PPP code is broken".
fbernon [Thu, 29 Nov 2007 22:19:56 +0000 (22:19 +0000)]
First fix for bug #21664 "PPP code is broken".

16 years agoMinor coding style changes
goldsimon [Wed, 28 Nov 2007 21:44:17 +0000 (21:44 +0000)]
Minor coding style changes

16 years agoIntroduced ETHARP_STATS
goldsimon [Wed, 28 Nov 2007 21:25:06 +0000 (21:25 +0000)]
Introduced ETHARP_STATS

16 years agoUse ICMP_STATS_INC instead of #if ICMP_STATS...
goldsimon [Wed, 28 Nov 2007 21:21:06 +0000 (21:21 +0000)]
Use ICMP_STATS_INC instead of #if ICMP_STATS...

16 years agoUse IP_STATS_INC instead of #if IP_STATS...
goldsimon [Wed, 28 Nov 2007 21:18:37 +0000 (21:18 +0000)]
Use IP_STATS_INC instead of #if IP_STATS...

16 years agoUse LINK_STATS_INC instead of #if LINK_STATS...
goldsimon [Wed, 28 Nov 2007 21:15:55 +0000 (21:15 +0000)]
Use LINK_STATS_INC instead of #if LINK_STATS...

16 years agomem_malloc with MEM_USE_POOLS=1: if size > size of biggest pool and custom pools...
goldsimon [Wed, 28 Nov 2007 18:24:08 +0000 (18:24 +0000)]
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

16 years agoMinor change: remove unused #define
jgrubb [Wed, 28 Nov 2007 17:19:39 +0000 (17:19 +0000)]
Minor change: remove unused #define

16 years agoFix typo (MEMP_POOL_START/END to FIRST/LAST)
jgrubb [Wed, 28 Nov 2007 17:19:15 +0000 (17:19 +0000)]
Fix typo (MEMP_POOL_START/END to FIRST/LAST)

16 years agofixed bug #21643 (udp_send/raw_send don't fail if netif is down) by letting ip_route...
goldsimon [Wed, 28 Nov 2007 06:48:50 +0000 (06:48 +0000)]
fixed bug #21643 (udp_send/raw_send don't fail if netif is down) by letting ip_route only use netifs that are up.

16 years agoAdd two more sanity checks on memory settings
jgrubb [Wed, 28 Nov 2007 00:11:05 +0000 (00:11 +0000)]
Add two more sanity checks on memory settings

16 years agoFix macro ERR_IS_FATAL (else, no error is fatal).
fbernon [Tue, 27 Nov 2007 21:54:58 +0000 (21:54 +0000)]
Fix macro ERR_IS_FATAL (else, no error is fatal).

16 years agoChanged error handling: ERR_MEM, ERR_BUF and ERR_RTE are seen as non-fatal, all other...
goldsimon [Tue, 27 Nov 2007 21:15:44 +0000 (21:15 +0000)]
Changed error handling: ERR_MEM, ERR_BUF and ERR_RTE are seen as non-fatal, all other errors are fatal. netconns and sockets block most operations once they have seen a fatal error.

16 years agoImplemented new function udp_sendto_if which takes the netif to send as an argument...
goldsimon [Tue, 27 Nov 2007 20:13:16 +0000 (20:13 +0000)]
Implemented new function udp_sendto_if which takes the netif to send as an argument (to be able to send on netifs that are down).

16 years agoMinor coding style changes
goldsimon [Tue, 27 Nov 2007 19:55:31 +0000 (19:55 +0000)]
Minor coding style changes

16 years agoFix to be able to build SNMP with LWIP_ARP=0. It's not a perfect solution, but I...
fbernon [Tue, 27 Nov 2007 19:53:47 +0000 (19:53 +0000)]
Fix to be able to build SNMP with LWIP_ARP=0. It's not a perfect solution, but I put some @todo points to review them later.

16 years agoFixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order
goldsimon [Mon, 26 Nov 2007 19:08:39 +0000 (19:08 +0000)]
Fixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order

16 years agoMinor change (forgot last CRLF)
fbernon [Mon, 26 Nov 2007 10:24:36 +0000 (10:24 +0000)]
Minor change (forgot last CRLF)

16 years agoMinor change: add #if 0 / #endif in ethernetif.c skeleton to avoid false bug reports.
fbernon [Mon, 26 Nov 2007 10:23:40 +0000 (10:23 +0000)]
Minor change: add #if 0 / #endif in ethernetif.c skeleton to avoid false bug reports.

16 years agoCheck state == CLOSED in tcp_bind and tcp_connect to prevent binding/connecting twice...
goldsimon [Sun, 25 Nov 2007 18:37:34 +0000 (18:37 +0000)]
Check state == CLOSED in tcp_bind and tcp_connect to prevent binding/connecting twice (using LWIP_ERROR: can be disabled)

16 years agoinitialize netconn->socket to -1 instead of 0 since 0 is a valid socket!
goldsimon [Sun, 25 Nov 2007 16:13:56 +0000 (16:13 +0000)]
initialize netconn->socket to -1 instead of 0 since 0 is a valid socket!

16 years agolock event_callback against lwip_accept for data that arrives right away after an...
goldsimon [Sun, 25 Nov 2007 16:04:38 +0000 (16:04 +0000)]
lock event_callback against lwip_accept for data that arrives right away after an accept (before lwip_accept has processed the new conn)

16 years agoMinor change (redundant code)
fbernon [Sun, 25 Nov 2007 15:32:29 +0000 (15:32 +0000)]
Minor change (redundant code)

16 years agoAdded an explaining comment for the line 'nsock->rcvevent += -1 - newconn->socket...
goldsimon [Sun, 25 Nov 2007 14:33:23 +0000 (14:33 +0000)]
Added an explaining comment for the line 'nsock->rcvevent += -1 - newconn->socket;' in lwip_accept

16 years agoMinor coding style changes, added some comments
goldsimon [Sun, 25 Nov 2007 14:23:59 +0000 (14:23 +0000)]
Minor coding style changes, added some comments

16 years agoFix some warnings discovered by compiling the unixsim under cygwin (gcc pedantic)
goldsimon [Sun, 25 Nov 2007 13:57:05 +0000 (13:57 +0000)]
Fix some warnings discovered by compiling the unixsim under cygwin (gcc pedantic)

16 years agodhcp_unfold_reply() uses pbuf_copy_partial instead of its own copy algorithm; correct...
goldsimon [Sun, 25 Nov 2007 11:51:44 +0000 (11:51 +0000)]
dhcp_unfold_reply() uses pbuf_copy_partial instead of its own copy algorithm; corrected some assert messages

16 years agoAdded documentation / minor code layout changes
goldsimon [Sun, 25 Nov 2007 10:43:28 +0000 (10:43 +0000)]
Added documentation / minor code layout changes

16 years agoBack to old alloc_socket(), lwip_accept had a bug in last revision
goldsimon [Sun, 25 Nov 2007 10:04:04 +0000 (10:04 +0000)]
Back to old alloc_socket(), lwip_accept had a bug in last revision

16 years agoAdded some more comments and function documentation
goldsimon [Sun, 25 Nov 2007 10:01:22 +0000 (10:01 +0000)]
Added some more comments and function documentation

16 years agoMinor changes (documentation).
fbernon [Sun, 25 Nov 2007 00:28:06 +0000 (00:28 +0000)]
Minor changes (documentation).

16 years agoMinor change (doxygen tags)
fbernon [Sat, 24 Nov 2007 22:13:25 +0000 (22:13 +0000)]
Minor change (doxygen tags)

16 years agoAdded documentation
goldsimon [Sat, 24 Nov 2007 21:19:47 +0000 (21:19 +0000)]
Added documentation

16 years agoAdded the wiki and a note about the mailing lists
goldsimon [Sat, 24 Nov 2007 19:49:05 +0000 (19:49 +0000)]
Added the wiki and a note about the mailing lists

16 years agoAdded some documentation (mainly what is unimplemented in contrast to 'std-BSD')...
goldsimon [Sat, 24 Nov 2007 17:39:53 +0000 (17:39 +0000)]
Added some documentation (mainly what is unimplemented in contrast to 'std-BSD'), alloc_socket returns the sock pointer directly (for speedup)

16 years agoMoved lwip_gethostbyname from sockets.c to the new file netdb.c; included lwip_getadd...
goldsimon [Sat, 24 Nov 2007 16:12:02 +0000 (16:12 +0000)]
Moved lwip_gethostbyname from sockets.c to the new file netdb.c; included lwip_getaddrinfo.

16 years agotcpip.h was not compilable with both NO_SYS and LWIP_NETCONN set to 0 (include sys...
goldsimon [Sat, 24 Nov 2007 14:50:26 +0000 (14:50 +0000)]
tcpip.h was not compilable with both NO_SYS and LWIP_NETCONN set to 0 (include sys.h was missing)

16 years agoMinor changes (typo and wrong defines names in sanity checks)
fbernon [Thu, 22 Nov 2007 10:17:16 +0000 (10:17 +0000)]
Minor changes (typo and wrong defines names in sanity checks)

16 years agoImplemented calculating the effective send-mss based on the MTU of the netif used...
goldsimon [Wed, 21 Nov 2007 18:37:23 +0000 (18:37 +0000)]
Implemented calculating the effective send-mss based on the MTU of the netif used to send. Enabled by default. Disable by setting LWIP_CALCULATE_EFF_SEND_MSS to 0. This fixes bug #21535.

16 years agoFixed bug #20287: tcp_output_nagle sends too early. This fixes the nagle algorithm...
goldsimon [Wed, 21 Nov 2007 17:59:03 +0000 (17:59 +0000)]
Fixed bug #20287: tcp_output_nagle sends too early. This fixes the nagle algorithm; nagle now also works for all raw API applications and has to be explicitly disabled with 'tcp_pcb->flags |= TF_NODELAY'

16 years agoMinor changes in DNS client.
fbernon [Tue, 20 Nov 2007 21:37:04 +0000 (21:37 +0000)]
Minor changes in DNS client.

16 years agoAdded return value comments to netconn_gethostbyname
goldsimon [Tue, 20 Nov 2007 21:23:24 +0000 (21:23 +0000)]
Added return value comments to netconn_gethostbyname