Lines Matching refs:in
32 (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h)
86 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
92 * tcp_out.c: fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was
96 * vj.c: fixed bug #35756 header length calculation problem in ppp/vj.c
103 * ip4.c: fixed bug #35927: missing refragmentaion in ip_forward
149 * pbuf.c: fixed bug #35291: NULL pointer in pbuf_copy
153 tcp_active_pcbs in some cases
164 * tcp_in.c: fixed bug #34638: Dead code in tcp_receive - pcb->dupacks
183 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
186 * sockets.h: fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS
205 * pbuf.c: fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4
215 * tcp_in.c, tcp_out.c: Reset pcb->unsent_oversize in 2 more places...
218 * tcp_in.c: fixed bug #28288: Data after FIN in oos queue
236 in init.c
239 * timers.c: fixed bug #34337 (possible NULL pointer in sys_check_timeouts)
250 * tcp_in.c: fixed bug #33952 PUSH flag in incoming packet is lost when packet
254 * opt.h: fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared
268 * pbuf.c: fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
291 * etharp.c: fixed bug #33551 (ARP entries may time out although in use) by
292 sending an ARP request when an ARP entry is used in the last minute before
307 * mem.c: fixed bug #33544 "warning in mem.c in lwip 1.4.0 with NO_SYS=1"
320 calculate it in tcp_zero_window_probe (the only place where it was used).
337 version is now only used in protocol headers. Added global storage for
338 current src/dest IP address while in input functions.
400 This should speed up receiving data on sockets as the select code in
405 netif->output in one piece): Always copy to try to create single pbufs
406 in tcp_write.
449 SOF_REUSEADDR set, allow binding to endpoint in TIME_WAIT
455 task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX
496 * api.h, api_msg.c, sockets.c: Added except set support in select
502 plus many cleanups in socket & netconn API.
521 * opt.h, memp.c: patch #6822 (Add option to place memory pools in
526 LWIP_RAND() for lwip-wide randomization (to be defined in cc.h)
547 using ports in the IANA private/dynamic range (49152 through 65535).
592 * rawapi.txt: Fixed bug #32561 tcp_poll argument definition out-of-order in
680 * api_msg.c: fixed bug #30300 (shutdown parameter was not initialized in
743 overrunning our rcv_wnd in ooseq case.
823 * api_msg.c: Fixed bug #28865 (Cannot close socket/netconn in non-blocking
827 * mem.h: Fixed bug #28866 (mem_realloc function defined in mem.h)
839 * ppp.c: task #10154 (PPP: Update snmp in/out counters for tx/rx packets)
854 * igmp.c: Fixed bug #28798 (Error in "Max Response Time" processing) and
858 * nearly every file: Use macros defined in ip_addr.h (some of them new)
877 * tcp.h, tcp.c, tcp_in.c: Fixed bug #27871: Calling tcp_abort() in recv
883 not implemented in SNMP): write-only or not-accessible are still
896 if tcp_enqueue fails) both in raw- and netconn-API
899 * api_msg.c: Fixed bug #27316: netconn: Possible deadlock in err_tcp
925 * pap.c: Fixed bug #13315 (PPP PAP authentication can result in
945 * netdb.h: Fixed bug #28496: missing include guards in netdb.h
992 * ppp.h/.c: Fixed bug #27079 (Yet another leak in PPP): outpacket_buf can
993 be statically allocated (like in ucip)
1008 sequence queue, also fixed PBUF_POOL leak in the out-of-sequence code
1048 * tcp.h: bug-fix in the TCP_EVENT_RECV macro (has to call tcp_recved if
1052 * tcp_in.c: Fixed bug #26251: RST process in TIME_WAIT TCP state
1074 * ip.c: Fixed bug #27390: Source IP check in ip_input() causes it to drop
1087 LWIP_AUTOIP_CREATE_SEED_ADDR() returned address in host byte order instead
1106 * ppp.c: bug #27078: Possible memory leak in pppInit()
1114 Fixed wrong parenthesis, added check in init.c
1117 * ppp.c: bug #27266: wait-state debug message in pppMain occurs every ms
1184 * autoip.c: checked in (slightly modified) patch #6683: Customizable AUTOIP
1205 (define LWIP_ERR_T in cc.h)
1212 * netif.c, loopif.c, ip.c, netif.h, loopif.h, opt.h: Checked in slightly
1239 in netconn_alloc
1242 * tcp.h: BUG26879: set ret value in TCP_EVENT macros when function is not set
1247 as in the RFCs.
1266 * init.c: snmp was not initialized in lwip_init()
1277 1.3.0 in CVS only) - fixes compilation of ppp_oe.c
1292 which want to enable this filter have to set IP_SOF_BROADCAST=1 in opt.h.
1294 have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
1303 right place in tcp_output and tcp_rexmit).
1325 in the header pbuf, not the data pbuf)
1328 * api_msg.c: fixed bug #25695: Segmentation fault in do_writemore()
1341 * inet.c: patch #6765: Supporting new line characters in inet_aton()
1346 is big enough in dhcp_start
1349 * netbuf.c: bug #26027: netbuf_chain resulted in pbuf memory leak
1363 macros in tcp.h
1402 * dhcp.c: fixed bug #24480 (releasing old udp_pdb and pbuf in dhcp_start)
1409 * tcp.c: fixed bug #25467: Listen backlog is not reset on timeout in SYN_RCVD:
1411 in state SYN_RCVD is close.
1426 in tcp_parseopt
1444 * tcp.c: Fix bug #24227, wrong error message in tcp_bind.
1456 in macros, mainly if MEM_STATS=0 and MEMP_STATS=0).
1463 * inet_chksum.c: Checked in some ideas of patch #6460 (loop optimizations)
1468 rather than rcv_ann_wnd when deciding if packets are in-window.
1486 in lwipopts.h or use pbuf_free_callback(p)/mem_free_callback(m) to free pbufs
1503 * tcp.c, tcp_in.c, tcp.h, opt.h: Rename LWIP_CALCULATE_EFF_SEND_MSS in
1537 modifications in the sys_mbox api: sys_mbox_new take a "size" parameters which
1539 in opt.h to indicate sizes for tcpip::mbox, netconn::recvmbox, and for the
1541 parameter in your implementation, but to ignore it to keep the previous behavior.
1544 This new function is used in tcpip_input (so, can be called in an interrupt
1545 context since the function is not blocking), and in recv_udp and recv_raw.
1550 "backlog" parameter in an u8_t, 0 is interpreted as "smallest queue", add
1551 documentation in the rawapi.txt file.
1558 in autoip". The change in etharp_raw could be removed, since all calls to
1560 wrong in the future.
1569 applications have to call 'tcp_accepted(pcb)' in their accept callback to
1588 netifs on netif_list (speeds up packet receiving in most cases)
1622 inet and chksum part; changed includes in all lwIP files as appropriate
1631 requests with RAW api interface. Initialization is done in lwip_init() with
1632 build time options. DNS timer is added in tcpip_thread context. DHCP can set
1634 in your lwipopts.h file (LWIP_DNS=0 in opt.h). DNS_DEBUG can be set to get
1645 core header files in api.h (ip/tcp/udp/raw.h) to hide the internal
1650 RAW netconn. You need to set LWIP_SO_RCVBUF=1 in your lwipopts.h (it's disabled
1664 * api.h, api_lib.c, api_msg.c: Add macro API_EVENT in the same spirit than
1666 some code (like we have talk in "patch #5919 : Create compile switch to remove
1695 option in socket API, and a new field "multicast_ip" in "struct udp_pcb" (for
1706 This one is undefined by default in mib2.c. SNMP_GET_SYSUPTIME is called inside
1713 and others without it, there is a new NETIF_FLAG_IGMP flag to set in netif->flags
1721 IP_PCB. Add in the netconn's "pcb" union a "struct ip_pcb *ip;" (no size change).
1736 one, since it's platform dependant, you could define the best one for you in
1738 in your sys_arch.c file, and but it's not mandatory, use them in your OS
1755 Initialize igmp_mac_filter to NULL in netif_add (this field should be set in
1765 maintainers just have to add src/api/netbuf.c in their makefile/projects.
1773 igmp_start is call inside netif_add. Now, igmp initialization is in the same
1781 and add init.c in their makefiles. Note that lwip_init() function is called
1784 in opt.h, you should configure in your lwipopts.h (they are enabled per default).
1796 * netif.h, netif.c, opt.h: Rename LWIP_NETIF_CALLBACK in LWIP_NETIF_STATUS_CALLBACK
1811 * api_msg.c: Initialize newconn->state to NETCONN_NONE in accept_function;
1828 * pbuf.c, pbuf.h, etharp.c, tcp_in.c, sockets.c: Split pbuf flags in pbuf
1853 a link callback in the netif struct, and functions to handle it. Be carefull
1854 for port maintainers to add the NETIF_FLAG_LINK_UP flag (like in ethernetif.c)
1878 into a define (tcp_output_nagle) in tcp.h to provide it to raw api users, too.
1881 * api.h, api_lib.c, api_msg.c: Fixed bug #20021: Moved sendbuf-processing in
1896 pointers or parameters, and let the possibility to redefined it in cc.h. Use
1897 this macro to check "conn" parameter in api_msg.c functions.
1911 (see TODO mark in the source code).
1930 connections, such present in patch #5959.
1934 code in only one part...
1941 Set it to 2 to also check every element in every pool each time memp_malloc()
1946 PBUF_POOL pbufs instead of the old pool implementation in pbuf.c to reduce
1951 Include a function pointer instead of a table index in the message to reduce
1957 \ extern "C" {' in all header files. Now you can write your application using
1958 the lwIP stack in C++ and simply #include the core files. Note I have left
1970 to be overriden in case the C-library malloc implementation is not protected
1981 sockets api and api_msg which run in tcpip_thread context). Add netconn_sento function.
1989 by the port in sys_arch.h if desired.
1993 allow to use thread-safe functions to add/remove netif in list, and to start/stop dhcp
2002 are not using this variable. Can be overriden in cc.h.
2006 define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded
2012 * netif.h, netif.c: A new NETIF_FLAG_ETHARP flag is defined in netif.h, to allow to
2020 etharp_init in your port's initilization sequence if you use tcpip.c, because this call
2021 is done in tcpip_init function.
2025 new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in
2026 your lwipopts.h. More, unused counters are not defined in the stats structs, and not
2038 filter per all network interfaces. Declare a new function in netif to enable to
2045 that TCP_KEEPIDLE and TCP_KEEPINTVL have to be set in seconds.
2074 * api_lib.c: Use memcpy in netbuf_copy_partial.
2128 * tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT state)
2135 * tcp.c, tcp_in.c: fix bug #21699 (segment leak in ooseq processing when last
2136 data packet was lost): add assert that all segment lists are empty in
2138 state from LAST_ACK in tcp_process
2143 has to be set to 0 in lwipopts.h
2146 * api_msg.c, api_lib.c: fix bug #21656 (recvmbox problem in netconn API): always
2147 allocate a recvmbox in netconn_new_with_proto_and_callback. For a tcp-listen
2183 context in do_getaddr.
2210 * mem.c: lfree was not updated in mem_realloc!
2216 type change. Any compiler should cause an error without any changes in
2223 * tcp.c: Fixed bug #21080 (tcp_bind without check pcbs in TIME_WAIT state)
2227 * icmp.c: Fixed bug #21107 (didn't reset IP TTL in ICMP echo replies)
2230 * mem.c: Fixed bug #21077 (inaccuracy in calculation of lwip_stat.mem.used)
2236 if they are not defined in cc.h, in the same spirit than "lwip/opt.h" for lwipopts.h.
2274 tcp_output fails in tcp_close, the code in do_close_internal gets simpler
2294 * api_msg.c: Fix bug #20318: api_msg "recv" callbacks don't call pbuf_free in
2302 * src/core/tcp_in.c Apply patch#5741 from Oleg Tyshev to fix bug in
2307 assumption is made that this pbuf is in one piece (i.e. not chained). These
2337 possible to define this macro in your own lwipopts.h to always use C library's
2343 in api_lib/api_msg (use pointers and not type with table, etc...)
2353 * udp.c: Fixed bug #20220: UDP PCB search in udp_input(): a non-local match
2358 changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0.
2366 * api_lib.c: change return expression in netconn_addr and netconn_peer, because
2371 MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid
2382 where TCP flags wasn't initialized in tcp_keepalive.
2396 * sockets.c: Checked in patch #5914: Moved sockopt processing into tcpip_thread.
2416 sys_mbox_fetch() in api files. Now, users SHOULD NOT use internal lwIP features
2417 like "sys_timeout" in their application threads.
2445 with NO_SYS=1". Note that igmp_init is always in tcpip_thread (and not in
2447 added (mac filter is updated only in igmp_init for the moment).
2468 * memp.c: checked in patch #5913: in memp_malloc() we can return memp as mem
2469 to save a little RAM (next pointer of memp is not used while not in pool).
2477 in NULL reference for incoming TCP packets". Loopif has to be configured
2485 * pbuf.c: Use s32_t in pbuf_realloc(), as an s16_t can't reliably hold
2488 MEMP_NUM_NETCONN in sockets.c right now.
2491 * icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580).
2513 * ip.c: Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output
2518 missing pcb allocations checking (in do_bind, and for each raw_new). Fix style.
2530 definition of macros (in errno.h and lwip/arch.h) if LWIP_PROVIDE_ERRNO is
2562 dynamic one from memp to send tcpip_msg to tcpip_thread in a synchrone call.
2563 Free tcpip_msg from tcpip_apimsg is not done in tcpip_thread. This give a
2584 comment out missing header include in icmp.c
2591 * tcpip.c: Initialize tcpip's mbox, and verify if initialized in tcpip_input,
2607 * pbuf.c: checked in patch #5796: pbuf_alloc: len field claculation caused
2612 (missing `const' qualifier in socket functions), to get more compatible to
2626 * tcpip.c: Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect
2631 call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
2634 * ip_frag.c, ip_frag.h: Reduce code size: don't include code in those files
2665 Also fixed cast warning in pbuf_alloc()
2673 It is static, and never used in udp.c except udp_init().
2711 * tcp_{in,out}.c: added SNMP counters.
2727 * snmp/msg_{in,out}.c added
2759 * api_msg.c: Flushing TCP output in do_close() (bug #15926).
2771 in accept() by Kevin Lawson.
2784 * tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is
2792 * tcp.c: Remove PCBs which stay in LAST_ACK state too long. Patch
2805 * inet.c: Rewrote standard checksum routine in proper portable C.
2808 * udp.c tcp.c: Removed SO_REUSE hack. Should reside in socket code only.
2813 * inet.c: Fixed unaligned 16-bit access in the standard checksum
2818 * tcp_out.c: Fixed uninitialized 'queue' referenced in memerr branch.
2819 * tcp_{out|in}.c: Applied patch fixing unaligned access.
2846 querying an address will see it appear in the cache (DHCP could
2847 suffer from this when a server invalidly gave an in-use address.)
2855 * tcp.c: Increment pcb->snd_buf when ACK is received in SYN_SENT state.
2863 delayed ACK in order to open the window if the stack is only receiving data.
2873 * debug.h: Added (int) cast in LWIP_DEBUGF() to avoid compiler
2884 * inet.c: Made data types consistent in inet_ntoa().
2894 of raw_recv() in raw.h and so avoid compiler error.
2932 * ip_addr.c: Fix in the ip_addr_isbroadcast() check.
2943 * Fixed TCP bug in dequeueing of FIN from out of order segment queue.
2944 * Fixed two possible NULL references in rare cases.
2950 * Fixed DHCP which did not include the IP address in DECLINE messages.
2978 * Numereous fixes in PPP.
2984 * Mentioned the changed use of CVS branches in README.
2990 * Fixed pool pbuf memory leak in pbuf_alloc().
2995 pbufs. Fixed in pbuf_alloc().
3006 This is the RFC recommended behaviour, but can be overridden in
3030 payloads in application-managed memory.
3064 logged in CVS but have not been explained here.
3077 * The name of the time variable in arp.c has been changed to ctime
3088 * A bug in tcp_parseopt() could cause the stack to hang because of a
3091 * The address of new connections in the accept() function in the BSD
3096 * Aborted TCP connections were not handled correctly in all
3103 * The ->len field in the tcp_seg structure now counts the actual
3125 * read() in BSD socket library could drop data.
3162 * Locking issues in buffer management.
3164 * Bugfixes in the sequential API.
3190 * Variables named "data" and "code" have been renamed in order to
3191 avoid name conflicts in certain compilers.
3193 * Variable++ have in appliciable cases been translated to ++variable
3194 since some compilers generate better code in the latter case.
3202 last segment in a burst.
3208 * TCP: out of order segments were in some cases handled incorrectly,
3210 in 0.4, has now been fixed. Binding to an address that is in use
3211 now results in an error. Reset connections sometimes hung an
3217 * API: a lot of bug fixes in the API. The UDP API has been improved
3248 rapidly allocated and deallocated is now kept in pools. Allocation
3255 * "Out of memory" situations are handled in a more robust way.
3261 now kept in a single header file "lwipopts.h".
3267 * Error propagation has been improved, both in the protocol modules
3268 and in the API.
3273 * Bugs have been found and corrected in the TCP, UDP, IP, API, and
3284 * Fix of a fatal bug in the buffer management. Pbufs with allocated
3290 * Bugfixes in the API.
3295 kept in a dedicated include/ directory.
3298 netconn_err(), now returns an error code for the connection in
3301 * Improvements in the memory management subsystem. The system now
3311 * Many bugfixes in the TCP code:
3313 - Fixed a bug in tcp_close().
3320 - The initial congestion window could in some cases be too
3323 - The retransmission queue could in some cases be screwed up. This
3328 - Out of sequence data was in some cases never delivered to the
3340 connections that are in TIME-WAIT. This greatly speeds up the fast