Sylvain Rochet
e8d8c5dcc9
PPP, L2TP: remove useless L2TP state conditions
...
L2TP state can't be anything else than initial state in
pppol2tp_connect, this function is called from PPP core only when PPP
is in the dead phase, if PPP is in the dead phase it means the link
protocol is dead as well.
L2TP can't be anything else than data phase in pppol2tp_xmit, this
function is only called by pppol2tp_write and pppol2tp_netif_output
which are both called by PPP core only when PPP session is up, if
PPP session is UP it means the link protocol is UP as well.
L2TP can't be anything else than data phase in pppol2tp_disconnect,
this function is only called by PPP core only when PPP session is up,
if PPP session is UP it means the link protocol is UP as well.
2016-08-04 23:03:03 +02:00
Sylvain Rochet
bae67915ab
PPP: fix dead phase set too early
...
When we are disconnecting, we should switch to PPP dead phase at the
very end, because this is our final disconnection phase allowing
reconnect, therefore we should switch to dead phase after the link
protocol finished disconnecting.
We are currently switching to dead phase when LCP detected that the link
is down, this is obviously wrong. Fix this flaw by continuing in
disconnect phase until ppp_link_end is called from link protocol.
2016-08-04 22:06:45 +02:00
sg
5f774270b6
minor: tabs -> spaces
2016-08-03 21:25:32 +02:00
David van Moolenbroek
02221cf5dc
Rename IP_HDRINCL to LWIP_IP_HDRINCL
...
In the BSD socket API world, IP_HDRINCL is a socket option for "raw"
sockets that indicates whether sent packets already include an IP
header. Within lwIP, "IP_HDRINCL" is redefined as a special value
that indicates to lwIP-internal functions that an IP header is already
included. While somewhat related, the two meanings are different and,
on platforms that define the IP_HDRINCL socket option, this results in
a conflict. This patch renames the lwIP one to "LWIP_IP_HDRINCL",
thus resolving the conflict.
2016-08-03 20:51:21 +02:00
sg
6383ef88b4
had a look through the docs...
2016-08-03 20:40:52 +02:00
sg
dd110309e5
update some FILES list files
2016-08-03 20:21:54 +02:00
Dirk Ziegelmeier
4c06a737a4
Add redirection page for HTML doxygen output so one does not have to search for index.html in the huge output/html directory
2016-08-03 12:34:17 +02:00
Dirk Ziegelmeier
da83946e75
Add one more documentation sentence in tcp.c
2016-08-03 12:34:16 +02:00
goldsimon
3d379c97ec
IPv6 is NOT experimental any more :-)
2016-08-03 12:28:56 +02:00
goldsimon
018294d287
remove doubled include (tcpip.h)
2016-08-01 09:44:18 +02:00
goldsimon
247d2e97a0
minor: removed trailing spaces
2016-08-01 09:36:15 +02:00
goldsimon
92f385aaed
fixed compiling lowpan6 for NO_SYS==1
2016-08-01 09:35:59 +02:00
Dirk Ziegelmeier
2f7e6d0661
Remove hard reference from netif.c to tcpip.c - avoids pulling in unnecessary code
2016-08-01 09:32:54 +02:00
Dirk Ziegelmeier
e4d75a75ea
Remove accidentally committed file
2016-07-31 20:01:33 +02:00
Dirk Ziegelmeier
501cfbe02b
Document netconn API some more
2016-07-31 16:59:12 +02:00
Dirk Ziegelmeier
a7979d7d24
Document lwIP error codes
2016-07-31 16:08:17 +02:00
Dirk Ziegelmeier
52d6d696ae
Document lwIP version #defines
2016-07-31 16:05:42 +02:00
Dirk Ziegelmeier
e76b8b2551
Document SNMP MIB2 netif stats counters
2016-07-31 16:02:22 +02:00
Dirk Ziegelmeier
d00609257b
Fix doxygen warning in netif.h (forgotten title)
2016-07-31 15:49:32 +02:00
Dirk Ziegelmeier
6cc7f38c99
Fix typo in lwip.Doxyfile
2016-07-30 11:08:05 +02:00
Dirk Ziegelmeier
2c2d11fa4d
Update documentation of netif_input function
2016-07-30 10:40:36 +02:00
Dirk Ziegelmeier
4cb7e31d2d
Add missing #include in netif.c
2016-07-30 10:36:11 +02:00
Dirk Ziegelmeier
0c7d015ec4
Further improvement to netif input function autoselection: Select between netif_input() and tcpip_input() depending on NO_SYS setting
2016-07-30 10:29:14 +02:00
Dirk Ziegelmeier
4b67c582f6
Create netif_input function that decides according to netif flags where to pass an incoming packet.
...
Allow to pass a NULL pointer to netif_add() input function - if so, use the function mentioned above as input function.
2016-07-30 10:19:16 +02:00
Dirk Ziegelmeier
5f9c944da4
Add some netif related macros to docs
2016-07-30 10:06:06 +02:00
goldsimon
b7da649944
sio.h: include opt.h for checking #ifndef's
2016-07-29 08:01:41 +02:00
Dirk Ziegelmeier
90fba8773f
Revert "Fix my messing of opt.h and the other options files - it was actually caused by a cyclic #include which I did not see"
...
It still does not work, due to #undef of options in opt.h, the documentation of many files is incomplete
This reverts commit 3f0dae29e9
.
2016-07-28 23:34:16 +02:00
Dirk Ziegelmeier
3f0dae29e9
Fix my messing of opt.h and the other options files - it was actually caused by a cyclic #include which I did not see
...
Read the comments inside opt.h if you are interested.
2016-07-28 18:59:36 +02:00
Dirk Ziegelmeier
9fb9033815
Move MIB compiler to contrib, it's a better place for it
2016-07-28 14:33:15 +02:00
Dirk Ziegelmeier
8c620d9206
Restructure IPv6 config options
...
Add generate.bat to generate docs quickly under Windows OS
2016-07-28 09:21:16 +02:00
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
23cf45d252
d'oh! (fixed messed-up timeouts.h)
2016-07-27 21:48:29 +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
sg
a326b057b3
Fix bug #48568 (timeouts does not support late firing properly) by assuming sys_check_timeouts() jitter can' be too bad
2016-07-27 21:17:15 +02:00
Dirk Ziegelmeier
1bb2539f74
Make options documentation a child of lwIP section
2016-07-27 20:49:19 +02:00
Dirk Ziegelmeier
b14032c531
Fix doxygen warning in opt.h
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
70927892e1
Fix doxygen warning about debug parameters in memp.c
...
Remove documentation from them, it is not important
2016-07-27 20:34:23 +02:00
Dirk Ziegelmeier
0e6f2049ad
Minor main_page.h cosmetics
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