📄 changelog
字号:
FUTURE
* TODO: The lwIP source code makes some invalid assumptions on processor
word-length, storage sizes and alignment. See the mailing lists for
problems with exoteric (/DSP) architectures showing these problems.
We still have to fix some of these issues neatly.
* TODO: the PPP code is broken in a few ways. There are namespace
collisions on BSD systems and many assumptions on word-length
(sizeof(int)). In ppp.c an assumption is made on the availability of
a thread subsystem. Either PPP needs to be moved to contrib/ports/???
or rearranged to be more generic.
HISTORY
(CVS HEAD)
* [Enter new changes just after this line - do not remove this line]
++ New features:
(LUMINARY Additions/Ports)
2008-04-03:
* Modify conditional code in stellarisif.c for timestamps.
* Change parameter order in LWIP_ASSERT calls in httpserver_raw application.
2008-04-03:
* Modify the httpserver_raw application to use fs_open/close/read. This is
done to allow custom file system support (including dynamic content).
2008-04-02:
* Add custom option to lwIP (LWIP_UPNP). This option will simply allow UDP
packtets on the Universal Plug and Play port (1900) to pass the IP and UDP
filters.
* Enable multi-cast packet reception on low-level interface.
2008-04-02:
* Add support for AUTOIP to porting layer code.
2008-04-02:
* Change sys_arch.h and stellarisif.c to use absolute paths for DriverLib
includes. This allows the library to be built without adding "Driverlib"
to the IPATH.
* Add lwiplib.c/h - A high level abstraction layer that includes all
required lwIP source code, and provides high-level Init, Timer and
Interrupt functions. This allows lwIP to be included in a project by
simply including one additional file.
2008-04-01:
* Comment out a single "printf" function call in the http server
application. The other "printf" functions had already been commented out
and it appeared that this one was just missed.
2008-04-01:
* Add "apps" folder, with a copy (unchanged) of the httpserver_raw
application that is available from the lwIP CVS archives.
* Add "ports" folder, that is based on the "ports" folder structure
available from the lwIP CVS archives. This "ports" folder contains a
single porting layer (stellaris) that supports the Luminary Micro Stellaris
Ethernet peripheral.
2008-03-26:
* Add lwIP-STABLE-1.3.0.pdf and Rx_flow.pdf to the doc folder for easier
reference to this addtional documentation that was found on the lwIP
Wiki.
++ Bugfixes:
(STABLE-1.3.0)
++ New features:
2008-03-10 Jonathan Larmour
* inet_chksum.c: Allow choice of one of the sample algorithms to be
made from lwipopts.h. Fix comment on how to override LWIP_CHKSUM.
2008-01-22 Fr閐閞ic Bernon
* tcp.c, tcp_in.c, tcp.h, opt.h: Rename LWIP_CALCULATE_EFF_SEND_MSS in
TCP_CALCULATE_EFF_SEND_MSS to have coherent TCP options names.
2008-01-14 Fr閐閞ic Bernon
* 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).
2008-01-14 Fr閐閞ic Bernon, Marc Chaland
* ip.c: Integrate patch #6369" ip_input : checking before realloc".
2008-01-12 Fr閐閞ic Bernon
* 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".
2008-01-12 Fr閐閞ic Bernon
* 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".
2008-01-10 Fr閐閞ic Bernon
* 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).
2008-01-10 Fr閐閞ic Bernon
* 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".
2008-01-05 Fr閐閞ic Bernon
* 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.
2008-01-04 Fr閐閞ic Bernon, Simon Goldschmidt, Jonathan Larmour
* 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.
2007-12-31 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
* tcp.c, tcp_in.c, tcp_out.c, tcp.h: Add TCP persist timer
2007-12-31 Fr閐閞ic Bernon, Luca Ceresoli
* 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.
2007-12-30 Fr閐閞ic Bernon, Tom Evans
* ip.c: Fix bug #21846 "LwIP doesn't appear to perform any IP Source Address
Filtering" reported by Tom Evans.
2007-12-21 Fr閐閞ic Bernon, Simon Goldschmidt, Jonathan Larmour
* 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.
2007-12-13 Fr閐閞ic Bernon
* 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".
2007-12-12 Fr閐閞ic Bernon
* dns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles
are the one which have ram usage.
2007-12-05 Fr閐閞ic Bernon
* 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.
2007-12-03 Simon Goldschmidt
* ip.c: 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)
2007-11-30 Simon Goldschmidt
* udp.c, raw.c: 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.
2007-11-28 Simon Goldschmidt
* etharp.c, stats.c, stats.h, opt.h: Introduced ETHARP_STATS
2007-11-25 Simon Goldschmidt
* dhcp.c: dhcp_unfold_reply() uses pbuf_copy_partial instead of its own copy
algorithm.
2007-11-24 Simon Goldschmidt
* netdb.h, netdb.c, sockets.h/.c: Moved lwip_gethostbyname from sockets.c
to the new file netdb.c; included lwip_getaddrinfo.
2007-11-21 Simon Goldschmidt
* tcp.h, opt.h, tcp.c, tcp_in.c: 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 #21492.
2007-11-19 Fr閐閞ic Bernon
* api_msg.c, dns.h, dns.c: Implement DNS_DOES_NAME_CHECK option (check if name
received match the name query), implement DNS_USES_STATIC_BUF (the place where
copy dns payload to parse the response), return an error if there is no place
for a new query, and fix some minor problems.
2007-11-16 Simon Goldschmidt
* new files: ipv4/inet.c, ipv4/inet_chksum.c, ipv6/inet6.c
removed files: core/inet.c, core/inet6.c
Moved inet files into ipv4/ipv6 directory; splitted inet.c/inet.h into
inet and chksum part; changed includes in all lwIP files as appropriate
2007-11-16 Simon Goldschmidt
* api.h, api_msg.h, api_lib.c, api_msg.c, socket.h, socket.c: Added sequential
dns resolver function for netconn api (netconn_gethostbyname) and socket api
(gethostbyname/gethostbyname_r).
2007-11-15 Jim Pettinato, Fr閐閞ic Bernon
* opt.h, init.c, tcpip.c, dhcp.c, dns.h, dns.c: add DNS client for simple name
requests with RAW api interface. Initialization is done in lwip_init() with
build time options. DNS timer is added in tcpip_thread context. DHCP can set
DNS server ip addresses when options are received. You need to set LWIP_DNS=1
in your lwipopts.h file (LWIP_DNS=0 in opt.h). DNS_DEBUG can be set to get
some traces with LWIP_DEBUGF. Sanity check have been added. There is a "todo"
list with points to improve.
2007-11-06 Simon Goldschmidt
* opt.h, mib2.c: Patch #6215: added ifAdminStatus write support (if explicitly
enabled by defining SNMP_SAFE_REQUESTS to 0); added code to check link status
for ifOperStatus if LWIP_NETIF_LINK_CALLBACK is defined.
2007-11-06 Simon Goldschmidt
* api.h, api_msg.h and dependent files: Task #7410: Removed the need to include
core header files in api.h (ip/tcp/udp/raw.h) to hide the internal
implementation from netconn api applications.
2007-11-03 Fr閐閞ic Bernon
* api.h, api_lib.c, api_msg.c, sockets.c, opt.h: add SO_RCVBUF option for UDP &
RAW netconn. You need to set LWIP_SO_RCVBUF=1 in your lwipopts.h (it's disabled
by default). Netconn API users can use the netconn_recv_bufsize macro to access
it. This is a first release which have to be improve for TCP. Note it used the
netconn::recv_avail which need to be more "thread-safe" (note there is already
the problem for FIONREAD with lwip_ioctl/ioctlsocket).
2007-11-01 Fr閐閞ic Bernon, Marc Chaland
* sockets.h, sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c, tcp.h, tcp_out.c:
Integrate "patch #6250 : MSG_MORE flag for send". MSG_MORE is used at socket api
layer, NETCONN_MORE at netconn api layer, and TCP_WRITE_FLAG_MORE at raw api
layer. This option enable to delayed TCP PUSH flag on multiple "write" calls.
Note that previous "copy" parameter for "write" APIs is now called "apiflags".
2007-10-24 Fr閐閞ic Bernon
* api.h, api_lib.c, api_msg.c: Add macro API_EVENT in the same spirit than
TCP_EVENT_xxx macros to get a code more readable. It could also help to remove
some code (like we have talk in "patch #5919 : Create compile switch to remove
select code"), but it could be done later.
2007-10-08 Simon Goldschmidt
* many files: Changed initialization: many init functions are not needed any
more since we now rely on the compiler initializing global and static
variables to zero!
2007-10-06 Simon Goldschmidt
* ip_frag.c, memp.c, mib2.c, ip_frag.h, memp_std.h, opt.h: Changed IP_REASSEMBLY
to enqueue the received pbufs so that multiple packets can be reassembled
simultaneously and no static reassembly buffer is needed.
2007-10-05 Simon Goldschmidt
* tcpip.c, etharp.h, etharp.c: moved ethernet_input from tcpip.c to etharp.c so
all netifs (or ports) can use it.
2007-10-05 Fr閐閞ic Bernon
* netifapi.h, netifapi.c: add function netifapi_netif_set_default. Change the
common function to reduce a little bit the footprint (for all functions using
only the "netif" parameter).
2007-10-03 Fr閐閞ic Bernon
* netifapi.h, netifapi.c: add functions netifapi_netif_set_up, netifapi_netif_set_down,
netifapi_autoip_start and netifapi_autoip_stop. Use a common function to reduce
a little bit the footprint (for all functions using only the "netif" parameter).
2007-09-15 Fr閐閞ic Bernon
* udp.h, udp.c, sockets.c: Changes for "#20503 IGMP Improvement". Add IP_MULTICAST_IF
option in socket API, and a new field "multicast_ip" in "struct udp_pcb" (for
netconn and raw API users), only if LWIP_IGMP=1. Add getsockopt processing for
IP_MULTICAST_TTL and IP_MULTICAST_IF.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -