fbernon
54c1025ec0
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).
19 years ago
jifl
5e7b7cba31
"Fix" a few more cases where Paradigm C++ may mis-compile 16-bit right shifts on 32-bit quantities
19 years ago
marcbou
5a6b1cbf66
Added CHANGELOG entries for my recent contributions.
19 years ago
marcbou
180e6d2c75
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).
19 years ago
fbernon
acbf25f2eb
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.
19 years ago
kieranm
7c90cc6aac
inet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy
...
compiler (Paradigm C++)
19 years ago
fbernon
261af8dc07
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.
19 years ago
fbernon
2f344268ff
Minor fix (spaces and comment)
19 years ago
fbernon
42f3c24fc4
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).
19 years ago
fbernon
c4b97a1710
Forget to rename this line (pbuf->flgs->pbuf->flags)
19 years ago
fbernon
4f76bc42d7
Rename pbuf's "flgs" in "flags" (see in [lwip-devel] Last changes by Marc)
19 years ago
fbernon
fbd5600563
Force a build error if MEMP_NUM_TCPIP_MSG is always defined
19 years ago
fbernon
3259e2eac9
Replace PBUF_LINK_HLEN before PBUF_POOL_BUFSIZE, restore PPP options changed by Marc Boucher but lost with last Jared changes...
19 years ago
jgrubb
baca292f47
Task #7136 : Fix bug of wrong file name for centralized mempool settings.
19 years ago
fbernon
8babf0ec73
Fix wrong define for both pool "struct tcpip_msg" + minor fix (coding style)
19 years ago
fbernon
c07d124d4b
Minor change (fix comment)
19 years ago
marcbou
a0db1eaa32
Removed PBUF_FLAG_LINK_BROADCAST.
19 years ago
marcbou
dbd61d129d
Fix potential pbuf leaks.
19 years ago
jgrubb
21b5fb5ddb
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.
19 years ago
jgrubb
f55fafbc66
*** empty log message ***
19 years ago
jgrubb
768843f1f0
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)
19 years ago
jgrubb
cc7d1226ee
Task #7136 : Centralize mempool settings into new memp_std.h and optional user file lwippools.h.
19 years ago
fbernon
8abafc54a6
Fix comment
19 years ago
fbernon
885695fa67
Minor changes (tabs)
19 years ago
fbernon
e0bf309bb5
Add raw_init in tcpip_init + minor changes (tabs, ident, coding style...)
19 years ago
marcbou
d907bcd57a
lwip_recvfrom() tweaks.
19 years ago
marcbou
0167bbb89a
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.
19 years ago
marcbou
0471aaec52
Use enum pbuf_flag as pbuf_type.
...
Renumber PBUF_FLAG_*.
19 years ago
marcbou
18636a4df5
Fixed misplaced #endif.
19 years ago
fbernon
2be122875a
Minor changes (tabs, ident, coding style...)
19 years ago
marcbou
c517f6daf9
Backed out lwip_close() change after discussion with Frederic.
19 years ago
marcbou
07223bf5ef
Backed out last change to netconn_delete() after discussion with Frederic.
19 years ago
marcbou
7862ba583e
Moved lwip/src/netif/ppp/ppp_oe.h to lwip/src/include/netif/ppp_oe.h
19 years ago
marcbou
8c10d91135
ethbroadcast now a shared global provided by etharp.
19 years ago
marcbou
c81d0f3393
fix ethernet_input() return code warning.
19 years ago
marcbou
0b8b9e8033
Changed // style comment to /* style */ comment.
19 years ago
marcbou
b73198d5ef
Provide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined.
19 years ago
marcbou
4236699052
Split pbuf flags in pbuf type and flgs.
...
Improved lwip_recvfrom(). TCP push now propagated.
19 years ago
marcbou
75935ad251
Changed // style comments to /* style */ comments.
19 years ago
marcbou
a3c3f47e17
lwip_close(): call netconn_delete() under socksem to properly handle
...
concurrent closes.
19 years ago
marcbou
17f07a36ef
netconn_delete(): unblock potentially waiting recv.
19 years ago
marcbou
557a0c7ae3
Removed TCPIP_MSG_ETHINPUT. TCPIP_MSG_INPUT now used for
...
both ETHARP_TCPIP_INPUT and ETHARP_TCPIP_ETHINPUT.
19 years ago
marcbou
1b98df4a0d
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.
19 years ago
marcbou
58bfb0458e
Added PPPoE support to ethernet_input()
19 years ago
marcbou
95cbf95c50
Added mem_calloc().
19 years ago
marcbou
0b4402ebc8
lwip_accept(): check netconn_peer() error return.
19 years ago
marcbou
d64b3f21e6
Initialize newconn->state to NETCONN_NONE in accept_function;
...
otherwise it was left to NETCONN_CLOSE and sent_tcp() could prematurely
close the connection.
19 years ago
marcbou
931fcfd0f5
Added PPPoE support and various PPP improvements.
19 years ago
kieranm
a6ca9aa306
* tcp_in.c: Fix for bug #19953 - correct TCP state machine when
...
* receiving FIN+ACK in SYN_RECV state
19 years ago
fbernon
40ef282982
Minor change: add in tcp_in.c in tcp_input(), some calls to handle error statistics (stats & snmp)
19 years ago