]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
16 years agoChange parameters list for sys_thread_new (see "task #7252 : Create sys_thread_new_ex...
fbernon [Wed, 5 Sep 2007 16:14:28 +0000 (16:14 +0000)]
Change parameters list for sys_thread_new (see "task #7252 : Create sys_thread_new_ex()"). Two new parameters have to be provided: a task name, and a task stack size. For this one, since it's platform dependant, you could define the best one for you in your lwipopts.h. For port maintainers, you can just add these new parameters in your sys_arch.c file, and but it's not mandatory, use them in your OS specific functions.

16 years agoMove some build time checkings inside init.c for task #7142 "Sanity check user-config...
fbernon [Wed, 5 Sep 2007 13:19:25 +0000 (13:19 +0000)]
Move some build time checkings inside init.c for task #7142 "Sanity check user-configurable values".

16 years agoMinor fix (add some parenthesis where macro expansion could cause problems)
fbernon [Wed, 5 Sep 2007 10:18:39 +0000 (10:18 +0000)]
Minor fix (add some parenthesis where macro expansion could cause problems)

16 years agoReplace mem_malloc call by memp_malloc, and use a new MEMP_NUM_IGMP_GROUP option...
fbernon [Tue, 4 Sep 2007 15:15:20 +0000 (15:15 +0000)]
Replace mem_malloc call by memp_malloc, and use a new MEMP_NUM_IGMP_GROUP option (see opt.h to define the value). It will avoid potential fragmentation problems, use a counter to know how many times a group is used on an netif, and free it when all applications leave it. MEMP_NUM_IGMP_GROUP got 8 as default value (and init.c got a sanity check if LWIP_IGMP!=0).

16 years agoFix warnings inside sockets.c with "gcc" compilers. See "Description" in http://www...
fbernon [Tue, 4 Sep 2007 14:30:26 +0000 (14:30 +0000)]
Fix warnings inside sockets.c with "gcc" compilers. See "Description" in http://www.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html :

16 years agoMinor changes (fix some warnings like "function declaration isn't a prototype" and...
fbernon [Tue, 4 Sep 2007 13:51:48 +0000 (13:51 +0000)]
Minor changes (fix some warnings like "function declaration isn't a prototype" and "no previous prototype for 'lwip_init'"...)

16 years agoChanges for "#20503 IGMP Improvement". Initialize igmp_mac_filter to NULL in netif_ad...
fbernon [Mon, 3 Sep 2007 14:53:18 +0000 (14:53 +0000)]
Changes for "#20503 IGMP Improvement". Initialize igmp_mac_filter to NULL in netif_add (this field should be set in the netif's "init" function). Use the "imr_interface" field (for socket layer) and/or the "interface" field (for netconn layer), for join/leave operations. The igmp_join/leavegroup first parameter change from a netif to an ipaddr. This field could be a netif's ipaddr, or "any" (same meaning than ip_addr_isany).

16 years agoReplace "netif_default = NULL;" by "netif_set_default(NULL);" in netif_remove (do...
fbernon [Mon, 3 Sep 2007 12:22:00 +0000 (12:22 +0000)]
Replace "netif_default = NULL;" by "netif_set_default(NULL);" in netif_remove (do some processing, like for SNMP...)

16 years agoAdd in igmp_joingroup & igmp_leavegroup a LWIP_ERROR checking on netif value.
fbernon [Mon, 3 Sep 2007 09:56:38 +0000 (09:56 +0000)]
Add in igmp_joingroup & igmp_leavegroup a LWIP_ERROR checking on netif value.

16 years agoAdd enum snmp_ifType in snmp.h, and use it in network interfaces for NETIF_INIT_SNMP
fbernon [Fri, 31 Aug 2007 10:14:09 +0000 (10:14 +0000)]
Add enum snmp_ifType in snmp.h, and use it in network interfaces for NETIF_INIT_SNMP

16 years agoMinor fix (else, cause build error). Since SO_REUSE is always used in the code (even...
fbernon [Fri, 31 Aug 2007 09:42:32 +0000 (09:42 +0000)]
Minor fix (else, cause build error). Since SO_REUSE is always used in the code (even if the current code is not working), it is defined in opt.h with 0 as default value (it's normal). So, the error is not if it is defined, but if it is defined to 1.

16 years agoMinor fix (use ETHARP_HWADDR_LEN)
fbernon [Fri, 31 Aug 2007 09:02:53 +0000 (09:02 +0000)]
Minor fix (use ETHARP_HWADDR_LEN)

16 years agoPut back in SO_REUSE
jgrubb [Thu, 30 Aug 2007 22:41:24 +0000 (22:41 +0000)]
Put back in SO_REUSE

16 years agoMove deprecated options from opt.h to init.c
jgrubb [Thu, 30 Aug 2007 22:33:55 +0000 (22:33 +0000)]
Move deprecated options from opt.h to init.c

16 years agoAdd netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions from...
fbernon [Thu, 30 Aug 2007 16:55:10 +0000 (16:55 +0000)]
Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions from api/api_lib". Now netbuf API is independant of netconn, and can be used with other API (application based on raw API, or future "socket2" API). Ports maintainers just have to add src/api/netbuf.c in their makefile/projects.

16 years agoAdd some others sanity checkings
fbernon [Thu, 30 Aug 2007 16:06:51 +0000 (16:06 +0000)]
Add some others sanity checkings

16 years agoMinor change (ident, remove comment, change trace text)
fbernon [Thu, 30 Aug 2007 15:53:15 +0000 (15:53 +0000)]
Minor change (ident, remove comment, change trace text)

16 years agoReplace API programmation error checking for IGMP join/leave (ismulticast(addr))...
fbernon [Thu, 30 Aug 2007 15:48:14 +0000 (15:48 +0000)]
Replace API programmation error checking for IGMP join/leave (ismulticast(addr)) by LWIP_ERROR checking.

16 years agoAdd further checks. Move compile-time checks out of LWIP_DEBUG ifdef
jifl [Thu, 30 Aug 2007 15:33:51 +0000 (15:33 +0000)]
Add further checks. Move compile-time checks out of LWIP_DEBUG ifdef

16 years agoigmp.h, igmp.c: Some changes to remove some redundant code, add some traces, and...
fbernon [Thu, 30 Aug 2007 14:20:54 +0000 (14:20 +0000)]
igmp.h, igmp.c: Some changes to remove some redundant code, add some traces, and fix some coding style.

16 years agoinit.c: Add first version of lwip_sanity_check for task #7142 "Sanity check user...
fbernon [Thu, 30 Aug 2007 10:15:17 +0000 (10:15 +0000)]
init.c: Add first version of lwip_sanity_check for task #7142 "Sanity check user-configurable values".

16 years agoMinor fix (coding style, comments, spaces, endline...)
fbernon [Thu, 30 Aug 2007 09:14:28 +0000 (09:14 +0000)]
Minor fix (coding style, comments, spaces, endline...)

16 years agoigmp.h, igmp.c, tcpip.c, init.c, netif.c: change igmp_init and add igmp_start. igmp_s...
fbernon [Wed, 29 Aug 2007 21:12:32 +0000 (21:12 +0000)]
igmp.h, igmp.c, tcpip.c, init.c, netif.c: change igmp_init and add igmp_start. igmp_start is call inside netif_add. Now, igmp initialization is in the same spirit than the others modules. Modify some IGMP debug traces.

16 years agoMinor Fix (ident)
fbernon [Wed, 29 Aug 2007 20:50:53 +0000 (20:50 +0000)]
Minor Fix (ident)

16 years agoMinor fix: replace C++ comments by C comments.
fbernon [Wed, 29 Aug 2007 09:25:17 +0000 (09:25 +0000)]
Minor fix: replace C++ comments by C comments.

16 years agoAdd init.h, init.c, Change opt.h, tcpip.c: Task #7213 "Add a lwip_init function...
fbernon [Wed, 29 Aug 2007 08:11:06 +0000 (08:11 +0000)]
Add init.h, init.c, Change opt.h, tcpip.c: Task  #7213 "Add a lwip_init function" Add lwip_init function to regroup all modules initializations, and to provide a place to add code for task #7142 "Sanity check user-configurable values". Ports maintainers should remove direct initializations calls from their code, and add init.c in their makefiles. Note that lwip_init() function is called inside tcpip_init, but can also be used by raw api users since all calls are disabled when matching options are disabled. Also note that their is new options in opt.h, you should configure in your lwipopts.h (they are enabled per default).

16 years agotcpip.c: Fix TCPIP_MSG_INPKT processing: now, tcpip_input can be used for any kind...
fbernon [Wed, 29 Aug 2007 07:51:20 +0000 (07:51 +0000)]
tcpip.c: Fix TCPIP_MSG_INPKT processing: now, tcpip_input can be used for any kind of packets. These packets are considered like Ethernet packets (payload  pointing to ethhdr) if the netif got the NETIF_FLAG_ETHARP flag. Else, packets are considered like IP packets (payload pointing to iphdr).

16 years agoFix coding style (use #if and not #ifdef) for IPv6
fbernon [Tue, 28 Aug 2007 16:03:53 +0000 (16:03 +0000)]
Fix coding style (use #if and not #ifdef) for IPv6

16 years agoFirst fix for "bug #20900 : Potential crash error problem with netconn_peer & netconn...
fbernon [Mon, 27 Aug 2007 10:08:53 +0000 (10:08 +0000)]
First fix for "bug #20900 : Potential crash error problem with netconn_peer & netconn_addr". Introduce NETCONN_LISTEN netconn_state and remove obsolete ones (NETCONN_RECV & NETCONN_ACCEPT).

16 years ago"Fix" a few more cases where Paradigm C++ may mis-compile 16-bit right shifts on...
jifl [Mon, 27 Aug 2007 01:59:52 +0000 (01:59 +0000)]
"Fix" a few more cases where Paradigm C++ may mis-compile 16-bit right shifts on 32-bit quantities

16 years agoAdded CHANGELOG entries for my recent contributions.
marcbou [Mon, 27 Aug 2007 00:14:21 +0000 (00:14 +0000)]
Added CHANGELOG entries for my recent contributions.

16 years agoReset the callbacks and arg (conn) to NULL in do_close_internal(), because
marcbou [Sun, 26 Aug 2007 23:58:33 +0000 (23:58 +0000)]
Reset the callbacks and arg (conn) to NULL in do_close_internal(), because
TCP callbacks in api_msg.c can under certain circumstances be called with an
invalid conn pointer after the connection has been closed (and conn has been
freed).

16 years agonetif.h, netif.c: Integrate "patch #6163 : Function to check if link layer is up...
fbernon [Sat, 25 Aug 2007 10:43:19 +0000 (10:43 +0000)]
netif.h, netif.c: Integrate "patch #6163 : Function to check if link layer is up". Add a netif_is_link_up() function if LWIP_NETIF_LINK_CALLBACK option is set.

16 years agoinet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy
kieranm [Fri, 24 Aug 2007 14:31:53 +0000 (14:31 +0000)]
inet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy
compiler (Paradigm C++)

16 years agonetif.h, netif.c, opt.h: Rename LWIP_NETIF_CALLBACK in LWIP_NETIF_STATUS_CALLBACK...
fbernon [Wed, 22 Aug 2007 11:26:01 +0000 (11:26 +0000)]
netif.h, netif.c, opt.h: Rename LWIP_NETIF_CALLBACK in LWIP_NETIF_STATUS_CALLBACK to be coherent with new LWIP_NETIF_LINK_CALLBACK option before next release.

16 years agoMinor fix (spaces and comment)
fbernon [Wed, 22 Aug 2007 11:00:02 +0000 (11:00 +0000)]
Minor fix (spaces and comment)

16 years agotcpip.h, tcpip.c, ethernetif.c, opt.h: remove options ETHARP_TCPIP_INPUT & ETHARP_TCP...
fbernon [Wed, 22 Aug 2007 10:04:35 +0000 (10:04 +0000)]
tcpip.h, tcpip.c, ethernetif.c, opt.h: remove options ETHARP_TCPIP_INPUT & ETHARP_TCPIP_ETHINPUT, now, only "ethinput" code is supported, even if the name is tcpip_input (we keep the name of 1.2.0 function).

16 years agoForget to rename this line (pbuf->flgs->pbuf->flags)
fbernon [Wed, 22 Aug 2007 08:47:48 +0000 (08:47 +0000)]
Forget to rename this line (pbuf->flgs->pbuf->flags)

16 years agoRename pbuf's "flgs" in "flags" (see in [lwip-devel] Last changes by Marc)
fbernon [Mon, 20 Aug 2007 19:15:43 +0000 (19:15 +0000)]
Rename pbuf's "flgs" in "flags" (see in [lwip-devel] Last changes by Marc)

16 years agoForce a build error if MEMP_NUM_TCPIP_MSG is always defined
fbernon [Mon, 20 Aug 2007 18:53:33 +0000 (18:53 +0000)]
Force a build error if MEMP_NUM_TCPIP_MSG is always defined

16 years agoReplace PBUF_LINK_HLEN before PBUF_POOL_BUFSIZE, restore PPP options changed by Marc...
fbernon [Mon, 20 Aug 2007 17:05:01 +0000 (17:05 +0000)]
Replace PBUF_LINK_HLEN before PBUF_POOL_BUFSIZE, restore PPP options changed by Marc Boucher but lost with last Jared changes...

16 years agoTask #7136: Fix bug of wrong file name for centralized mempool settings.
jgrubb [Mon, 20 Aug 2007 16:42:16 +0000 (16:42 +0000)]
Task #7136: Fix bug of wrong file name for centralized mempool settings.

16 years agoFix wrong define for both pool "struct tcpip_msg" + minor fix (coding style)
fbernon [Mon, 20 Aug 2007 16:25:15 +0000 (16:25 +0000)]
Fix wrong define for both pool "struct tcpip_msg" + minor fix (coding style)

16 years agoMinor change (fix comment)
fbernon [Mon, 20 Aug 2007 16:22:17 +0000 (16:22 +0000)]
Minor change (fix comment)

16 years agoRemoved PBUF_FLAG_LINK_BROADCAST.
marcbou [Fri, 17 Aug 2007 22:23:42 +0000 (22:23 +0000)]
Removed PBUF_FLAG_LINK_BROADCAST.

16 years agoFix potential pbuf leaks.
marcbou [Fri, 17 Aug 2007 22:15:24 +0000 (22:15 +0000)]
Fix potential pbuf leaks.

16 years agoTask #7143: Clean up opt.h. Made all the comment formats the same (uses Doxygen style...
jgrubb [Fri, 17 Aug 2007 18:31:05 +0000 (18:31 +0000)]
Task #7143: Clean up opt.h. Made all the comment formats the same (uses Doxygen style), a couple minor reorderings. Changed a few of the default stats variables to depend on whether the modules were even used (i.e. #define TCP_STATS (LWIP_TCP) ). PPP options could still use some cleaning.

16 years ago*** empty log message ***
jgrubb [Fri, 17 Aug 2007 18:19:25 +0000 (18:19 +0000)]
*** empty log message ***

16 years agoTask #7136: Centralize mempool settings into new memp_std.h and optional user file...
jgrubb [Fri, 17 Aug 2007 18:18:58 +0000 (18:18 +0000)]
Task #7136: Centralize mempool settings into new memp_std.h and optional user file lwippools.h. (Remove MEMP_POOL_SIZE/NUM flags, add new MEMP_USE_CUSTOM_POOLS option)

16 years agoTask #7136: Centralize mempool settings into new memp_std.h and optional user file...
jgrubb [Fri, 17 Aug 2007 17:49:17 +0000 (17:49 +0000)]
Task #7136: Centralize mempool settings into new memp_std.h and optional user file lwippools.h.

16 years agoFix comment
fbernon [Fri, 17 Aug 2007 10:49:35 +0000 (10:49 +0000)]
Fix comment

16 years agoMinor changes (tabs)
fbernon [Fri, 17 Aug 2007 10:46:07 +0000 (10:46 +0000)]
Minor changes (tabs)

16 years agoAdd raw_init in tcpip_init + minor changes (tabs, ident, coding style...)
fbernon [Fri, 17 Aug 2007 09:57:37 +0000 (09:57 +0000)]
Add raw_init in tcpip_init + minor changes (tabs, ident, coding style...)

16 years agolwip_recvfrom() tweaks.
marcbou [Fri, 17 Aug 2007 05:55:24 +0000 (05:55 +0000)]
lwip_recvfrom() tweaks.

16 years agoPer Frederic's suggestion, renamed
marcbou [Fri, 17 Aug 2007 02:46:43 +0000 (02:46 +0000)]
Per Frederic's suggestion, renamed
    [MEMP_[NUM_]]TCPIP_MSG to [MEMP_[NUM_]]TCPIP_MSG_API
and
    [MEMP_[NUM_]]TCPIP_MSG_INPUT to [MEMP_[NUM_]]TCPIP_MSG_INPKT.

Added defines in opt.h for temporary compatibility with older lwipopts.h.

16 years agoUse enum pbuf_flag as pbuf_type.
marcbou [Fri, 17 Aug 2007 02:09:43 +0000 (02:09 +0000)]
Use enum pbuf_flag as pbuf_type.
Renumber PBUF_FLAG_*.

16 years agoFixed misplaced #endif.
marcbou [Fri, 17 Aug 2007 02:07:26 +0000 (02:07 +0000)]
Fixed misplaced #endif.

16 years agoMinor changes (tabs, ident, coding style...)
fbernon [Fri, 17 Aug 2007 00:30:27 +0000 (00:30 +0000)]
Minor changes (tabs, ident, coding style...)

16 years agoBacked out lwip_close() change after discussion with Frederic.
marcbou [Thu, 16 Aug 2007 23:09:04 +0000 (23:09 +0000)]
Backed out lwip_close() change after discussion with Frederic.

16 years agoBacked out last change to netconn_delete() after discussion with Frederic.
marcbou [Thu, 16 Aug 2007 23:06:42 +0000 (23:06 +0000)]
Backed out last change to netconn_delete() after discussion with Frederic.

16 years agoMoved lwip/src/netif/ppp/ppp_oe.h to lwip/src/include/netif/ppp_oe.h
marcbou [Thu, 16 Aug 2007 21:12:24 +0000 (21:12 +0000)]
Moved lwip/src/netif/ppp/ppp_oe.h to lwip/src/include/netif/ppp_oe.h

16 years agoethbroadcast now a shared global provided by etharp.
marcbou [Thu, 16 Aug 2007 20:52:59 +0000 (20:52 +0000)]
ethbroadcast now a shared global provided by etharp.

16 years agofix ethernet_input() return code warning.
marcbou [Thu, 16 Aug 2007 20:50:43 +0000 (20:50 +0000)]
fix ethernet_input() return code warning.

16 years agoChanged // style comment to /* style */ comment.
marcbou [Thu, 16 Aug 2007 20:41:56 +0000 (20:41 +0000)]
Changed // style comment to /* style */ comment.

16 years agoProvide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined.
marcbou [Thu, 16 Aug 2007 20:39:29 +0000 (20:39 +0000)]
Provide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined.

16 years agoSplit pbuf flags in pbuf type and flgs.
marcbou [Thu, 16 Aug 2007 20:22:15 +0000 (20:22 +0000)]
Split pbuf flags in pbuf type and flgs.
Improved lwip_recvfrom(). TCP push now propagated.

16 years agoChanged // style comments to /* style */ comments.
marcbou [Thu, 16 Aug 2007 20:17:50 +0000 (20:17 +0000)]
Changed // style comments to /* style */ comments.

16 years agolwip_close(): call netconn_delete() under socksem to properly handle
marcbou [Thu, 16 Aug 2007 20:08:33 +0000 (20:08 +0000)]
lwip_close(): call netconn_delete() under socksem to properly handle
concurrent closes.

16 years agonetconn_delete(): unblock potentially waiting recv.
marcbou [Thu, 16 Aug 2007 20:03:23 +0000 (20:03 +0000)]
netconn_delete(): unblock potentially waiting recv.

16 years agoRemoved TCPIP_MSG_ETHINPUT. TCPIP_MSG_INPUT now used for
marcbou [Thu, 16 Aug 2007 19:55:30 +0000 (19:55 +0000)]
Removed TCPIP_MSG_ETHINPUT. TCPIP_MSG_INPUT now used for
both ETHARP_TCPIP_INPUT and  ETHARP_TCPIP_ETHINPUT.

16 years agoAdded distinct memp (MEMP_TCPIP_MSG_INPUT) for input packets to prevent
marcbou [Thu, 16 Aug 2007 19:49:08 +0000 (19:49 +0000)]
Added distinct memp (MEMP_TCPIP_MSG_INPUT) for input packets to prevent
floods from consuming all of MEMP_TCPIP_MSG and starving other message types.

16 years agoAdded PPPoE support to ethernet_input()
marcbou [Thu, 16 Aug 2007 19:16:03 +0000 (19:16 +0000)]
Added PPPoE support to ethernet_input()

16 years agoAdded mem_calloc().
marcbou [Thu, 16 Aug 2007 18:37:15 +0000 (18:37 +0000)]
Added mem_calloc().

16 years agolwip_accept(): check netconn_peer() error return.
marcbou [Thu, 16 Aug 2007 18:29:37 +0000 (18:29 +0000)]
lwip_accept(): check netconn_peer() error return.

16 years agoInitialize newconn->state to NETCONN_NONE in accept_function;
marcbou [Thu, 16 Aug 2007 18:24:29 +0000 (18:24 +0000)]
Initialize newconn->state to NETCONN_NONE in accept_function;
otherwise it was left to NETCONN_CLOSE and sent_tcp() could prematurely
close the connection.

16 years agoAdded PPPoE support and various PPP improvements.
marcbou [Thu, 16 Aug 2007 18:12:20 +0000 (18:12 +0000)]
Added PPPoE support and various PPP improvements.

16 years ago * tcp_in.c: Fix for bug #19953 - correct TCP state machine when
kieranm [Thu, 16 Aug 2007 15:57:31 +0000 (15:57 +0000)]
  * tcp_in.c: Fix for bug #19953 - correct TCP state machine when
  * receiving FIN+ACK in SYN_RECV state

16 years agoMinor change: add in tcp_in.c in tcp_input(), some calls to handle error statistics...
fbernon [Tue, 14 Aug 2007 18:01:34 +0000 (18:01 +0000)]
Minor change: add in tcp_in.c in tcp_input(), some calls to handle error statistics (stats & snmp)

16 years agoComments Fix for Doxygen documentation
fbernon [Thu, 9 Aug 2007 22:21:44 +0000 (22:21 +0000)]
Comments Fix for Doxygen documentation

16 years agoMinor Fix (remove unused USE_ROUTER_ALERT and some coding style)
fbernon [Thu, 9 Aug 2007 20:21:59 +0000 (20:21 +0000)]
Minor Fix (remove unused USE_ROUTER_ALERT and some coding style)

16 years agostats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement. Intro...
fbernon [Thu, 9 Aug 2007 20:09:22 +0000 (20:09 +0000)]
stats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement. Introduce IGMP_STATS to centralize statistics management.

16 years agoudp.c: Fix for bug #20503 : IGMP Improvement. Enable to receive a multicast packet...
fbernon [Thu, 9 Aug 2007 18:34:03 +0000 (18:34 +0000)]
udp.c: Fix for bug #20503 : IGMP Improvement. Enable to receive a multicast packet on a udp pcb binded on an netif's IP address, and not on "any".

16 years agoigmp.h, igmp.c, ip.c: Fix minor changes from bug #20503 : IGMP Improvement. This...
fbernon [Thu, 9 Aug 2007 16:53:47 +0000 (16:53 +0000)]
igmp.h, igmp.c, ip.c: Fix minor changes from bug #20503 : IGMP Improvement. This is mainly on using lookup/lookfor, and some coding styles...

16 years agoMinor fix (spaces)
fbernon [Thu, 9 Aug 2007 10:51:26 +0000 (10:51 +0000)]
Minor fix (spaces)

16 years agoAdd NETIF_LINK_CALLBACK into the netif_set_link_up/down functions
jgrubb [Wed, 8 Aug 2007 18:22:08 +0000 (18:22 +0000)]
Add NETIF_LINK_CALLBACK into the netif_set_link_up/down functions

16 years agoMinor fix (warnings on unused args, wrong type, cast u32_t to u16_t...)
fbernon [Wed, 1 Aug 2007 13:41:31 +0000 (13:41 +0000)]
Minor fix (warnings on unused args, wrong type, cast u32_t to u16_t...)

16 years agoMinor fix (warning when LWIP_DEBUG is undefined)
fbernon [Sun, 29 Jul 2007 09:25:19 +0000 (09:25 +0000)]
Minor fix (warning when LWIP_DEBUG is undefined)

16 years agoMinor fix (warning when LWIP_DEBUG is undefined)
fbernon [Sun, 29 Jul 2007 08:31:31 +0000 (08:31 +0000)]
Minor fix (warning when LWIP_DEBUG is undefined)

16 years agoMinor fix on pbuf_init (fix warning) and use same coding style that mem.h, sys.h...
fbernon [Sun, 29 Jul 2007 08:23:57 +0000 (08:23 +0000)]
Minor fix on pbuf_init (fix warning) and use same coding style that mem.h, sys.h, tcp.h, etc...

16 years agoMinor fix (warning, linker helper) signaled by Bill Florac
fbernon [Sun, 29 Jul 2007 08:11:33 +0000 (08:11 +0000)]
Minor fix (warning, linker helper) signaled by Bill Florac

16 years agoMake pbuf_init() call be an empty macro for now
jifl [Fri, 27 Jul 2007 15:06:03 +0000 (15:06 +0000)]
Make pbuf_init() call be an empty macro for now

16 years agoigmp.c: Fix bug #20595 to accept IGMPv3 "Query" messages.
fbernon [Thu, 26 Jul 2007 17:10:56 +0000 (17:10 +0000)]
igmp.c: Fix bug #20595 to accept IGMPv3 "Query" messages.

16 years agoAdded a better comment to explain why tcp_close doesn't care for the return value...
goldsimon [Thu, 26 Jul 2007 09:31:09 +0000 (09:31 +0000)]
Added a better comment to explain why tcp_close doesn't care for the return value of tcp_output

16 years agoAnother fix for bug #20021: by not returning an error if tcp_output fails in tcp_clos...
goldsimon [Wed, 25 Jul 2007 19:24:27 +0000 (19:24 +0000)]
Another fix for bug #20021: by not returning an error if tcp_output fails in tcp_close, the code in do_close_internal gets simpler (tcp_output is called again later from tcp timers).

16 years agoFixed bug #20429: use the new pbuf_copy_partial instead of the old copy_from_pbuf...
goldsimon [Wed, 25 Jul 2007 18:53:45 +0000 (18:53 +0000)]
Fixed bug #20429: use the new pbuf_copy_partial instead of the old copy_from_pbuf, which illegally modified the given pbuf; Introduced pbuf_copy_partial, making netbuf_copy_partial use this function.

16 years agotcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs: changed snd_queuelen...
goldsimon [Wed, 25 Jul 2007 08:46:41 +0000 (08:46 +0000)]
tcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs: changed snd_queuelen++ to snd_queuelen += pbuf_clen(p).

16 years agoMinor Fix: remove obsolete MEMP_NUM_API_MSG define and update comment
fbernon [Wed, 25 Jul 2007 07:46:44 +0000 (07:46 +0000)]
Minor Fix: remove obsolete MEMP_NUM_API_MSG define and update comment

16 years agoFix bug #20506: Slow start / initial congestion window starts with 2 * mss (instead...
goldsimon [Wed, 25 Jul 2007 07:31:29 +0000 (07:31 +0000)]
Fix bug #20506: Slow start / initial congestion window starts with 2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and other stacks.

16 years agoFix do_delconn when used with LWIP_TCPIP_CORE_LOCKING=1 on "non-TCP" connections...
fbernon [Tue, 24 Jul 2007 17:27:48 +0000 (17:27 +0000)]
Fix do_delconn when used with LWIP_TCPIP_CORE_LOCKING=1 on "non-TCP" connections...

16 years agoMinor fix: debug text inside ethernetif_input
fbernon [Tue, 24 Jul 2007 08:49:00 +0000 (08:49 +0000)]
Minor fix: debug text inside ethernetif_input