lwip/src/core/ipv4
Dirk Ziegelmeier 6aed6e659f Rework DHCP PCB handling: Old code registered one UDP PCB per netif where DHCP was active and there was a special case in udp_input() for this. New implementation uses one PCB for all netifs and removes special case in udp_input().
The old approach called udp_bind() on each of the PCBs, which puts them into udp_pcbs list. The PCBs were iterated on all non-DHCP udp_inputs() with no effect.
My cleanup removes the special handling in udp.c, and uses only one DHCP UDP PCB to catch all DHCP messages from all netifs. The dhcp_recv function then checks whether ip_current_input_netif() has DHCP enabled - if not, the message is ignored. The PCB is only created/registered when one or more PCBs have DHCP enabled.
2016-02-29 19:31:19 +01:00
..
autoip.c minor/coding style: removed spaces before line ending (from file header) 2015-10-06 21:13:15 +02:00
dhcp.c Rework DHCP PCB handling: Old code registered one UDP PCB per netif where DHCP was active and there was a special case in udp_input() for this. New implementation uses one PCB for all netifs and removes special case in udp_input(). 2016-02-29 19:31:19 +01:00
icmp.c No need for dual-stack code in ip4.c and icmp.c -> use ip4 only versions 2016-02-26 22:50:20 +01:00
igmp.c igmp: Optimize the implementation of igmp_start_timer 2015-12-06 21:47:09 +01:00
ip4_addr.c minor: fixed coding style (lwip style) 2015-10-07 10:03:12 +02:00
ip4.c Cleanup: Create new file ip.c and move dual-stack code from ipv4 and ipv6 folder in there 2016-02-26 23:04:51 +01:00
ip_frag.c ip_frag: fix compiler warnings, unused variable 2016-01-18 11:55:54 +01:00