mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-18 06:06:57 +08:00
bug #42998: made NETIF_MAX_HWADDR_LEN overridable for some special networks
This commit is contained in:
@@ -60,9 +60,12 @@ extern "C" {
|
||||
/* Throughout this file, IP addresses are expected to be in
|
||||
* the same byte order as in IP_PCB. */
|
||||
|
||||
/** must be the maximum of all used hardware address lengths
|
||||
across all types of interfaces in use */
|
||||
/** Must be the maximum of all used hardware address lengths
|
||||
across all types of interfaces in use.
|
||||
This does not have to be changed, normally. */
|
||||
#ifndef NETIF_MAX_HWADDR_LEN
|
||||
#define NETIF_MAX_HWADDR_LEN 6U
|
||||
#endif
|
||||
|
||||
/** Whether the network interface is 'up'. This is
|
||||
* a software flag used to control whether this network
|
||||
|
||||
Reference in New Issue
Block a user