goldsimon
306171c93b
DHCP: fixed compiling LWIP_DHCP_BOOTP_FILE==1
2016-08-23 15:25:39 +02:00
goldsimon
d99d91dae9
removed ETHARP_TRUST_IP_MAC since it is insecure and we don't need it any more after implementing unicast ARP renewal towards arp entry timeout
2016-08-23 13:00:15 +02:00
Dirk Ziegelmeier
0d5eea288c
Clarify LWIP_HOOK_UNKNOWN_ETH_PROTOCOL in opt.h
2016-08-23 12:54:29 +02:00
Dirk Ziegelmeier
f170dde1c6
Work on bug #48824 : ethernet.c extensions: Implement hook for unknown ethernet protocols
2016-08-23 10:48:38 +02:00
Dirk Ziegelmeier
bae4d6398c
Fix some comments to reference ethernet_output now
2016-08-23 10:23:59 +02:00
Dirk Ziegelmeier
18136c047b
Work on bug #48824 : ethernet.c extensions: Implement ethernet_output();
...
Fixes bug #48862 : ethip6 does not support setting vlan
2016-08-23 10:15:03 +02:00
goldsimon
6b1e1af3d1
combine MAC filter actions for IGMP and MLD6 (IGMP has compatibility defines for old code, MLD6 filter functions must be adapted)
2016-08-19 13:54:14 +02:00
Dirk Ziegelmeier
730080f20e
Fix doxygen comment in lwip/prot/igmp.h
2016-08-19 13:15:23 +02:00
goldsimon
a189941da6
make igmp/mld6 filter actions an enum and define them in netif.h where the callback function prototypes are defined
2016-08-19 13:10:57 +02:00
Dirk Ziegelmeier
f93a6e3310
Rename lwip/prot/arp.h to lwip/prot/etharp.h for consistence
2016-08-19 13:09:58 +02:00
Dirk Ziegelmeier
01d8e5013f
Add missing include in prot/igmp.h
2016-08-19 13:02:17 +02:00
Dirk Ziegelmeier
6688033bc4
Move IGMP protocol struct to prot/igmp.h
2016-08-19 12:50:41 +02:00
goldsimon
ed566cceaa
minor cleaup in (eth)arp
2016-08-19 12:49:02 +02:00
Dirk Ziegelmeier
12609c951c
Fix compile of SNMPv3 code with MSVC
2016-08-19 12:22:58 +02:00
goldsimon
1e6f33d44b
tcp: move tcp header flags definitions to 'prot'
2016-08-19 10:41:01 +02:00
goldsimon
96c3c48ba7
mdns: moved private things into mdns_priv.h
2016-08-19 09:52:30 +02:00
goldsimon
14fb48cd7a
minor: whitespace cleanups
2016-08-19 09:41:34 +02:00
goldsimon
9725a496b5
moved 2 enums from 'prot' headers to where they belong (dns, dhcp)
2016-08-19 09:41:33 +02:00
Dirk Ziegelmeier
967516aa40
Add #include to netif/ethernet.h to netif/etharp.h to maintian compatibility
2016-08-19 09:15:35 +02:00
Dirk Ziegelmeier
8eb9db18a2
Reduce usage of netif/ethernet.h header, mostly lwip/prot/ethernet.h is sufficient
2016-08-19 08:36:00 +02:00
sg
43d6812b3e
IPv6 addr: clarify tentative count/LWIP_IPV6_DUP_DETECT_ATTEMPTS
2016-08-18 22:02:57 +02:00
Dirk Ziegelmeier
c4e3be814f
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
ARP
2016-08-18 20:58:51 +02:00
Dirk Ziegelmeier
ad357a4c89
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
ICMP
2016-08-18 20:55:09 +02:00
Dirk Ziegelmeier
2d503f4433
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
ICMP6
2016-08-18 20:52:00 +02:00
Dirk Ziegelmeier
458211c2af
Comment fixes in my last commits
2016-08-18 20:41:39 +02:00
Dirk Ziegelmeier
84e139f20c
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
IP6
2016-08-18 20:40:15 +02:00
Dirk Ziegelmeier
81c68f529b
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
MLD6
2016-08-18 20:36:44 +02:00
Dirk Ziegelmeier
f299b4b7cf
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
Ethernet
2016-08-18 20:33:38 +02:00
Dirk Ziegelmeier
8d68400387
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
ND6
2016-08-18 20:28:03 +02:00
Dirk Ziegelmeier
d89fa2dcbc
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
UDP
2016-08-18 20:22:35 +02:00
Dirk Ziegelmeier
16293125a6
Work on bug #48728 : headers should cleanly separate API vs. implementation
...
TCP
2016-08-18 20:22:14 +02:00
Dirk Ziegelmeier
7f60cb3889
Improve netif client data API for lwIP internal clients - these can use a compile-time constant to access their data now
2016-08-18 12:37:21 +02:00
Dirk Ziegelmeier
a262a2f252
MDNS: Add callback to be called manually when IP has changed to announce new IP
2016-08-18 10:59:08 +02:00
Dirk Ziegelmeier
fa6a2d48cc
Fix DHCP unit test after my last changes
2016-08-18 06:09:02 +02:00
Dirk Ziegelmeier
c62bfd8146
Port AUTOIP to new netif client data API
2016-08-17 21:26:08 +02:00
Dirk Ziegelmeier
1db9631e7d
Port DHCP to new netif client data API
2016-08-17 21:04:44 +02:00
Dirk Ziegelmeier
c28fb298b7
Introduce an API to store arbitrary data pointers in struct netif
...
Let MDNS to use the new API
TODO: AutoIP, DHCP
2016-08-17 16:37:15 +02:00
Dirk Ziegelmeier
2a90f33757
MDNS responder: two functions can take struct mdns_host instead of netif as argument
2016-08-17 12:32:33 +02:00
Dirk Ziegelmeier
efb7b3d5f8
Rename LWIP_MDNS to LWIP_MDNS_RESPONDER
2016-08-17 12:07:38 +02:00
Dirk Ziegelmeier
02d51e3ac5
Add missing file doxygen header in two mdns files
2016-08-16 09:46:19 +02:00
Dirk Ziegelmeier
858287fc3a
MDNS: Fix several MSVC warnings
2016-08-16 08:33:16 +02:00
Dirk Ziegelmeier
af6b707e9a
mdns_opts.h: Add missing include lwip/opt.h
2016-08-16 08:28:59 +02:00
Dirk Ziegelmeier
ab72ed8517
Fix options #include in mdns code
2016-08-16 08:22:41 +02:00
Dirk Ziegelmeier
b472648e40
Fix wrong copyright header in mdns_opts.h
2016-08-14 15:36:41 +02:00
Dirk Ziegelmeier
a2894ede1c
MDNS: make a few arguments const where suitable
2016-08-14 15:31:49 +02:00
Erik Ekman
4919932c49
Apply patch #8755 : Multicast DNS responder support from Erik Ekman
2016-08-14 15:07:45 +02:00
Sylvain Rochet
4af297fc20
PPP: fix don't print valid LCP echo request/reply packets if the link is up
...
The check for link up was missing, meaning valid LCP echo request/reply
packets are filtered whatever the PPP state is, despite what the comment
says.
Fix it by checking the PPP state as we would like to have done when it
was written.
2016-08-13 16:02:38 +02:00
Dirk Ziegelmeier
5493220c93
Move DNS protocol structs to separate header. Needed for Erik Ekman's MDNS implementation.
2016-08-13 09:05:28 +02:00
Dirk Ziegelmeier
6dcb2b2415
Work on bug #48730 : Enums should be used instead of multiple defines (where applicable)
2016-08-12 22:51:43 +02:00
Dirk Ziegelmeier
b34baff546
Convert state #defines in autoip.h and dhcp.h to enums. May be useful in *_state structs to simplify debugging in the future.
2016-08-11 21:04:39 +02:00