1375 Commits (8d0f689cb5db601d30b0f4b97caf1e98fa4e8eb8)
 

Author SHA1 Message Date
fbernon 8d0f689cb5 Minor changes: typo in doc files. 19 years ago
fbernon bfd96264e6 Minor changes: fix warning in dhcp_unfold_reply when LWIP_DEBUG=0 19 years ago
fbernon baab7c04f7 Minor changes: fix some traces in ip_frag.c (coding style and end of lines) 19 years ago
jifl 3572ec784d Fix simple compilation error with some compilers to preserve const-ness of ethaddr - from Luca Ceresoli 19 years ago
kieranm 6f00cbb6ef 2008-01-15 Kieran Mansley 19 years ago
fbernon 7518acf634 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). 19 years ago
fbernon 52e6922e5a ip.c: Integrate patch #6369" ip_input : checking before realloc". 19 years ago
fbernon 82ddf82866 Minor change: add comment 19 years ago
fbernon 55bcc20deb 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". 19 years ago
fbernon 9906e4c984 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". 19 years ago
jifl 886cfbe12d Minor spelling typos and formatting fixes. 19 years ago
fbernon 4e40fee1db 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). 19 years ago
fbernon bceff76c70 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". 19 years ago
jifl b333b7c9dc * opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid 19 years ago
fbernon de4b9b584c Fix DHCP build problem. 19 years ago
jifl bf924118de * dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP 19 years ago
goldsimon a41f113b8f Added function netconn_free(), which deallocates all mboxes and frees the netconn (to be used from different places) - the PCB is not freed! 19 years ago
fbernon 5941b3c86e 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. 19 years ago
fbernon caa1834b70 Minor changes in lwip folder: fix some warnings. 19 years ago
fbernon c61262d839 Minor changes in lwip folder: fix some warnings. 19 years ago
fbernon 9c4daa312d Minor changes in lwip folder: fix some warnings, coding style, and rename "internal" netconn_alloc function. 19 years ago
fbernon 32005617b9 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. 19 years ago
fbernon 1dfa246674 Minor changes: fix some PPP traces. 19 years ago
jifl 7e616ea71c * core/ipv4/ip.c (ip_input): Rename ipsrcchecking -> check_ip_src, to make 19 years ago
kieranm 99afb15ced Add persist timer 19 years ago
fbernon 22e2540eb6 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. 19 years ago
fbernon 8d39b1a152 ip.c: Fix bug #21846 "LwIP doesn't appear to perform any IP Source Address Filtering" reported by Tom Evans. 19 years ago
goldsimon 1ed34774c8 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. 19 years ago
goldsimon 48e62e25e9 sys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail is not protected" by using new macros for interlocked access to modify/test netconn->recv_avail. 19 years ago
kieranm 1cb470662b Whitespace fix. 19 years ago
kieranm add4874801 2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev) 19 years ago
kieranm 8cc32bc29c 2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm) 19 years ago
fbernon fc2d28b851 Minor changes in PPP (coding style, tabs, idents...) 19 years ago
goldsimon a3ef33c56f Removed debug code 19 years ago
goldsimon ba4254231e Corrected assert when netconn_new_* fails 19 years ago
fbernon 2b54da5070 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". 19 years ago
goldsimon d2fa5c91a7 Fix bug #21699: segment leak in ooseq processing when last data packet was lost (free last segment if FIN is already received) 19 years ago
fbernon 4653974c2a Minor change: move DNS_MSG_SIZE in opt.h, add comments. 19 years ago
fbernon de11e7fd75 dns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles are the ones which have ram usage. 19 years ago
fbernon 1dd1064051 Fix err_stderr[] table with new err.h defines. 19 years ago
fbernon ac10470643 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. 19 years ago
goldsimon 8d3d08e814 fix bug #21699 (segment leak in ooseq): add assert that all segment lists are empty in tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED state from LAST_ACK in tcp_process 19 years ago
fbernon 3f96a15fd4 Minor changes (tabs) 19 years ago
goldsimon 22f51f953b Added short comment in file description about how to handle MEM_USE_POOLS / MEM_LIBC_MALLOC 19 years ago
goldsimon f3f7bd00e5 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) 19 years ago
fbernon a72e4a406f Minor changes: coding style (tabs, ident, etc...). 19 years ago
fbernon 2fe1254aae Minor changes: coding style (tabs, ident, etc...). 19 years ago
fbernon e4590b26fb Include a temporary sample of queue.h to fix build. 19 years ago
fbernon 325d6e7cfa Minor changes: coding style (tabs, ident, etc...). 19 years ago
fbernon 6bce832060 Minor changes: coding style (tabs, ident, etc...). 19 years ago