goldsimon
|
9317105c37
|
Addition to patch #6721, bug #25575: call autoip_stop in dhcp_stop if in coop-mode
|
2009-05-02 15:40:39 +00:00 |
|
goldsimon
|
3b5993e6ee
|
Integrated patch #6721: new option to adjust the time when DHCP gives over to AUTOIP and some improvements in DHCP/AUTOIP cooperation
|
2009-04-28 19:29:46 +00:00 |
|
goldsimon
|
620b3e6739
|
task #9192: mem_free of dhcp->options_in and dhcp->msg_in
|
2009-04-15 19:53:59 +00:00 |
|
goldsimon
|
a55f354687
|
patch #6763: Global DHCP XID can be redefined to something more unique
|
2009-04-15 18:48:10 +00:00 |
|
goldsimon
|
9630c9136b
|
patch #6764: DHCP rebind and renew did not send hostnam option; Converted constant OPTION_MAX_MSG_SIZE to netif->mtu, check if netif->mtu is big enough in dhcp_start
|
2009-04-15 18:35:04 +00:00 |
|
goldsimon
|
bf09400c4c
|
fixed bug #25345 (DHCPDECLINE is sent with "Maximum message size" option)
|
2009-02-12 16:16:25 +00:00 |
|
goldsimon
|
6472e3b35e
|
fixed bug #24480 (releasing old udp_pdb and pbuf in dhcp_start)
|
2009-02-11 20:27:00 +00:00 |
|
goldsimon
|
9ccd31a12e
|
fixed bug #22804: dhcp_stop doesn't clear NETIF_FLAG_DHCP (flag now cleared)
|
2008-04-15 17:24:54 +00:00 |
|
fbernon
|
9b92f4c882
|
dhcp.c: minor change for coding style
|
2008-03-04 14:25:58 +00:00 |
|
kieranm
|
42344ce20c
|
2008-03-04 Kieran Mansley (contributions by others)
* Numerous small compiler error/warning fixes from contributions to
mailing list after 1.3.0 release candidate made.
|
2008-03-04 13:41:23 +00:00 |
|
fbernon
|
bfd96264e6
|
Minor changes: fix warning in dhcp_unfold_reply when LWIP_DEBUG=0
|
2008-01-21 16:55:26 +00:00 |
|
fbernon
|
de4b9b584c
|
Fix DHCP build problem.
|
2008-01-06 22:07:03 +00:00 |
|
jifl
|
bf924118de
|
* dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP
address entirely on receiving a DHCPNAK, and restarting discovery.
|
2008-01-06 21:09:11 +00:00 |
|
goldsimon
|
081e4d9209
|
Minor change: use goto instead of redundant code to return on error in dhcp_rev().
|
2007-12-02 14:40:32 +00:00 |
|
goldsimon
|
b4741332e0
|
Implemented new function udp_sendto_if which takes the netif to send as an argument (to be able to send on netifs that are down).
|
2007-11-27 20:13:16 +00:00 |
|
goldsimon
|
511cdfb951
|
Minor coding style changes, added some comments
|
2007-11-25 14:23:59 +00:00 |
|
goldsimon
|
1b208d0954
|
dhcp_unfold_reply() uses pbuf_copy_partial instead of its own copy algorithm; corrected some assert messages
|
2007-11-25 11:51:44 +00:00 |
|
fbernon
|
8c0e6de00a
|
fix DNS problem with pbuf chain.
|
2007-11-18 20:54:44 +00:00 |
|
fbernon
|
8ff1194b6a
|
Changes on DNS client. Add multiples dns servers support.
|
2007-11-18 20:30:12 +00:00 |
|
fbernon
|
0c0e8d6544
|
opt.h, init.c, tcpip.c, dhcp.c, dns.h, dns.c: add DNS client for simple name requests with RAW api interface. Initialization is done in lwip_init() with build time options. DNS timer is added in tcpip_thread context. DHCP can set DNS server ip addresses when options are received. You need to set LWIP_DNS=1 in your lwipopts.h file (LWIP_DNS=0 in opt.h). DNS_DEBUG can be set to get some traces with LWIP_DEBUGF. Sanity check have been added. There is a "todo" list with points to improve.
|
2007-11-14 23:27:13 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
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.
|
2007-09-07 23:01:59 +00:00 |
|
fbernon
|
9152d6671c
|
Comments Fix for Doxygen documentation
|
2007-08-09 22:21:44 +00:00 |
|
goldsimon
|
eb875de67e
|
Added assertions where PBUF_RAM pbufs are used and an assumption is made that this pbuf is in one piece (i.e. not chained). These assumptions clash with the possibility of converting to fully pool-based pbuf implementations, where PBUF_RAM pbufs might be chained.
|
2007-07-03 20:28:35 +00:00 |
|
goldsimon
|
bb9e9e5480
|
Changed the expression of LWIP_ERROR to the same as for LWIP_ASSERT
|
2007-06-22 20:50:21 +00:00 |
|
fbernon
|
ec7333d406
|
Some changes for AutoIP integration in tcpip.c, and some comments.
|
2007-06-19 10:11:27 +00:00 |
|
fbernon
|
6a40426421
|
Minor fix: warning, type... for patch #5952 : Integration of AutoIP module
|
2007-06-18 21:45:34 +00:00 |
|
goldsimon
|
6784fd64f3
|
Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1
|
2007-06-17 15:20:21 +00:00 |
|
goldsimon
|
ced2543be0
|
Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1
|
2007-06-17 14:39:50 +00:00 |
|
fbernon
|
e01f342048
|
Contrib module by Dominik Spies: autoip.h, autoip.c, dhcp.h, dhcp.c, netif.h, netif.c, etharp.h, etharp.c, opt.h: AutoIP implementation available for IPv4, with new options LWIP_AUTOIP and LWIP_DHCP_AUTOIP_COOP if you want to cooperate with DHCP. Some tips to adapt (see TODO mark in the source code).
|
2007-06-09 16:57:04 +00:00 |
|
goldsimon
|
f6bdd2cae4
|
Introduced #define LWIP_UNUSED_ARG(x) use this for and architecture-independent form to tell the compiler you intentionally are not using this variable. Can be overriden in cc.h.
|
2007-04-04 19:54:22 +00:00 |
|
goldsimon
|
2f53df93e8
|
Removed printf formatter warning introduced by last check-in (changed local variable from u32_t to u16_t)
|
2007-04-02 20:34:18 +00:00 |
|
fbernon
|
5368a760cf
|
most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with others environment defines (these were too "generic").
|
2007-03-30 08:47:04 +00:00 |
|
fbernon
|
c1fe7517ec
|
opt.h, netif.h, dhcp.h, dhcp.c: New configuration option LWIP_NETIF_HOSTNAME allow to define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded string, point on one of your's ethernetif field, or alloc a string you will free yourself). It will be used by DHCP to register a client hostname, but can also be use when you call snmp_set_sysname.
|
2007-03-28 09:39:12 +00:00 |
|
goldsimon
|
7aea2cd6f1
|
Remove warnings: "converting from 'u32_t' to 'u16_t': possible loss of data": check that received timeout values fit into u16_t.
|
2007-03-26 18:52:52 +00:00 |
|
goldsimon
|
c9df03d1a9
|
Remove warnings: "comparision between signed and unsigned" and "converting from 'unsigned long' to 'u8_t': possible loss of data"
|
2007-03-26 17:15:23 +00:00 |
|
christiaans
|
36e6c26545
|
Included xid to some DEBUGFs.
|
2006-12-01 13:52:07 +00:00 |
|
christiaans
|
9a68f74857
|
Fixed false triggers of request_timeout.
|
2006-11-30 16:25:43 +00:00 |
|
christiaans
|
d4b6471d39
|
Replaced tabs with space.
|
2006-11-17 10:51:13 +00:00 |
|
curtmcd
|
dd314e1bdf
|
Fix incorrect calculation of dhcp->dns_count.
Comment out unused static dhcp_get_option_short() to avoid warning.
|
2006-06-08 00:16:56 +00:00 |
|
christiaans
|
e1b215aa73
|
Introduced cc.h formatters and removed SO_REUSE from transport layers.
|
2005-11-25 12:03:38 +00:00 |
|
likewise
|
8579e4144f
|
More robust DHCP ARP reply checking.
|
2005-01-24 23:02:29 +00:00 |
|
likewise
|
fab107a9df
|
DECLINE message was unicast instead of broadcast
|
2004-11-25 11:10:53 +00:00 |
|
likewise
|
791fa28817
|
Removed static declaration of dhcp_release().
|
2004-11-04 19:19:29 +00:00 |
|
likewise
|
0ad7ea16d2
|
Bring interface up/down with netif_set_up/down(). Fixes bug 10547.
|
2004-10-14 11:57:53 +00:00 |
|
likewise
|
fb5452910f
|
I hate it when it takes twice to fix a typo
|
2004-07-22 22:10:17 +00:00 |
|
likewise
|
a6d37fcb25
|
Removed copy-paste errors.
|
2004-07-22 22:07:00 +00:00 |
|
likewise
|
786cbee510
|
Support for learning DNS servers through DHCP.
|
2004-07-22 21:56:09 +00:00 |
|
likewise
|
7524893802
|
Dependencies on C library memset() etc., so include <string.h>.
|
2004-07-04 23:43:38 +00:00 |
|
likewise
|
07f52b4b96
|
Fixed compile errors.
|
2004-06-30 22:14:03 +00:00 |
|
likewise
|
c3284c30cd
|
Make restarting() DHCP on on interface more robust by cleaning old state information.
|
2004-06-30 18:42:33 +00:00 |
|