bug #42998: made NETIF_MAX_HWADDR_LEN overridable for some special networks

This commit is contained in:
goldsimon
2014-08-19 16:09:00 +02:00
parent 936066aa03
commit 7cea4d7df6
2 changed files with 9 additions and 2 deletions

View File

@@ -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