goldsimon
|
077caac76d
|
task #10153 (Integrate loopif into netif.c) - loopif does not have to be created by the port any more, just define LWIP_HAVE_LOOPIF to 1.
|
2010-02-09 16:01:24 +00:00 |
|
goldsimon
|
91d70a3364
|
Fixed copying multiple IP addresses from options (e.g. multiple DNS servers) - the amount copied was correct, but the value copied was always the first.
|
2010-02-09 11:40:46 +00:00 |
|
goldsimon
|
6af20340dd
|
Minor: Fixed indentation after changing struct ip_addr to ip_addr_t
|
2010-02-09 11:38:59 +00:00 |
|
goldsimon
|
79e6b4c819
|
Added reentrant versions of inet_ntoa/ipaddr_ntoa inet_ntoa_r/ipaddr_ntoa_r
|
2010-02-08 20:14:21 +00:00 |
|
goldsimon
|
ececc3ca45
|
Internalize another function; use the supplied max_response_time instead of dividing it by 2
|
2010-02-08 19:50:49 +00:00 |
|
goldsimon
|
630f575017
|
Moved most defines from igmp.h to igmp.c for clarity since they are not used anywhere else; removed some function prototypes from igmp.h, too
|
2010-02-08 19:41:53 +00:00 |
|
goldsimon
|
27d4cf6aef
|
Improved IGMP stats (patch from bug #28798)
|
2010-02-08 19:19:26 +00:00 |
|
goldsimon
|
b156d392cb
|
Fixed bug #28798 (Error in "Max Response Time" processing) and another bug when LWIP_RAND() returns zero.
|
2010-02-08 18:12:53 +00:00 |
|
goldsimon
|
90bed0c5ac
|
Added yet another IP-address-modifying define, ip_addr_set_any()
|
2010-02-08 17:24:08 +00:00 |
|
goldsimon
|
f74cebcbcd
|
Minot: Fixed comments and code style
|
2010-02-08 16:53:47 +00:00 |
|
goldsimon
|
6c027c153b
|
Fixed compiler warnings
|
2010-02-08 12:24:29 +00:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +00:00 |
|
goldsimon
|
258fe88232
|
Added an own debug-print option for timers.c (used TCPIP_DEBUG and SYS_DEBUG as the code was copied from there)
|
2010-02-04 16:53:10 +00:00 |
|
goldsimon
|
9ff7d29696
|
Fixed compiler warnings when MEM_SIZE < 64000
|
2010-02-02 20:14:05 +00:00 |
|
goldsimon
|
30d69d68e3
|
Fix handling of zero-padding and parse file before sname field (if overloaded, according to the RFC)
|
2010-02-02 18:26:40 +00:00 |
|
goldsimon
|
4495d9ef5b
|
Fixed an error in dhcp_free_request() from dhcp_inform()
|
2010-02-02 16:30:11 +00:00 |
|
goldsimon
|
a66039b86c
|
Let netdb use a memp pool for allocating memory when getaddrinfo() is called.
|
2010-02-01 21:04:29 +00:00 |
|
goldsimon
|
81c5d9e983
|
Prevent mem_free (leave struct dhcp allocated on dhcp_stop) to prevent calling mem_malloc when restarting dhcp later
|
2010-02-01 20:20:38 +00:00 |
|
goldsimon
|
c6f7a34abe
|
Prevent mem_malloc in dhcp_inform, fix check for subnet mask (remember if it was given by server or not) set back request_timeout in dhcp_set_state()
|
2010-02-01 19:55:16 +00:00 |
|
goldsimon
|
72d6f1a418
|
Don't parse broadcast option, we don't use it anyway (made up from ipaddr and netmask), layout change of struct dhcp
|
2010-01-31 18:59:37 +00:00 |
|
goldsimon
|
8cb3ea1398
|
Reworked the code that parses DHCP options: parse them once instead of parsing for every option. This also removes the need for mem_malloc from dhcp_recv and makes it possible to correctly retrieve the BOOTP file.
|
2010-01-31 17:27:15 +00:00 |
|
goldsimon
|
8712deb0b2
|
Don't call the link-callback from netif_set_up/down() since
this invalidly retriggers DHCP.
|
2010-01-31 13:30:47 +00:00 |
|
goldsimon
|
5fa0347e64
|
Cleanly separate the portability file inet.h and its contents from the stack: moved htonX- functions to def.h (and the new def.c - they are not ipv4 dependent), let inet.h depend on ip_addr.h and not the other way round. This fixes bug #28732.
|
2010-01-29 08:20:32 +00:00 |
|
goldsimon
|
ea3b8f52d5
|
renamed netif pointer in struct igmp from 'interface' to 'netif' to not use keywords (or at least my editor highlights it as one...); minor layout change
|
2010-01-28 18:27:26 +00:00 |
|
kieranm
|
95445fc328
|
Ensure ssthresh >= 2*MSS
|
2010-01-28 13:14:42 +00:00 |
|
goldsimon
|
21e3cde95c
|
Added missing casts (bug #28659)
|
2010-01-28 12:05:14 +00:00 |
|
goldsimon
|
04a8b0f85d
|
Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605
|
2010-01-27 18:24:57 +00:00 |
|
goldsimon
|
853e33bdb4
|
snmp_recv: don't peek the UDP header, p->tot_len does the same; no need for the extra checks at the beginning; don't use so many if/else but if/return instead to make the code more readable
|
2010-01-27 17:36:37 +00:00 |
|
goldsimon
|
0644c4c08e
|
Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()!
|
2010-01-27 17:22:06 +00:00 |
|
goldsimon
|
606fed8896
|
Use memp pools for snmp instead of the heap; added 4 new pools.
|
2010-01-26 20:28:24 +00:00 |
|
goldsimon
|
96338314f1
|
Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get)
|
2010-01-25 17:44:07 +00:00 |
|
goldsimon
|
5d3cab0042
|
Added one more missing cast
|
2010-01-25 09:19:52 +00:00 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
ef31aa12e2
|
Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords, added comments, added init-define for private MIB
|
2010-01-24 17:16:37 +00:00 |
|
goldsimon
|
9dd6c28523
|
bug #26523: Compiler Warnings
|
2010-01-24 14:35:28 +00:00 |
|
goldsimon
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +00:00 |
|
goldsimon
|
82318c0ef1
|
Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API
|
2010-01-21 18:43:37 +00:00 |
|
goldsimon
|
e0c5c4de88
|
Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it
|
2010-01-18 17:45:41 +00:00 |
|
goldsimon
|
149f21dc58
|
Only check for LWIP_RAND() if IGMP is used, for now
|
2010-01-18 08:19:48 +00:00 |
|
goldsimon
|
9632632b85
|
Minor: source code layout
|
2010-01-18 08:11:57 +00:00 |
|
goldsimon
|
2d4e76874c
|
Using typedefs for function prototypes and -pointers throughout the stack for clarity
|
2010-01-14 20:02:15 +00:00 |
|
goldsimon
|
04f17c4709
|
Improved includes in snmp
|
2010-01-14 19:59:03 +00:00 |
|
goldsimon
|
6df94d3c76
|
Coding style
|
2010-01-13 15:17:01 +00:00 |
|
goldsimon
|
59005b544f
|
Minor fix: bug #28555: Retransmission timer only stopped if TCP_QUEUE_OOSEQ==1
|
2010-01-13 14:24:15 +00:00 |
|
goldsimon
|
8596bb7e7e
|
The heap now may be moved to user-defined memory by defining LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address (patch #6966 and bug #26133)
|
2010-01-13 13:09:55 +00:00 |
|
goldsimon
|
1c47d15577
|
Minor speedup ip_output_if when writing TTL/proto to ip header
|
2010-01-13 12:52:15 +00:00 |
|
goldsimon
|
052be0a328
|
Added comments
|
2010-01-13 11:16:47 +00:00 |
|
goldsimon
|
9a2d97ec41
|
Fixed bug #28551 (Compiler warning introduced with closed bug #28506)
|
2010-01-11 09:51:33 +00:00 |
|
goldsimon
|
47e770dffa
|
Fixed comment on struct mem.prev
|
2010-01-11 09:49:31 +00:00 |
|