sg
dff46e3816
Fixed bug #48539 (possible crash when packet received in SYN_SENT state)
10 years ago
sg
b06f14c11f
worked on UPGRADING for 2.0.0
10 years ago
goldsimon
579fffd2ec
fixed task #14084 : make dhcp_supplied_address() usable in netif change callbacks triggered by changing the netif address assigned by dhcp
10 years ago
Dirk Ziegelmeier
5d4c1432c2
Fix bug #48436 : Naming clash for timers.c (with FreeRTOS)
...
Rename timers.* to timeouts.*
10 years ago
goldsimon
6adeb706a6
change tcp_pcb->acked to be a global variable: used in one call stack only (idea by Ambroz Bizjak)
10 years ago
goldsimon
c641ae3d3d
minor: tabs->spaces
10 years ago
Dirk Ziegelmeier
72208cddfa
Rename ip_frag.* to ip4_frag.*
10 years ago
Dirk Ziegelmeier
7037b340c1
Move etharp to core/ipv4, which is a more appropriate place for it
10 years ago
Dirk Ziegelmeier
06c7404461
Fix bug #48510 , DHCP requires ARP
...
Use solution 2 proposed by Jens Nielsen
10 years ago
goldsimon
6c0d78caaa
Fixed trying to send RST for unconnected (but bound) pcb
10 years ago
Dirk Ziegelmeier
4ec3d29168
Fix bug #48504 : tcp_debug_print_pcbs reads nonexisting tcp_pcb fields
10 years ago
Dirk Ziegelmeier
09636c5b92
Let lwip_stats appear in docs
10 years ago
Dirk Ziegelmeier
cb99ca099e
docs: RTF manual does not look good, deactivate it in lwip.Doxyfile
10 years ago
Dirk Ziegelmeier
2f950a7dcc
Some documentation updates
10 years ago
Dirk Ziegelmeier
a324c7a8e4
Update #defines in lwip.Doxyfile to generate meaningful memp.c docs
10 years ago
Dirk Ziegelmeier
4ea1d62d45
Update some doxygen comments
10 years ago
sg
421dab87e8
fixed bug #48476 (TCP sent callback called wrongly due to picking up old pcb->acked
10 years ago
Dirk Ziegelmeier
01e5d6d819
memp.c: No need to init variables located in BSS section
10 years ago
Ambroz Bizjak
18c332ae51
fixed bug #48402 (Bug in skipping over TCP options)
...
Signed-off-by: goldsimon <goldsimon@gmx.de>
10 years ago
goldsimon
9a355502e1
snmp: fix compiling traps :-(
10 years ago
goldsimon
52da49cd81
snmp: changed name (snmp_length_outbound_varbind -> snmp_varbind_length)
10 years ago
goldsimon
288fc8ede3
fixed unit tests after changing memp stats
10 years ago
goldsimon
6293a835e9
fixed compiling: forgot to move one line :-(
10 years ago
Dirk Ziegelmeier
6af4215f27
Next try to fix test_udp.c (can't compile it at my current machine)
10 years ago
goldsimon
2df636fe77
memp: fixed STATS initialization
10 years ago
goldsimon
e302b1bbd2
httpd: fixed using pools, fixed missing default value of LWIP_HTTPD_SSI_RAW, fixed typo
10 years ago
Dirk Ziegelmeier
c483520081
Fix compile of UDP unit test
10 years ago
goldsimon
959042aa88
memp: fixed compiling various combinations of memp stats (display etc.)
10 years ago
Dirk Ziegelmeier
a463119597
Revert "MEMP memory can now be declared static since LWIP_DECLARE_MEMORY_ALIGNED was introduced today"
...
This reverts commit e9b0003085 .
It should still be publically accessible to be able to add prototype declarations anyway.
10 years ago
Dirk Ziegelmeier
e0918d706e
Re-add a few MEMP stats accessors - users may want to access/display MEMP stats
10 years ago
Dirk Ziegelmeier
b939e9536d
Minor: move some macros from memp.h to memp_priv.h
10 years ago
Dirk Ziegelmeier
e9b0003085
MEMP memory can now be declared static since LWIP_DECLARE_MEMORY_ALIGNED was introduced today
10 years ago
Dirk Ziegelmeier
087ecab891
Add some comments to places where we cast through a void* to get rid of alignment warnings
10 years ago
Dirk Ziegelmeier
212eacd9d6
Fix bug #48356 : private memp pools have no statistic counters
...
Implement struct stats_mem instance for each pool, let lwip_stats.mem[] point to these instances
10 years ago
Marco Veeneman
dcd52510ce
Reduce code duplication in SNMP agent traps implementation.
...
See patch #9038 : SNMP Traps with varbinds, file #37748 by Marco Veeneman
10 years ago
Dirk Ziegelmeier
98e92f6550
Move alignment related #defines from mem.h to a better place: arch.h.
...
mem.h should only describe heap API, not architecture/port specific alignment helper macros.
10 years ago
Dirk Ziegelmeier
b91e47b518
Implement portable and overridable allocation of memory buffers
...
Fixes bug #48300 (Private mempools allocate foreign memory), bug #48354 (Portable alignment defines/include required for static allocation) and bug #47092 (Tag memory buffers like memp_memory_xxx and ram_heap with a macro so that attributes can be attached to their definitions)
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
10 years ago
goldsimon
811b237bd7
dns: fixed declaration and usage of DNS_LOOKUP_LOCAL_EXTERN()
10 years ago
goldsimon
7e3de89646
minor: coding style
10 years ago
Dirk Ziegelmeier
4b136d631a
Fix (correct) clang warning about increased alignment requirements in netifapi.c and pppapi.c
10 years ago
Dirk Ziegelmeier
5a1b9bf808
SNMP traps quick fix: Do not return err_t as u16_t in snmp_varbind_len. This need further cleanup.
10 years ago
goldsimon
14ca418ac0
minor: coding style fixes
10 years ago
Dirk Ziegelmeier
cb5f7859fd
Apply patch #9038 : SNMP Traps with varbinds
...
Applied with modifications. Original patch from Marco Veeneman.
10 years ago
goldsimon
2fdea8b79b
fixed bug #48398 (dns: entries reused during found-callback could be aborted if ttl==0)
10 years ago
Michael Brown
2e26fc9224
tcp: Avoid 3-second delay for a half-open connection
...
If lwIP encounters a half-open connection (e.g. due to a restarted
application reusing the same port numbers) it will correctly send a
RST but will not resend the SYN until one retransmission timeout later
(approximately three seconds). This can increase the time taken by
lpxelinux.0 to fetch its configuration file from a few milliseconds to
around 30 seconds.
Fix by immediately retransmitting the SYN whenever a half-open
connection is detected.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: goldsimon <goldsimon@gmx.de>
10 years ago
goldsimon
fd83f4fb22
Fix bug #48359 (dns entries are not set to state DONE)
10 years ago
Sylvain Rochet
d362e167c0
PPP, documentation: fix notify phase callback documentation
...
A little grammar fix and an indentation fix in example code.
10 years ago
Sylvain Rochet
a12c149093
PPP, documentation: add notify phase callback (PPP_NOTIFY_PHASE) documentation
...
Notify phase callback, enabled using the PPP_NOTIFY_PHASE config option,
let user configure a callback that is called on each PPP internal state
change. This documents how to use it.
10 years ago
Dirk Ziegelmeier
afa2a96085
Apply patch from Ambroz Bizjak:
...
I think that "#define SZT_F PRIuPTR" has a much better chance
of being right, making the assumption that uintptr_t is the same as
size_t.
Dirk: I think Ambroz is right.
10 years ago
Sylvain Rochet
9d0546839c
init: fix NO_SYS targets build
...
lwip/src/core/init.c:256:32: error: "LWIP_COMPAT_MUTEX" is not defined [-Werror=undef]
#if LWIP_TCPIP_CORE_LOCKING && LWIP_COMPAT_MUTEX && !defined(LWIP_COMPAT_MUTEX_ALLOWED)
^
Setting LWIP_TCPIP_CORE_LOCKING is meaningless for NO_SYS targets,
therefore checking if LWIP_COMPAT_MUTEX is set does not make sense.
Introduced by 42dfa71f97: Make LWIP_TCPIP_CORE_LOCKING==1 the default
(and warn if LWIP_COMPAT_MUTEX==1 in that case as mutexes are required
to prevent priority inversion on tcpip_thread operations)
10 years ago