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 |
|
likewise
|
a5148c14a1
|
Fixed use of struct ip_addr in DHCP header.
|
2004-04-30 01:00:21 +00:00 |
|
likewise
|
d91b54882a
|
Fixed #ifdef LWIP_DHCP to #if LWIP_DHCP.
|
2004-04-16 22:36:48 +00:00 |
|
likewise
|
9106a1f2d5
|
Fixed #ifdef LWIP_DHCP position. Fixed extranous comma in function arguments.
|
2004-04-16 22:34:25 +00:00 |
|
likewise
|
82f852abf3
|
Fix cyclic dependencies by careful re-ordering of #includes.
This is really nasty. Can we forward-declare pointers to structs?
|
2004-03-12 00:10:07 +00:00 |
|
likewise
|
79c7a7a43d
|
Using udp_sendto() where appropriate.
|
2004-03-11 20:25:35 +00:00 |
|
likewise
|
7bfea6edb7
|
Applied Ian Wienand's patches (4-2-2004). Was partly applied earlier.
|
2004-02-16 21:33:42 +00:00 |
|
likewise
|
e1c4bfad05
|
Merged from DEVEL, except for the API change in etharp.c.
|
2004-02-07 00:30:03 +00:00 |
|
likewise
|
19eed5ff8a
|
Applied dhcp.diff by Ian Wienand on lwip-devel on February 4th 2004.
DHCP tries to build even if LWIP_DHCP is turned off.
|
2004-02-06 23:43:44 +00:00 |
|
uid67528
|
eed8ea5bc1
|
Merged from DEVEL. etharp prepared for queueing feature. DHCP fix.
|
2003-12-28 02:38:51 +00:00 |
|
likewise
|
93dfcdce93
|
Fixes wrongly cast LWIP_DEBUGF arguments (patch #1596 and more).
|
2003-06-11 22:34:51 +00:00 |
|
likewise
|
ba786dc49b
|
Applied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
(printf expects integers on the var args stack)
|
2003-06-11 22:11:42 +00:00 |
|
kieranm
|
8014551908
|
Changed DEBUGF to LWIP_DEBUGF
|
2003-06-10 10:45:29 +00:00 |
|
likewise
|
df99ce9d98
|
Replaced all tabs with two spaces (regardless of indentation is correct).
|
2003-06-09 21:14:47 +00:00 |
|
likewise
|
cf7054dff2
|
Merging some fixes that had been committed into STABLE.
|
2003-05-20 09:49:04 +00:00 |
|
likewise
|
b8eeee5528
|
dhcp_recv() left dangling dhcp->p pointer in case of unexpected message.
This could result in pbuf_free() assertion (ref count 0) or crashes.
|
2003-05-20 09:04:10 +00:00 |
|
likewise
|
cda867d52b
|
Applied patches posted by Marc Boucher on lwip-users May 18th 2003.
|
2003-05-18 22:29:10 +00:00 |
|
likewise
|
6c907ce8d1
|
Patch #1308. Still disabled, as it needs to make sure no file field is not overloaded.
|
2003-05-01 08:00:41 +00:00 |
|
likewise
|
710ac00024
|
dhcp_inform() did not set and unset netif->dhcp. always generated assert failure.
|
2003-04-15 12:37:06 +00:00 |
|
likewise
|
a96a12ed1f
|
Prevent warnings about unused function arguments.
|
2003-04-15 11:27:52 +00:00 |
|