[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 4bbfc3857afe7afdaf05c7b151f506b668e2e995 |
Date: |
Mon, 29 Feb 2016 18:32:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".
The branch, master has been updated
via 4bbfc3857afe7afdaf05c7b151f506b668e2e995 (commit)
via 5404ce3c0ab7ad1cea00c38c25077cf0d725cef2 (commit)
via 2289673a30eee2bb932de198a5271836ddae3765 (commit)
via 6aed6e659f8258ef0d1618e39ca50a73e9415ed3 (commit)
from 42c92f80f1bfe7c4f4bc261b5e741090754b5122 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4bbfc3857afe7afdaf05c7b151f506b668e2e995
Author: Dirk Ziegelmeier <address@hidden>
Date: Sun Feb 28 21:47:45 2016 +0100
Implement dual-stack in SNMP for netconn API
commit 5404ce3c0ab7ad1cea00c38c25077cf0d725cef2
Author: Dirk Ziegelmeier <address@hidden>
Date: Sun Feb 28 21:42:33 2016 +0100
Implement support for UDP IP_ANY_TYPE in netconn API
commit 2289673a30eee2bb932de198a5271836ddae3765
Author: Dirk Ziegelmeier <address@hidden>
Date: Sun Feb 28 21:35:54 2016 +0100
Implement support for IP_ANY_TYPE in SNMP
commit 6aed6e659f8258ef0d1618e39ca50a73e9415ed3
Author: Dirk Ziegelmeier <address@hidden>
Date: Sun Feb 28 15:31:00 2016 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
src/api/api_msg.c | 10 ++-
src/apps/snmp/snmp_core.c | 25 +++++++-
src/apps/snmp/snmp_netconn.c | 4 +-
src/core/ipv4/dhcp.c | 132 ++++++++++++++++++++++++++----------------
src/core/udp.c | 103 +++++++++++++--------------------
src/include/lwip/api.h | 21 +++++--
src/include/lwip/dhcp.h | 4 +-
7 files changed, 171 insertions(+), 128 deletions(-)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 4bbfc3857afe7afdaf05c7b151f506b668e2e995,
Dirk Ziegelmeier <=