goldsimon
b4efa33b7c
Removed the LWIP_HAVE_SLIPIF option: either the linker removes it when not used or you'll have to not compile it
2016-07-28 09:02:19 +02:00
Dirk Ziegelmeier
71dc8f8f53
opt.h loopback options cleanup
2016-07-28 09:00:37 +02:00
Dirk Ziegelmeier
161ee4f4b2
Work on opt.h hierarchy
2016-07-28 08:47:51 +02:00
Dirk Ziegelmeier
eac1005c9c
Start to add hierarchy to opt.h doxygen docs
2016-07-28 08:41:21 +02:00
Dirk Ziegelmeier
b0284a6927
Move definition of options group from main_page.h to opt.h - it's more consistent like that
2016-07-28 08:27:49 +02:00
goldsimon
bdaec1691e
doxygen: put the new timer defines into their own section
2016-07-28 08:20:18 +02:00
goldsimon
5bcaefddd4
lwiperf: improved documentation, removed unused enum members
2016-07-28 08:07:02 +02:00
Dirk Ziegelmeier
f7e12d835c
Add NETBIOSNS options to doxygen docs
2016-07-28 08:05:57 +02:00
Dirk Ziegelmeier
93ad162aa6
Add SNMP and HTTPD options to doxygen docs
2016-07-28 08:03:32 +02:00
Dirk Ziegelmeier
f322e782f8
Add SNTP options to doxygen docs
2016-07-28 07:48:46 +02:00
sg
56102c1b1c
fixed messed-up opt.h
2016-07-27 21:47:36 +02:00
sg
53dc94d570
added LWIP_TIMERS_CUSTOM to override the default implementation of timeouts
2016-07-27 21:46:16 +02:00
Dirk Ziegelmeier
b14032c531
Fix doxygen warning in opt.h
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
b2b1ec14f5
Make hook macros visible to doxygen
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
a39c040571
opt.h documentation cosmetics
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
d89378e3f8
opt.h documentation cleanups
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
63fdb3bb62
Document opt.h - due to a bad bug in doxygen, I had to litter the whole file with "|| __DOXYGEN__" to make it work :-(
...
Doxygen does not handle #ifndef foo #define foo #endif properly. It does not see the #define foo inside.
If someone has objections or a fix for it, please tell me.
2016-07-27 20:34:23 +02:00
sg
8ece46d5d2
snmp threadsync_data: "u8" -> "err" (typedef snmp_err_t is an enum, not u8_t)
2016-07-27 20:28:39 +02:00
Dirk Ziegelmeier
eb3261d6e0
Add some more TCP RAW API functions to documentation
2016-07-27 13:46:54 +02:00
Dirk Ziegelmeier
0b5c393361
Improve documentation grouping in sys abstraction layer
2016-07-27 13:16:24 +02:00
Dirk Ziegelmeier
ccc830c99c
Work on lwIP documentation
2016-07-27 13:03:36 +02:00
Dirk Ziegelmeier
6b524367a3
Documentation review with Simon, minor changes
2016-07-27 08:05:38 +02:00
Dirk Ziegelmeier
6bce7509f7
Fix doxygen warning in sys.h due to wrong @ref
2016-07-26 23:17:07 +02:00
Dirk Ziegelmeier
4a7d07a2e0
Document netdb API, add socket functions implemented by lwip to documentation, just for reference
2016-07-26 22:06:54 +02:00
Dirk Ziegelmeier
7f43fcab71
Document system abstraction layer in doxygen module style
2016-07-26 20:03:04 +02:00
Dirk Ziegelmeier
c7e20150f0
Update and restructure docs of some lwip core functions
2016-07-26 19:42:16 +02:00
Dirk Ziegelmeier
c6831648e2
Document apps in doxygen module style, create more top-level categories to structure documentation
2016-07-26 19:30:05 +02:00
Dirk Ziegelmeier
8a9de94b1f
Restructure documentation. Create two top-level sections for thread-safe and callback-style APIs.
2016-07-26 18:39:53 +02:00
Dirk Ziegelmeier
dc0859b8d1
Document DHCP and AUTOIP API in doxygen module style
2016-07-26 18:10:05 +02:00
Dirk Ziegelmeier
9c10daba93
Document netif API in doxygen module style
2016-07-26 17:53:07 +02:00
Dirk Ziegelmeier
0fea2bc02e
Document netconn API in doxygen module style
2016-07-26 17:40:55 +02:00
Dirk Ziegelmeier
ce19c59bb2
Document ip address function in doxygen module style
2016-07-26 17:11:01 +02:00
Dirk Ziegelmeier
bd79f6c055
Document DNS, memory pools and PBUFs as modules
2016-07-26 16:40:13 +02:00
goldsimon
e030118750
moved MEM_LIBC_MALLOC code from mem.h to mem.c:
...
- it's not worth littering mem.h just to save some bytes to prevent the additional call;
- MEM_STATS now also work when MEM_LIBC_MALLOC is enabled
2016-07-26 15:02:36 +02:00
Dirk Ziegelmeier
59295be4ef
Some more RAW API documentation updates
...
Improve structure of documentation: PPP is now a module, too
2016-07-26 13:53:59 +02:00
Dirk Ziegelmeier
a62e4452a2
Work on patch #9044 : SNMP response for failed get operation
...
Inspired by Marco Veeneman. Change signature of get_value function to return s16_t, where values <0 indicate an error. This is mapped to SNMP_ERR_GENERROR.
2016-07-26 12:59:26 +02:00
goldsimon
fb75f48751
Make lwip_cyclic_timers[] const
2016-07-26 09:08:29 +02:00
sg
00598b0b46
fix mem stats for MEM_USE_POOLS==1
2016-07-25 22:08:32 +02:00
sg
4f5ff37c5d
fixed bogus compiler error for MEM_USE_POOLS==1 and MEMP_USE_CUSTOM_POOLS==0
2016-07-25 21:43:45 +02:00
Dirk Ziegelmeier
80be1a6bf8
Add links to new documentation pages in the relevant files
2016-07-25 08:20:39 +02:00
Dirk Ziegelmeier
d75ece2505
Add some of the .txt files in /doc subdir to doxygen documentation
2016-07-25 08:16:39 +02:00
sg
194d624077
Finished aborted sentence on comment about NO_SYS :-)
2016-07-21 22:22:36 +02:00
sg
de9054cb7a
memp: cleaned up MEMP_MEM_MALLOC:
...
- support memp stats when MEMP_MEM_MALLOC==1 (bug #48442 );
- hide MEMP_MEM_MALLOC in memp.c instead of messing up the header file;
- make MEMP_OVERFLOW_CHECK work when MEMP_MEM_MALLOC==1
2016-07-21 22:17:32 +02:00
sg
6e6ce4fb78
Make SYS_LIGHTWEIGHT_PROT==1 the default since it's more often used like that and it's more safe as default; improved some option's comments
2016-07-21 22:10:02 +02:00
Sylvain Rochet
764343ebc7
Revert "PPP: restore PPPoE devices without Ethernet ARP support, i.e. PPPoE only devices"
...
This reverts commit d43c092f171e683028e184af56333dab9ce79fcb.
We don't actually need it, init.c is including ppp_opts.h and is doing
the following:
#if !LWIP_ETHERNET && (LWIP_ARP || PPPOE_SUPPORT)
#error "LWIP_ETHERNET needs to be turned on for LWIP_ARP or PPPOE_SUPPORT"
#endif
so the LWIP_ETHERNET fixup is not necessary per se, compatibility with
previously used lwipopts.h files is broken but at least user is warned.
2016-07-21 13:53:43 +02:00
Sylvain Rochet
d43c092f17
PPP: restore PPPoE devices without Ethernet ARP support, i.e. PPPoE only devices
...
Ethernet support is required for PPPoE but Ethernet support is only set
by default in opt.h if ARP is enabled, which is wrong because the right
condition is ARP and/or PPPoE, unfortunately PPPOE_SUPPORT can't be used
in opt.h because it is not defined if ppp_opts.h is not included before
opt.h in user code.
Fixup the LWIP_ETHERNET configuration value in ppp_opts.h in order to
force Ethernet support if PPPoE is enabled.
Fixes: 3ad2ad2329 ("Remove reference to PPPOE_SUPPORT in opt.h - leads
to compile errors because it has no default definition (only in
ppp_opts.h)"
2016-07-21 13:19:04 +02:00
Dirk Ziegelmeier
9cc3fb2e63
Fix comment in opt.h
2016-07-21 12:58:03 +02:00
Dirk Ziegelmeier
3ad2ad2329
Remove reference to PPPOE_SUPPORT in opt.h - leads to compile errors because it has no default definition (only in ppp_opts.h)
2016-07-21 12:53:33 +02:00
goldsimon
e8ffac852e
Fixed bug #48551 (autoip_supplied_address() does not work when address is first assigned); fixed AutoIP timeouts
2016-07-20 08:28:16 +02:00
sg
24a339a609
autoip: made private things private, use etharp_* shortcuts instead of etharp_raw()
2016-07-19 22:27:20 +02:00