zephyr/subsys/net/l2/ethernet
Jukka Rissanen ac3cb9dac0 net: Change the net_linkaddr struct to not use pointers
Previously the net_linkaddr struct had pointers to the link address.
This is error prone and difficult to handle if cloning the packet as
those pointers can point to wrong place. Mitigate this issue by
allocating the space for link address in net_linkaddr struct. This will
increase the size of the net_pkt by 4 octets for IEEE 802.15.4 where the
link address length is 8, but there no increase in size if link address
is 6 bytes like in Ethernet/Wi-Fi.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-17 16:25:22 +01:00
..
dsa
gptp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
lldp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
arp.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
arp.h net: arp: Fix ARP protocol handler to not use Ethernet hdr directly 2025-02-20 21:04:44 +01:00
bridge_shell.c net: bridge: Overhaul the code to use virtual interfaces 2024-09-06 18:01:15 -04:00
bridge.c drivers/ethernet/eth_native_posix: Rename to eth_native_tap 2025-03-07 20:10:38 +01:00
bridge.h net: bridge: Overhaul the code to use virtual interfaces 2024-09-06 18:01:15 -04:00
CMakeLists.txt
eth_stats.h
ethernet_mgmt.c net: l2: ethernet: Fix interface state check 2025-01-29 04:17:21 +01:00
ethernet_stats.c
ethernet.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
Kconfig net: l2: Add a config option to allow mismatched L3/L2 address packets 2025-02-06 17:48:37 +01:00
vlan.c net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00