[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Joel Cunningham |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-234-g1b20e66 |
Date: |
Fri, 20 Jan 2017 20:16:54 +0000 (UTC) |
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 1b20e664bfb93dc6a1dcc467103a4db7f1e24ede (commit)
via 9c80a6625344768572777accbe77ac968c10250f (commit)
from 645ca84704db70f6dd29aefdec7bfbf6d9fc01f4 (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 1b20e664bfb93dc6a1dcc467103a4db7f1e24ede
Author: Joel Cunningham <address@hidden>
Date: Thu Jan 19 21:38:46 2017 -0600
Task #14314: Add interface name/index APIs
This commit adds the following sets of interface name/index APIs:
Interface Identification APIs from RFC 3493:
* lwip_if_nametoindex (COMPAT macro if_nametoindex)
* lwip_if_indextoname (COMPAT macro if_indextoname)
netifapi:
* netifapi_netif_name_to_index
* netifapi_netif_index_to_name
netif:
* netif_name_to_index
* netif_index_to_name
* netif_num_to_index
* netif_index_to_num
commit 9c80a6625344768572777accbe77ac968c10250f
Author: Joel Cunningham <address@hidden>
Date: Fri Jan 20 13:52:11 2017 -0600
Netif: add netif_num overflow assert
This commit adds an LWIP_ASSERT to detect when netif_num overflows and
we no longer have unique numbers per netif. Unique netif numbers are
needed to support interface indexes (task #14314)
The only cases where this could occur are with a deployment that attempts
to use the maximum 256 netifs at the same time or where netifs are being
constantly adding and removed. Neither of these use cases fit the
lightweight goals of LwIP
See discussion in task #14314 for more details
-----------------------------------------------------------------------
Summary of changes:
src/Filelists.mk | 1 +
src/{include/lwip/dhcp6.h => api/if.c} | 51 +++++++++-----
src/api/netifapi.c | 95 ++++++++++++++++++++++++++
src/core/netif.c | 51 ++++++++++++++
src/{core/ipv6/dhcp6.c => include/lwip/if.h} | 26 ++++---
src/include/lwip/netif.h | 8 +++
src/include/lwip/netifapi.h | 14 ++++
COPYING => src/include/posix/net/if.h | 12 ++--
8 files changed, 223 insertions(+), 35 deletions(-)
copy src/{include/lwip/dhcp6.h => api/if.c} (65%)
copy src/{core/ipv6/dhcp6.c => include/lwip/if.h} (68%)
copy COPYING => src/include/posix/net/if.h (91%)
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. master_at_STABLE-2_0_0-234-g1b20e66,
Joel Cunningham <=