fbernon
fdcb87db19
Implement LWIP_SO_RCVTIMEO configuration option to enable/disable SO_RCVTIMEO on UDP sockets/netconn.
19 years ago
goldsimon
a868832776
Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect the stack from concurrent access.
19 years ago
goldsimon
5eabd4591a
SNMP UDP ports can be configured at compile time
19 years ago
goldsimon
91afefa61a
Reverted pbuf_alloc() to REV 1.82
19 years ago
goldsimon
ea7bdb8e9e
Last change (reduce code size if not used) had a bug...
19 years ago
fbernon
7cda728469
Fix some "little" build problems, and a redundancy call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
...
If LINK_STATS was defined, tcpip.c couldn't be build.
Even if IP_FRAG or IP_REASSEMBLY were set, ip_frag.c functions are not build.
19 years ago
fbernon
7fd37d4e87
Implement SO_RCVTIMEO on UDP sockets/netconn.
19 years ago
goldsimon
874bfe19d2
Reduce code size: don't include code in those files if IP_FRAG == 0 and IP_REASSEMBLY == 0
19 years ago
fbernon
ed07d481d6
opt.h, ip_frag.h, tcpip.h, tcpip.c, ethernetif.c: add new configuration option named ETHARP_TCPIP_ETHINPUT, which enable the new tcpip_ethinput. Allow to do ARP processing for incoming packets inside tcpip_thread (protecting ARP layer against concurrent access). You can also disable old code using tcp_input with new define ETHARP_TCPIP_INPUT set to 0. Older ports have to use tcpip_ethinput.
19 years ago
goldsimon
7115975212
fixed compiler warning "initialization dircards qualifiers from pointer target type"
19 years ago
fbernon
ddf0982d0f
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.
19 years ago
goldsimon
7b54ddd828
Corrected patch to bug #19168
19 years ago
fbernon
1ffd049833
api_msg.c: Remove some compiler warnings : parameter "pcb" was never referenced.
19 years ago
fbernon
12e0a2ef7d
api_lib.c: Fix "[patch #5764 ] api_lib.c cleanup: after patch #5687" (from Dmitry Potapov).
...
The api_msg struct stay on the stack (not moved to netconn struct).
19 years ago
goldsimon
9da7afb345
Fixed buf #19168 based on patch by Dmitry Potapov
19 years ago
goldsimon
1f544e087b
Fix BUG#11400 - don't corrupt existing pbuf chain when enqueuing multiple pbufs to a pending ARP request
19 years ago
fbernon
e1b6a4cb21
udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
...
Its is static, and never used in udp.c except udp_init().
19 years ago
goldsimon
bb8522b737
tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from tcpip_thread() to tcpip_init()
19 years ago
fbernon
e075581d76
no message
19 years ago
kieranm
527d18a526
2007-02-28 Kieran Mansley (based on patch from Simon Goldschmidt)
...
* api_lib.c, tcpip.c, memp.c, memp.h: make API msg structs allocated
on the stack and remove the API msg type from memp
19 years ago
kieranm
5ace5976a1
* pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
...
19 years ago
kieranm
c52ac01fbc
sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero
...
when supplied timeout is also non-zero
19 years ago
jifl
f4f2bfe379
Ensure the size of each pbuf in the pool meets alignment constraints
19 years ago
jifl
75beb3bd35
Fix incorrect comparison in get_socket().
...
Spotted by Frederic Bernon.
19 years ago
jifl
1d22294974
* sockets.h, sockets.c: Move socket initialization to new
...
lwip_socket_init() function.
19 years ago
jifl
de665f7cf9
2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt)
...
* api_lib.c: Use memcpy in netbuf_copy_partial.
19 years ago
christiaans
205520c620
Fix the fix for GETSHORT and GETLONG bug #19052 , needs to be tested by some PPP user.
19 years ago
likewise
3551b2a2a1
Release 1.2.0.
20 years ago
christiaans
11f2e8d1a6
Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().
20 years ago
christiaans
a91374a916
Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().
20 years ago
christiaans
36e6c26545
Included xid to some DEBUGFs.
20 years ago
christiaans
9a68f74857
Fixed false triggers of request_timeout.
20 years ago
christiaans
b96c15890c
Disabled alignment fix. Stepping back, #17922 fix fails on my target, DHCP won't start, I don't understand.
20 years ago
christiaans
5a6b26d69e
In netif_add() fixed clearing of ip_addr, netmask, gw and flags.
20 years ago
christiaans
a3d912a801
Fixed uninitalized variable warnings (using gcc 4.1.1)
20 years ago
christiaans
b4f1deaa46
Accepted patch #5493 IP frag/reass config item tweak.
20 years ago
christiaans
976bce4c7f
Changed heap to use naturally aligned start address and added near-fit case to #17922 fix.
20 years ago
christiaans
77e0f77850
Added snmp_send_trap() parameter, caller must pass enterprise id for enterprise secific traps.
20 years ago
christiaans
a885cbf8ed
Removed mem_dump() reference.
20 years ago
christiaans
b6af5d9bda
Initial attempt at fixing bug #17922 , calling for reviewers. This seems to work for me, more or less, but it looks like it breaks TCP.
20 years ago
christiaans
b72677c3ce
Added missing NULL return checks for snmp_mib_lrn_alloc() and trimmed whitespace at line ends.
20 years ago
christiaans
5e44122552
Trimmed whitespace at line ends.
20 years ago
christiaans
d4b6471d39
Replaced tabs with space.
20 years ago
christiaans
fe1bea9538
Added netif_set_up and call protection for NULL function pointers. Bug #16602 and #17777 .
20 years ago
christiaans
2f41e2b0ec
Made ip_id static again, fixing bug #18065 . This is required when outputting IP fragments.
20 years ago
christiaans
bd86f95512
Cold case #9191 fixes for NC30 compiler for the M16 mcu, reported by Bjorn Sundman.
20 years ago
christiaans
5fcf6418cf
Added warning about using mem_malloc in sys_arch.c, cold case bug #1913 .
20 years ago
christiaans
4e583dab2e
Again, fixed decoding of negative integers in snmp_asn1_dec_s32t(), tnx to though testing by Sander.
20 years ago
christiaans
bc182cab7c
Removed EXPERIMENTAL status.
20 years ago
christiaans
f6f6f11838
Fixed decoding of negative integers in snmp_asn1_dec_s32t(), removed EXPERIMENTAL status.
20 years ago