#
6e62baaa |
|
01-Mar-2018 |
goldsimon <goldsimon@gmx.de> |
sockets.h: include <string.h> for memcpy in FD_ZERO
|
#
9c175835 |
|
16-Oct-2017 |
Joel Cunningham <joel.cunningham@me.com> |
sockets: poll Open Group clean ups 1) Define remaining Open Group poll constants (values in hex) 2) Switch nfds_t to unsigned int http://pubs.opengroup.org/onlinepubs/007908799/xsh/poll.h.html
|
#
4d21d8da |
|
07-Oct-2017 |
Our Air Quality <info@ourairquality.org> |
Allow LWIP_SOCKET_OFFSET with an external FD_SET Signed-off-by: goldsimon <goldsimon@gmx.de>
|
#
0794d88f |
|
08-Oct-2017 |
Our Air Quality <info@ourairquality.org> |
If undefined then define O_NDELAY in terms of O_NONBLOCK. Current newlib does not define O_NDELAY, but it needs to be the same as O_NONBLOCK rather than using the lwip value of 1. Signed-off-by: Dirk Ziegelmeier <dirk@ziegelmeier.net>
|
#
6cdfae12 |
|
21-Sep-2017 |
Joel Cunningham <joel.cunningham@me.com> |
sockets: cleanup ioctlsocket for LWIP_COMPAT_SOCKETS == 2 (patch #9456) This makes two cleanups that follows the same organization as close/closesocket: 1) There is no lwip_ioctlsocket. Instead lwip_ioctl should redirect to ioctlsocket 2) With LWIP_POSIX_SOCKETS_IO_NAMES enabled, lwip_ioctl/ioctlsocket should redirect to ioctl
|
#
1152fd02 |
|
21-Sep-2017 |
Kalle Olavi Niemitalo <kon@iki.fi> |
New sockets function: lwip_poll Signed-off-by: goldsimon <goldsimon@gmx.de>
|
#
61e0a42c |
|
21-Sep-2017 |
goldsimon <goldsimon@gmx.de> |
Guard LWIP_COMPAT_SOCKETS definitions of lwip_socket with LWIP_SOCKET_SELECT
|
#
445eef2b |
|
10-Sep-2017 |
Joel Cunningham <joel.cunningham@me.com> |
sockets: add readv() implementation (task #14610) Adds an implementation of readv() that calls recvmsg() See http://pubs.opengroup.org/onlinepubs/009695399/functions/readv.html
|
#
e749678e |
|
25-Aug-2017 |
goldsimon <goldsimon@gmx.de> |
Fix function signature of fcntl() for LWIP_COMPAT_SOCKETS == 2 && LWIP_POSIX_SOCKETS_IO_NAMES (see bug #51701)
|
#
e58e3982 |
|
16-Aug-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Implement IPv6 IPV6_JOIN_GROUP/IPV6_LEAVE_GROUP socket options
|
#
f3c86095 |
|
06-Jul-2017 |
goldsimon <goldsimon@gmx.de> |
-Wconversion (still far from finished) and other minor compilation fixes...
|
#
44f7a3cb |
|
05-Jul-2017 |
goldsimon <goldsimon@gmx.de> |
work on -Wconversion...
|
#
82b9f86b |
|
14-Jun-2017 |
goldsimon <goldsimon@gmx.de> |
Fixed bug #51195 (Calling inet_pton() causes buffer overrun on a struct in6_addr)
|
#
c7e3519f |
|
02-May-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Start working task #14494: Implement SO_BINDTODEVICE Implement setsockopt. TODO: getsockopt
|
#
fc7a68b5 |
|
26-Apr-2017 |
Joel Cunningham <joel.cunningham@me.com> |
sockets: fix CMSG alignment This changes the CMSG alignment macros to ensure struct cmsghdr and data are on a word (double word on 16-bit arch) aligned boundary We need to ensure at least 32-bit alignment for 16-bit systems because socklen_t could be 32-bit due to our definition
|
#
728aaeb5 |
|
26-Apr-2017 |
goldsimon <goldsimon@gmx.de> |
Try to fix alignment warnings in CMSG_NXTHDR()
|
#
eac45ca2 |
|
26-Apr-2017 |
goldsimon <goldsimon@gmx.de> |
Try to fix alignment warnings when assigning CMSG_DATA() to some struct pointer
|
#
2f117add |
|
25-Apr-2017 |
Joel Cunningham <joel.cunningham@me.com> |
sockets: task #14247, add CMSG and IP_PKTINFO This commit adds CMSG infrastructure (currently used with recvmsg) and the IP_PKTINFO socket option. In order to use IP_PKTINFO, set LWIP_NETBUF_RECVINFO to 1 Unit test is added to verify this feature
|
#
2c767a1d |
|
20-Apr-2017 |
goldsimon <goldsimon@gmx.de> |
fix standard conformance: some socket functions should return 'ssize_t', not 'int'
|
#
172dab12 |
|
28-Mar-2017 |
Joan Lledó <jlledom@member.fsf.org> |
lwip_fcntl() returns access modes
|
#
2d8e17aa |
|
16-Mar-2017 |
goldsimon <goldsimon@gmx.de> |
sockets: guard declaration of 'lwip_select()' with LWIP_SOCKET_SELECT==1
|
#
2c775608 |
|
09-Mar-2017 |
goldsimon <goldsimon@gmx.de> |
My first try at 'recvmsg()', TCP only, for now...
|
#
c9efb7a7 |
|
08-Mar-2017 |
goldsimon <goldsimon@gmx.de> |
added missing define for MSG_NOSIGNAL
|
#
2980f7cc |
|
27-Feb-2017 |
Joel Cunningham <joel.cunningham@me.com> |
Vectorize netconn_write for TCP This commit adds support to the netconn write APIs to take an input of vectors instead of a single data pointer This allows vectors sent on a TCP connection via sendmsg to be treated atomically. The set of vectors is segmented into as much data as can fit into the send buffer and then the TCP output function is called Previously, each vector was passed to netconn_write_partly and tcp_write segmented it into its own packet, which was then it was sent via tcp_output (if not Nagleing) This commit adds vector support to lwip_netconn_do_writemore() which is the meat of the TCP write functionality from netconn/sockets layer. A new netconn API netconn_write_vectors_partly() takes a set of vectors as input and hooks up to do_writemore() This commit also defines IOV_MAX because we are limited to only supporting 65535 vectors due to choice of u16_t for the vector count
|
#
b2beb42c |
|
13-Feb-2017 |
Joel Cunningham <joel.cunningham@me.com> |
Remove forward declaration of struct lwip_sock The forward declaration was added in commit e2c2afbbe01762345ef99561a40b05033e166941 for use in struct lwip_setgetsockopt_data, but became dead after commit 5d2e93e5f0a7e85ecf96d76950c5ee02aceecc89 where the sock pointer was removed from lwip_setgetsockopt_data
|
#
85299302 |
|
09-Feb-2017 |
Joel Cunningham <joel.cunningham@me.com> |
Add sockets_priv.h header This commit introduces a sockets_priv.h header for socket API internal implementations intended to be used by sockets API C files, but not applications This commit moves struct lwip_setgetsockopt_data to the private header because this is not part of the public sockets API, but needs to be shared between sockets.c and memp.c This header lays ground work for sharing other internal sockets types /macros between API files (sockets.c and if_api.c)
|
#
182d7c13 |
|
29-Nov-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Add #include <stddef.h> to a central place (arch.h) instead of #including it in several other files throughout lwip since size_t is needed in many places See http://lwip.100.n7.nabble.com/Issue-in-arch-h-for-lwIP-2-0-0-td27948.html
|
#
d4384cfa |
|
31-Oct-2016 |
Joel Cunningham <joel.cunningham@me.com> |
Sockets: check external FD_SETSIZE against number of sockets This commit adds a compiler check to verify an external FD_SETSIZE has enough space to store the configured number of sockets
|
#
a1c0a018 |
|
06-Oct-2016 |
goldsimon <goldsimon@gmx.de> |
bug #48823: posix errors should be removed from arch.h (to new file 'lwip/errno.h')
|
#
4a7d07a2 |
|
26-Jul-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Document netdb API, add socket functions implemented by lwip to documentation, just for reference
|
#
451277e7 |
|
24-May-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Include all lwIP files in doxygen documentation
|
#
affc6d61 |
|
16-Oct-2015 |
Joel Cunningham <joel.cunningham@me.com> |
Update socket options comments This commit updates socket option comments to reflect which ones are currently supported: * SO_REUSEPORT is no longer implemented * SO_SNDTIMEO is implemented
|
#
22df34fc |
|
06-Oct-2015 |
sg <goldsimon@gmx.de> |
minor/coding style: removed spaces before line ending (from file header)
|
#
490581a0 |
|
06-Oct-2015 |
sg <goldsimon@gmx.de> |
minor/coding style: removed spaces before line ending
|
#
715d8d38 |
|
24-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
simplify FDSETSAFESET()/FDSETSAFEGET(): p is not required
|
#
5ad743e1 |
|
24-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
FD_SET: dump NULL-check that hides usage error, dump non-standard FD_SET_VAL
|
#
cc4d0942 |
|
22-Sep-2015 |
Joel Cunningham <joel.cunningham@me.com> |
Add writev function This commit adds compatibility with POSIX writev according to the Open Group specification: http://pubs.opengroup.org/onlinepubs/009695399/functions/writev.html Implementation maps to sendmsg in the same manner that write() maps to send()
|
#
cca758d3 |
|
17-Sep-2015 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fixed using wrong sockaddr type in lwip_getaddrinfo when IPv6 is enabled
|
#
c1c17541 |
|
16-Sep-2015 |
Joel Cunningham <joel.cunningham@garmin.com> |
Sockets: add sendmsg Adds sendmsg implementation for TCP and UDP sockets. Control messages are not supported at this point, but could be added in the future https://savannah.nongnu.org/bugs/?44805 Change-Id: Iddb287fd4b693f7563f8c923f76785cdde782d2f
|
#
d850efdd |
|
15-May-2015 |
Joel Cunningham <joel.cunningham@me.com> |
IPv6 sockaddr clean ups This commit address two issues with sockaddr struct implementations for IPv6: 1) struct sockaddr_in6 should have 32-bit unsigned field sin6_scope_id as specified in Section 3.4 of RFC 3493 (Basic Socket Interface Extensions for IPv6) 2) struct sockaddr is not extended in IPv6 to contain space for struct sockaddr_in6. Applications should be using struct sockaddr_storage when needing generic storage. This removes the extra bytes added when LWIP_IPV6 is defined
|
#
4edade80 |
|
05-Aug-2015 |
sg <goldsimon@gmx.de> |
allow multicast socket options IP_MULTICAST_TTL, IP_MULTICAST_IF and IP_MULTICAST_LOOP to be used without IGMP
|
#
e5e0a21f |
|
05-Aug-2015 |
sg <goldsimon@gmx.de> |
LWIP_COMPAT_SOCKETS==2: special setting to help code parsers/code completion to show argument names/types for posix socket functions
|
#
4b815eec |
|
03-Aug-2015 |
goldsimon <goldsimon@gmx.de> |
added lwip_socket_thread_init/cleanup to use LWIP_NETCONN_SEM_PER_THREAD/LWIP_NETCONN_FULLDUPLEX without including anything but sockets.h
|
#
f0c4944e |
|
05-May-2015 |
Edgar Bonet <linux@edgar-bonet.org> |
sockets: do not assume defined(FD_SET) implies defined(FD_SET_VAL).
|
#
91c2618f |
|
21-Apr-2015 |
goldsimon <goldsimon@gmx.de> |
fixed typo in sockets.h
|
#
beabd3c6 |
|
21-Apr-2015 |
goldsimon <goldsimon@gmx.de> |
Added some macros with extension "_val" that work on actual instances and leave away the "if != NULL" check to get rid of gcc "-Waddress" warnings in the core code at least (I might not have caught all of them, yet)
|
#
902d190a |
|
22-Apr-2015 |
goldsimon <goldsimon@gmx.de> |
Many const fixes throughout the stack (although these are not all, yet)
|
#
69c337b3 |
|
13-Apr-2015 |
sg <goldsimon@gmx.de> |
Fixed ntoa/aton/ntop/pton definitions after making IPv4 optional
|
#
ce7e31cd |
|
09-Apr-2015 |
sg <goldsimon@gmx.de> |
task #12722 (improve IPv4/v6 address handling): renamed ip_addr_t to ip4_addr_t, renamed ipX_addr_t to ip_addr_t and added IP version; ip_addr_t is used for all generic IP addresses for the API, ip(4/6)_addr_t are only used internally or when initializing netifs or when calling version-related functions
|
#
8155b8cf |
|
11-Feb-2015 |
sg <goldsimon@gmx.de> |
patch #7702 "Include ability to increase the socket number with defined offset"
|
#
ee833ea5 |
|
10-Feb-2015 |
sg <goldsimon@gmx.de> |
changed comment in struct linger
|
#
5d2e93e5 |
|
17-Jan-2015 |
sg <goldsimon@gmx.de> |
fixed bug #40788 "lwip_setsockopt_internal() crashes" by rewriting set/getsockopt functions to combine checks with the actual code and add more NULL checks; this also fixes that CORE_LOCKING used message passing for set/getsockopt.
|
#
7ca4fd81 |
|
10-Dec-2014 |
sg <goldsimon@gmx.de> |
- fixed bug #43797 set/getsockopt: SO_SNDTIMEO/SO_RCVTIMEO take int as option but should take timeval (LWIP_SO_SNDRCVTIMEO_STANDARD==0 can be used to revert to the old 'winsock' style behaviour); - Fixed implementation of SO_ACCEPTCONN to just look at the pcb state; - cleaned up the SO/SOF defines (only 3 left a ip_pcb level);
|
#
cacdbb52 |
|
10-Dec-2014 |
sg <goldsimon@gmx.de> |
added option LWIP_NETCONN_SEM_PER_THREAD to use a semaphore per thread instead of using one per netconn and per select call
|
#
28094051 |
|
06-Nov-2014 |
goldsimon <goldsimon@gmx.de> |
lwip_socket_init() is not needed any more -> compatibility define
|
#
33237419 |
|
18-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Parts of patch #8397 Typos corrected in comments and text outputs
|
#
1204f15b |
|
19-May-2014 |
goldsimon <goldsimon@gmx.de> |
bug #35874 reserved identifier violation, 2nd part
|
#
dbd125c7 |
|
19-May-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards)
|
#
a89db987 |
|
20-Feb-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Added missing IPPROTO_RAW
|
#
d74464e0 |
|
19-Dec-2012 |
Grant Erickson <marathon96@gmail.com> |
Add RFC3542-style checksum compuation on raw, IPv6 sockets This patch adds support for RFC3542-style checksum computation on raw, IPv6 sockets via the IPV6_CHECKSUM socket option. This allows the development of application-layer utilities such as ping6 which are unable to compute the raw packet checksum without a prior knowledge of the source address selection.
|
#
e2c2afbb |
|
20-Feb-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
patch #7885: modification of api modules to support FreeRTOS-MPU (don't pass stack-pointers to other threads) (based on patch by Artem Pisarenko)
|
#
cffe54d0 |
|
20-Feb-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Patch #7815 by James Smith: added inet_ntop/inet_pton
|
#
08370c72 |
|
16-Jan-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Patch #7904 by Grant Erickson: Add mnemonics for IPPROTO_{ICMP,ICMPV6}
|
#
ae300c98 |
|
29-Jun-2013 |
Simon Goldschmidt <goldsimon@gmx.de> |
partially fixed bug #37585: IPv6 compatibility (in socket structs)
|
#
e65202f8 |
|
03-Jul-2012 |
James Smith <jsmith@ecoscentric.com> |
Applied patch by James Smith to implement IPV6_V6ONLY support in sockets and netconns. Change-Id: I2ecd8e218703114890b2d678cc1ccf997a16f5e3
|
#
8b9f70ac |
|
18-Oct-2011 |
goldsimon <goldsimon@gmx.de> |
fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS
|
#
2e69b54a |
|
24-Aug-2011 |
Simon Goldschmidt <goldsimon@gmx.de> |
fixed bug #34057 socklen_t should be a typedef
|
#
6865806b |
|
25-May-2011 |
goldsimon <goldsimon> |
Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable.
|
#
4bfbe7eb |
|
17-May-2011 |
goldsimon <goldsimon> |
... and finally, we got a first working version of a dual-stack lwIP runnin IPv4 and IPv6 in parallel - big thanks to Ivan Delamer! (this is work in progress, so please beware, test a lot and report problems!)
|
#
d2679e58 |
|
20-Nov-2010 |
goldsimon <goldsimon> |
Fixed bug #31304: Changed SHUT_RD, SHUT_WR and SHUT_RDWR to resemble other stacks.
|
#
704d90f6 |
|
20-Oct-2010 |
goldsimon <goldsimon> |
Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16
|
#
6929a786 |
|
24-Jun-2010 |
goldsimon <goldsimon> |
Fixed bug #10088: Correctly implemented shutdown at socket level.
|
#
baeb41f5 |
|
12-May-2010 |
goldsimon <goldsimon> |
SO_REUSEADDR / SO_REUSE is implemented and safe to use
|
#
79d3b41e |
|
13-Mar-2010 |
goldsimon <goldsimon> |
Reverted the change in struct sockaddr since it wasn't compatible to the standard (bug #29210)
|
#
2621e3fa |
|
10-Mar-2010 |
goldsimon <goldsimon> |
Use a union to let struct sockaddr have the same alignment requirements as struct sockaddr_in
|
#
8fbaf030 |
|
12-Feb-2010 |
goldsimon <goldsimon> |
Added a minimal version of posix fctl() to have a standardised way to set O_NONBLOCK for nonblocking sockets.
|
#
e58f4c56 |
|
29-Jan-2010 |
goldsimon <goldsimon> |
Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API
|
#
a6e316a9 |
|
27-Jul-2009 |
kieranm <kieranm> |
Add missing #include directives
|
#
d4ecb230 |
|
28-Apr-2009 |
fbernon <fbernon> |
raw.c, udp.c, init.c, opt.h, ip.h, sockets.h: bug #26309: Implement the SO(F)_BROADCAST filter for all API layers. Avoid the unindented reception of broadcast packets even when this option wasn't set. Port maintainers which want to enable this filter have to set IP_SOF_BROADCAST=1 in opt.h. If you want this option also filter broadcast on recv operations, you also have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
|
#
14cb4eb7 |
|
16-Feb-2009 |
goldsimon <goldsimon> |
fixed arguments of socket functions to match the standard; converted size argument of netconn_write to 'size_t' for that; fixed some warnings
|
#
19884f40 |
|
10-Feb-2009 |
goldsimon <goldsimon> |
Moved INADDR_* defines to inet.h; removing dependency from inet.h to ip_addr.h
|
#
7be9e292 |
|
26-Apr-2008 |
fbernon <fbernon> |
sockets.h: minor changes, add comments for ToS options
|
#
47d8d69b |
|
02-Dec-2007 |
goldsimon <goldsimon> |
fix bug #21654: exclude definition of struct timeval from #ifndef FD_SET. If including <sys/time.h> for system-struct timeval, LWIP_TIMEVAL_PRIVATE now has to be set to 0 in lwipopts.h
|
#
8cfd923a |
|
24-Nov-2007 |
goldsimon <goldsimon> |
Added some documentation (mainly what is unimplemented in contrast to 'std-BSD'), alloc_socket returns the sock pointer directly (for speedup)
|
#
c86b446d |
|
24-Nov-2007 |
goldsimon <goldsimon> |
Moved lwip_gethostbyname from sockets.c to the new file netdb.c; included lwip_getaddrinfo.
|
#
9dd4ad6c |
|
18-Nov-2007 |
goldsimon <goldsimon> |
Added thread-safe function gethostbyname_r (as in glibc)
|
#
edc46281 |
|
18-Nov-2007 |
fbernon <fbernon> |
Minor changes on DNS client.
|
#
e6ec23d7 |
|
16-Nov-2007 |
goldsimon <goldsimon> |
Added sequential (socket API) function gethostbyname and the struct hostent it uses
|
#
cbe9b050 |
|
01-Nov-2007 |
fbernon <fbernon> |
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".
|
#
e3cd1ac1 |
|
07-Sep-2007 |
fbernon <fbernon> |
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
#
5865a78c |
|
05-Sep-2007 |
fbernon <fbernon> |
Minor fix (add some parenthesis where macro expansion could cause problems)
|
#
d7943575 |
|
04-Sep-2007 |
fbernon <fbernon> |
Fix warnings inside sockets.c with "gcc" compilers. See "Description" in http://www.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html :
|
#
b6750de9 |
|
30-Jun-2007 |
fbernon <fbernon> |
sockets.h, sockets.c: Implement MSG_PEEK flag for recv/recvfrom functions.
|
#
ea7b0052 |
|
17-Jun-2007 |
goldsimon <goldsimon> |
Implemented socket options SO_NO_CHECK for UDP sockets to disable UDP checksum generation on transmit.
|
#
046a2701 |
|
11-Jun-2007 |
goldsimon <goldsimon> |
Added UDP lite support for sockets
|
#
874415a1 |
|
16-May-2007 |
goldsimon <goldsimon> |
Added comments whether fields are host or network byte order (task #1568)
|
#
3c32c993 |
|
14-May-2007 |
fbernon <fbernon> |
Include inet.h to avoid warnings (see http://savannah.nongnu.org/patch/?5865).
|
#
efd3104f |
|
13-May-2007 |
goldsimon <goldsimon> |
Fixed bug from patch #5865 by moving the defines for socket options (lwip_set/-getsockopt) used with level IPPROTO_TCP from tcp.h to sockets.h.
|
#
84fc489e |
|
10-May-2007 |
goldsimon <goldsimon> |
Included patch #5448: include '#ifdef __cplusplus \ extern "C" {' in all header files. Now you can write your application using the lwIP stack in C++ and simply #include the core files. Note I have left out the netif/ppp/*h header files for now, since I don't know which files are included by applications and which are for internal use only.
|
#
eacac8ee |
|
17-Apr-2007 |
jifl <jifl> |
* sockets.h: FD_SETSIZE needs to match number of sockets, which is MEMP_NUM_NETCONN in sockets.c right now.
|
#
05909d6f |
|
11-Apr-2007 |
kieranm <kieranm> |
Apply patch #5745: Fix "Constant is long" warnings with 16bit compilers. Contributed by avatar@mmlab.cse.yzu.edu.tw
|
#
a24a170b |
|
11-Mar-2007 |
fbernon <fbernon> |
New configuration option LWIP_IGMP to enable IGMP processing. Based on only one filter per all network interfaces. Declare a new function in netif to enable to control the MAC filter (to reduce lwIP traffic processing). Mace Gael for the upper layers, Steve Reynolds for lower ones...
|
#
bc4b3764 |
|
11-Mar-2007 |
goldsimon <goldsimon> |
Fixed bug #19251 (missing `const' qualifier in socket functions), to get more compatible to standard POSIX sockets.
|
#
7fd37d4e |
|
06-Mar-2007 |
fbernon <fbernon> |
Implement SO_RCVTIMEO on UDP sockets/netconn.
|
#
ddf0982d |
|
05-Mar-2007 |
fbernon <fbernon> |
opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES, ETHARP_TRUST_IP_MAC, review SO_REUSE). Also include directly tcp.h in sockets.h to improve application independancy from ip stack (avoid to include directly in application the "unknown" tcp.h if you need options like TCP_NODELAY and TCP_KEEPALIVE in application.
|
#
1d222949 |
|
26-Feb-2007 |
jifl <jifl> |
* sockets.h, sockets.c: Move socket initialization to new lwip_socket_init() function.
|
#
ce0410b2 |
|
04-Jul-2004 |
likewise <likewise> |
LWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaults to 1.
|
#
6d704c72 |
|
26-Mar-2004 |
jani <jani> |
do not export struct timeval to external users of socket.h to avoid conflicts
|
#
475576ec |
|
07-Feb-2004 |
likewise <likewise> |
Updated some copyright notices to include 2004 (a few were forgotten earlier).
|
#
e4a6d199 |
|
14-Nov-2003 |
likewise <likewise> |
Merged from DEVEL into main tree.
|
#
df99ce9d |
|
09-Jun-2003 |
likewise <likewise> |
Replaced all tabs with two spaces (regardless of indentation is correct).
|
#
39a6db40 |
|
02-Jun-2003 |
jani <jani> |
inet_ntoa and inet_aton from Marc
|
#
1204e461 |
|
22-Apr-2003 |
jani <jani> |
add definitions for PF_UNSPEC and IPPROTO_IP
|
#
eb1a41f3 |
|
03-Mar-2003 |
jani <jani> |
socket functions use socklen_t, patch from floriZ.Also set/getsockopt use void * instead of char * as fourth arg
|
#
d390ca70 |
|
24-Feb-2003 |
jani <jani> |
cleaned up opt.h a bit, added more option defaults ad changed SYS_LIGHTWEIGHT_PROT to be a 0/1 define.The same for COMPAT_SOCKET
|
#
da40fbd0 |
|
17-Feb-2003 |
jani <jani> |
move FD_SET defines to sockets.h from arch.h .Last arg of select is not a const according to linux and openBSD manpages
|
#
dd2fa15e |
|
06-Feb-2003 |
davidhaas <davidhaas> |
Add the following features and bugfixes: Added select() functionality to sockets library. Support for errno in sockets library. Byte ordering fixes. basic lwip_ioctl(), FIONREAD, get/setsockopt() etc. support - added additional argument to netif_add to pass state pointer so that the if_init function has access to context information before the interface is added, without accessing globals. - added netif_remove() - to conserve cpu load the tcpip_tcp_timer should only be active when tcbs that need it exist. - pass length of available data to callbacks for NETCONN_EVT_RCV events - added tcpip_link_input(), a hack to allow processing of PPP packets in tcpip_thread() context. This saves threads and context switches. - renamed incompatible ASSERT() macro to LWIP_ASSERT() to avoid name collision. - changed a bunch of %d's to %u's in format strings for unsigned values. - added ip_frag to lwip_stats. - changed IP_REASS_MAXAGE and IP_REASS_TMO defaults to more realistic values. - added sys_timeout_remove() function to cancel timeouts (needed by PPP amongst other things). - tolerate NULL returns from sys_arch_timeouts() since some threads might not need to use or have timeouts. - added sys_sem_wait_timeout() - moved mem_malloc() function to end of mem.c to work around tasking compiler bug. - automatically bind to local tcp port if 0. - allow customization of port ranges for automatic local bindings. - corrected various typos, spelling errors, etc.. Thanks to Marc Boucher for many of these changes.
|
#
46c575c0 |
|
22-Jan-2003 |
jani <jani> |
Fix udp_bind to allow rebind for same socket (yesterday's commit broke that) and introduce connection info for UDP pcbs.New function netconn_disconnect, do_disconnect for deatching UDP from a remote addres.Fix #2240
|
#
cc4df710 |
|
08-Jan-2003 |
likewise <likewise> |
Updated lwIP module copyright years to include 2003. Committers must check theirs.
|
#
f06e9550 |
|
18-Oct-2002 |
likewise <likewise> |
Initial revision
|