goldsimon
|
96e9689dbd
|
Use new macro ip_addr_copy where applicable
|
2010-02-14 12:42:49 +00:00 |
|
goldsimon
|
838c35acf6
|
struct ip_hdr: split u16_t _ttl_proto to u8_t _ttl and u8_t _proto to prevent unnecessary loading and htons
|
2010-02-14 11:42:08 +00:00 |
|
goldsimon
|
c858aa5686
|
Fixed compiler warnings for checksum algorithms 2 and 3
|
2010-02-14 11:40:13 +00:00 |
|
goldsimon
|
b1736b13d7
|
Use checksum algorithm 2 as default as it should be faster than 1 on most (if not all) platforms
|
2010-02-14 11:31:10 +00:00 |
|
goldsimon
|
2e795d2706
|
task #10139 (Prefer statically allocated memory): added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work with user-allocated structs instead of callin mem_malloc
|
2010-02-12 16:42:02 +00:00 |
|
goldsimon
|
b6babe38ea
|
Use braces for if blocks
|
2010-02-12 09:51:30 +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
|
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
|
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 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +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
|
d85a18752f
|
patch #6463 (IGMP - Adding Random Delay): added define LWIP_RAND() for lwip-wide randomization (to be defined in cc.h)
|
2010-01-10 10:47:27 +00:00 |
|
goldsimon
|
f4c0655190
|
Fixed usage of logging levels (bug #27948: Incorrect logging levels used in various places)
|
2009-11-22 15:14:46 +00:00 |
|
goldsimon
|
af3b796488
|
Corrected parameter spelling in doc
|
2009-10-27 20:30:44 +00:00 |
|
goldsimon
|
b4404ff0c8
|
Corrected typo
|
2009-10-18 08:23:05 +00:00 |
|
goldsimon
|
d8d8cf7e98
|
Fixed bug #27390: Source IP check in ip_input() causes it to drop valid DHCP packets -> allow 0.0.0.0 as source address when LWIP_DHCP is enabled
|
2009-10-16 12:39:24 +00:00 |
|
goldsimon
|
2dc027401f
|
Fixed bug #27704: autoip starts with wrong address: LWIP_AUTOIP_CREATE_SEED_ADDR() returned address in host byte order instead of network byte order
|
2009-10-15 14:05:35 +00:00 |
|
goldsimon
|
ddc783bee7
|
Make ip_current_netif() and ip_current_header() a define referring to extern variables to be save the function call.
|
2009-10-07 17:47:05 +00:00 |
|
goldsimon
|
bd2bc2ee14
|
Fixed bug bug #27345: "ip_frag() does not use the LWIP_NETIF_LOOPBACK function" by checking for loopback before calling ip_frag
|
2009-08-30 20:52:43 +00:00 |
|
stoklund
|
d83fc6893b
|
Don't use an AutoIP-configured address on a new network until the address has been configured.
When connecting to a new network with an AutoIP address, take the
interface down until the old address has passed the
AUTOIP_STATE_PROBING state.
|
2009-08-24 13:11:35 +00:00 |
|
goldsimon
|
3a6165f0b9
|
Added missing include to <string.h>
|
2009-08-11 14:38:55 +00:00 |
|
goldsimon
|
62c27f7fce
|
Fixed bug #27155: "'NULL' undeclared in inet_checksum.c"
|
2009-08-03 19:28:35 +00:00 |
|
fbernon
|
ce5699f41b
|
minor changes: typos and coding style
|
2009-07-09 10:21:16 +00:00 |
|
goldsimon
|
e0e9a63e63
|
Corrected function implementation of ip_current_* (void was missing)
|
2009-05-19 18:11:01 +00:00 |
|
goldsimon
|
078e2f60d6
|
bug #26487: Added ip_output_if_opt that can add IP options to the IP header (used by igmp_ip_output_if)
|
2009-05-12 18:00:47 +00:00 |
|
goldsimon
|
c7ce2792c8
|
Fixed compilation if LWIP_PLATFORM_BYTESWAP && (BYTE_ORDER == LITTLE_ENDIAN)
|
2009-05-11 16:11:18 +00:00 |
|
goldsimon
|
105d72a3c2
|
Shrinked ICMP code, added option to NOT check icoming ECHO pbuf for size (just use it): LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN
|
2009-05-09 08:36:36 +00:00 |
|
goldsimon
|
95f6dc7011
|
On little endian architectures, use LWIP_PLATFORM_HTONS (if defined) for SWAP_BYTES_IN_WORD to speed up checksumming.
|
2009-05-06 17:35:50 +00:00 |
|
goldsimon
|
14dba4ae2b
|
Added ip_current_netif() & ip_current_header() to receive extended info about the currently received packet.
|
2009-05-05 17:50:39 +00:00 |
|
fbernon
|
4eda29abf9
|
inet.c: patch #6765: Fix a small problem with the last changes (incorrect behavior, with ip address string not ended by a '\0', a space or a end of line)
|
2009-04-24 12:14:54 +00:00 |
|
goldsimon
|
580f334274
|
patch #6808: Add a utility function ip_hinted_output() (for smaller code mainly)
|
2009-04-15 19:32:01 +00:00 |
|
goldsimon
|
4f52183a39
|
patch #6765: Supporting new line characters in inet_aton()
|
2009-04-15 19:06:39 +00:00 |
|
goldsimon
|
56038b6457
|
Fixed many warnings: use %p to pass pointers to printf
|
2009-02-18 20:37:09 +00:00 |
|
goldsimon
|
96b788bea7
|
patch #6528: the buffer used for IP_FRAG_USES_STATIC_BUF could be too small depending on MEM_ALIGNMENT
|
2009-02-18 16:54:02 +00:00 |
|
goldsimon
|
e001a021d5
|
patch #6539: (configurable) response to broadcast- and multicast pings
|
2009-02-16 20:24:29 +00:00 |
|
jifl
|
878532a30d
|
* ipv4/inet_chksum.c, ipv4/lwip/inet_chksum.h: inet_chksum_pseudo_partial()
is only used by UDPLITE at present, so conditionalise it.
|
2009-01-28 23:58:15 +00:00 |
|
goldsimon
|
9f96f09652
|
Another fix for bug #6683 (and a typo in changelog)
|
2008-12-19 18:16:50 +00:00 |
|
goldsimon
|
aa568727d1
|
patch #6699: fixed some warnings on platform where sizeof(int) == 2
|
2008-12-19 18:08:29 +00:00 |
|
goldsimon
|
6777ae2ada
|
Another modification for patch #6683 (Customizable AUTOIP seed address)
|
2008-12-10 17:08:42 +00:00 |
|
goldsimon
|
2cf3e6e9bc
|
Corrected the range calculation of LWIP_AUTOIP_CREATE_SEED_ADDR, corrected comments
|
2008-12-04 18:34:48 +00:00 |
|
goldsimon
|
491b73d5f2
|
Checked in (slightly modified) patch #6683: Customizable AUTOIP "seed" address. This should reduce AUTOIP conflicts if LWIP_AUTOIP_CREATE_SEED_ADDR is overridden.
|
2008-12-03 15:13:21 +00:00 |
|
goldsimon
|
13a139eef7
|
fixed bug #24517: IP reassembly crashes on unaligned IP headers by packing the struct ip_reass_helper.
|
2008-10-15 18:20:23 +00:00 |
|
goldsimon
|
c93cfb2c74
|
Changed two MEMCPY calls to SMEMCPY
|
2008-06-17 20:16:23 +00:00 |
|