Hello !
I have 2 network interfaces in my Zephyr environment.
Ethernet need 6 byte reservation for link address and own radio driver - 8 bytes.
In you headers size of it defined like this :
/** Maximum length of the link address */
#ifdef CONFIG_NET_L2_IEEE802154
#define NET_LINK_ADDR_MAX_LENGTH 8
#else
#ifdef CONFIG_NET_L2_PPP
#define NET_LINK_ADDR_MAX_LENGTH 8
#else
#define NET_LINK_ADDR_MAX_LENGTH 6
#endif
For have 2 byte reservation I should define CONFIG_NET_L2_PPP what include some extra components in build what is not so good idea.
Is any other way exist for reserve 8 bytes long link address for be able to support multiple different interfaces ?
Regards,
Eugene