1046 Commits (af71292abae35d03cf6cd2e58335e57773d63a69)
 

Author SHA1 Message Date
goldsimon 8aedcadd3e Done some work on task #1549 (function documentation) and minor changes to meet coding standard 19 years ago
goldsimon 027d59fd46 Done some work on task #1549 (function documentation) 19 years ago
fbernon 273e70e403 Minor, fix an obsolete comment about LWIP_SO_RCVTIMEO 19 years ago
goldsimon aee6c1f72f Corrected setsockopt for LWIP_IGMP=1 (did not compile & errors were not returned) 19 years ago
goldsimon 9ee40d9f88 Defined IGMP_DEBUG defaulting to LWIP_DBG_OFF in opt.h 19 years ago
goldsimon 754fe60979 Typo in lwip_setsockopt() (getsockopt_internal was called instead of setsockopt_internal!!!) 19 years ago
goldsimon 3a429eabcd Set q to NULL after freeing it before returning: cleaner code! 19 years ago
fbernon 9209a2ee33 Minor fix for warning: pbuf_copy declaration is now mandatory (since it's used in icmp.c) 19 years ago
goldsimon 3a607a197e opt.h, ip_frag.c, ip_frag.h, ip.c: Added option IP_FRAG_USES_STATIC_BUF (defaulting to off for now) that can be set to 0 to send fragmented packets by passing PBUF_REFs down the stack. 19 years ago
goldsimon 3639daa329 IPv6: #define IPH_PROTO(hdr) (iphdr->nexthdr) to remove #ifdef IPv6 in udp_input() 19 years ago
goldsimon 8fd6a61df6 Done some work on task #1549 (function documentation) 19 years ago
goldsimon a6b0d40f9d Converted some DEBUGFs that should never happen to LWIP_ASSERTs 19 years ago
goldsimon 974cf08e5d udp_input(): Input pbuf was not freed if pcb had no recv function registered, p->payload was modified without modifying p->len if sending icmp_dest_unreach() (had no negative effect but was definitively wrong). 19 years ago
goldsimon 75fd6fc4a4 Needed for patch to bug #19937: pbuf_copy is always compiled, not only if ARP_QUEUEING is enabled 19 years ago
goldsimon 4f7dc3c76c Done some work on task #1549 (function documentation) 19 years ago
goldsimon 7abfe74fa4 Corrected bug #19937: ICMP assumes p_buf has space for ethernet header. Allocating new pbuf if the input pbuf isn't big enough. 19 years ago
goldsimon d5a159d7af Done some work on task #1549 (function documentation) 19 years ago
goldsimon add68e0da1 Checked in patch #5914: Moved sockopt processing into tcpip_thread. 19 years ago
goldsimon a85f9db5b1 Made etharp_find_addr() use find_entry to concentrate the knowledge of arp_table layout in find_entry(). 19 years ago
goldsimon c43ab76bbe Use TCP_RMV instead of tcp_pcb_remove when removing pcbs from tcp_bound_pcbs list (bug introduced while fixing bug #1895) 19 years ago
goldsimon 98df3c6e0a Removed LWIP_DEBUG_ASSERT 19 years ago
fbernon 0a4130a4ff Minor, fix files modified by last patch... 19 years ago
fbernon 93828fde80 Fixed patch #5965 : Remove unused conntype in struct api_msg_msg, by Simon Goldsmith 19 years ago
fbernon a3fdc33f88 api_lib.c: Implement SO_RCVTIMEO for accept and recv on TCP connections, such present in patch #5959. 19 years ago
fbernon a330917ee8 api_lib.c, sockets.c: Fixed bug #5958 for netconn_listen (acceptmbox only allocated by do_listen if success) and netconn_accept errors handling. In most of api_lib functions, we replace some errors checkings like "if (conn==NULL)" by ASSERT, except for netconn_delete. 19 years ago
fbernon 0fe5dd8d43 api_lib.c: Fixed bug #5957 "Safe-thread problem inside netconn_recv" to return an error code if it's impossible to fetch a pbuf on a TCP connection (and not directly close the recvmbox). 19 years ago
fbernon 953d783a3e api.h, api_lib.c, api_msg.c, sockets.c: group the different NETCONN_UDPxxx code in only one part... 19 years ago
fbernon d1ef610822 Minor fix (spaces, indent) and check for LWIP_SO_RCVTIMEO.. 19 years ago
fbernon 2ff620e1b5 sys.h, sys.c, api_lib.c, tcpip.c: remove sys_mbox_fetch_timeout() (was only used for LWIP_SO_RCVTIMEO option) and use sys_arch_mbox_fetch() instead of sys_mbox_fetch() in api files. Now, users SHOULD NOT use internal lwIP features like "sys_timeout" in their application threads. 19 years ago
goldsimon 0aaf69769f Fixed bug #1895 (tcp_bind not correct) by introducing a list of bound but unconnected (and non-listening) tcp_pcbs. 19 years ago
goldsimon b5ab0c5285 Included some missing braces in lwip_send & lwip_sendto (if !LWIP_UDP && !LWIP_RAW) 19 years ago
goldsimon 2442b985bf Broke some (too long) lines down to multiple lines, made the file fit our coding standards 19 years ago
goldsimon 78201c0146 Added some comments, better max-size-check, removed Adams original mem_malloc. 19 years ago
fbernon 499f4689be api.h, api_lib.c, api_msg.h, api_msg.c: change the struct api_msg_msg to see which parameters are used by which do_xxx function, and to avoid "misusing" parameters (patch #5938). 19 years ago
fbernon 2106f491d0 Minors fix (spaces, comments, unused variable) 19 years ago
goldsimon 81ac03a28b Included patch #5938: changed raw_pcb.protocol from u16_t to u8_t since for IPv4 and IPv6, proto is only 8 bits wide. This affects the api, as there, the protocol was u16_t, too. 19 years ago
fbernon 980af63b8d Remove warning (missing include) 19 years ago
goldsimon 613644bfc6 Re-included unneeded cases in do_disconnect() and do_send() to prevent warnings. 19 years ago
fbernon 7f5d6bc964 api_msg.c: Fix some errors forwarding (https://savannah.nongnu.org/task/?6880) 19 years ago
fbernon d5e37309e5 Minor Fix (unsed code, spaces, idents..) 19 years ago
fbernon 6bfa99a774 Minor fixs to reduce footprint on the "recv part" of Sequential API... 19 years ago
fbernon c899097802 Remove warning in snmp/msg_in.c 19 years ago
goldsimon 70187bd47e Gave the overflow functions some better names which correspond to the (future) mem.c function names 19 years ago
goldsimon 018efc9631 Check the user-overridable defines MEMP_SANITY_REGION_BEFORE and MEMP_SANITY_REGION_AFTER for aligment. 19 years ago
goldsimon a4f4e6e71d Addition to patch #5913: decrease size of memp_memory. 19 years ago
goldsimon cde11f9d9c Added some new functions as null-definitions if NO_SYS=1 19 years ago
goldsimon 8fa3b6802e Added #if !NO_SYS to most of the api files since they only work with a sys layer (makes it easier for port projects). 19 years ago
goldsimon 4192df97ec Corrected check of PBUF_POOL overflow 19 years ago
goldsimon 9085abd838 Added comments whether fields are host or network byte order (task #1568) 19 years ago
goldsimon 874415a193 Added comments whether fields are host or network byte order (task #1568) 19 years ago