]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blob - UPGRADING
bug #29105: Review printf formatters: added X8_F to cc.h and use it in etharp.c
[pes-rpp/rpp-lwip.git] / UPGRADING
1 This file lists major changes between release versions that require
2 ports or applications to be changed. Use it to update a port or an
3 application written for an older version of lwIP to correctly work
4 with newer versions.
5
6
7 (CVS HEAD)
8
9   * [Enter new changes just after this line - do not remove this line]
10
11   ++ Application changes:
12
13   * Replaced struct ip_addr by typedef ip_addr_t.
14
15   * Raw API: Changed the semantics of tcp_close() (since it was rather a
16     shutdown before): Now the application does *NOT* get any calls to the
17     recv callback after calling tcp_close() - this means that it also does
18     not get the NULL-pbuf which tells it the remote side has closed, too!
19
20   * Raw API: When calling tcp_abort() from a raw API TCP callback function,
21     make sure you return ERR_ABRT to prevent accessing unallocated memory.
22     (ERR_ABRT now means the applicaiton has called tcp_abort!)
23
24   * Renamed mem_realloc() to mem_trim() to prevent confusion with realloc()
25
26   * Netconn API: Changed netconn_receive() and netconn_accept() to return
27     err_t, not a pointer to new data/netconn.
28
29   * Socket API / LWIP_SO_RCVTIMEO: when accept() or recv() time out, they
30     now set errno to EWOULDBLOCK/EAGAIN, not ETIMEDOUT.
31
32
33   ++ Port changes
34
35   * Added 4 new files: def.c, timers.c, timers.h, tcp_impl.h
36
37   * Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains
38     the actual application programmer's API
39   
40   * Separated timer implementation from sys.h/.c, moved to timers.h/.c
41
42   * Converted and semaphore functions to take pointers to sys_mbox_t/sys_sem_t;
43
44   * Converted sys_mbox_new/sys_sem_new to take pointers and return err_t;
45
46   * Added Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX to let sys.h use
47     binary semaphores instead of mutexes - as before)
48
49   * Integrated loopif into netif.c - loopif does not have to be created by the
50     port any more, just define LWIP_HAVE_LOOPIF to 1.
51
52   * Netdb uses a memp pool for allocating memory when getaddrinfo() is called,
53     so MEMP_NUM_NETDB has to be set accordingly.
54
55   * Snmp-agent uses memp pools instead of the heap, so MEMP_NUM_SNMP_* have to
56     be set accordingly.
57
58   * Added define LWIP_RAND() for lwip-wide randomization (needs to be defined
59     in cc.h, e.g. used by igmp)
60
61   * Added printf-formatter X8_F to printf u8_t as hex
62
63
64 (STABLE-1.3.2)
65
66   * initial version of this file