zephyr/tests/net
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
..
6lo net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
all net: openthread: Allow a platform to select a Settings backend. 2024-12-02 18:18:20 +01:00
arp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
bridge
checksum_offload net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
conn_mgr_conn tests: net: conn_mgr: Use valid LL address in tests 2025-02-19 18:48:52 +01:00
conn_mgr_monitor tests: net: conn_mgr: Use valid LL address in tests 2025-02-19 18:48:52 +01:00
context
dhcpv4 boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
dhcpv6 samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
ethernet_mgmt
hostname net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
icmp samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
icmpv4
icmpv6
ieee802154 net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
iface net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
igmp tests: net: igmp: Add re-join multicast group test 2024-12-19 10:20:56 +01:00
ip-addr tests: net: ip-addr: Add test case verifying default iface is preferred 2024-11-29 11:44:39 +01:00
ipv4_fragment tests: net: ipv4_fragment: Make test to run faster 2024-11-18 07:26:07 -05:00
ipv6 net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
ipv6_fragment net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
lib net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
mgmt
mld net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
mocks
neighbor net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_pkt net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
npf
offloaded_netdev test: net: offloaded_netdev: Add tests for IPv4/6 address registration 2024-09-23 14:08:34 +01:00
pm tests/samples: net: Fix the max number of file descriptors 2024-09-30 17:12:15 +01:00
pmtu tests: net: pmtu: Add IPV6_MTU socket option tests 2024-11-18 07:26:07 -05:00
ppp/driver
promiscuous
ptp/clock drivers/ethernet/eth_native_posix: Rename to eth_native_tap 2025-03-07 20:10:38 +01:00
route net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
route_mcast net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
shell test: net: shell Remove unused function 2025-02-12 02:23:21 +01:00
socket net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
tcp
traffic_class net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
trickle
tx_timestamp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
udp tests: net: udp: Remove unused function 2025-02-12 02:24:21 +01:00
utils tests: net: utils: Verify src and dst link addresses 2025-03-17 16:25:22 +01:00
virtual net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
vlan net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
wifi tests: wifi: configs: Add a test for disable of advanced features 2025-01-15 19:06:22 +01:00