zephyr/subsys/net/ip
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_private.h
6lo.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net: ip: pmtu: Add generic IP PMTU Discovery support 2024-11-18 07:26:07 -05:00
connection.c
connection.h
icmp.c net: icmp: Send replies with timeout K_NO_WAIT 2025-03-07 19:58:45 +01:00
icmpv4.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
icmpv4.h net: ipv4: Add PMTU support 2024-11-18 07:26:07 -05:00
icmpv6.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
icmpv6.h net: ipv6: Add PMTU support 2024-11-18 07:26:07 -05:00
igmp.c
igmp.h
ipv4_acd.c net: ipv4: Fix ARP probe check in address conflict detection 2024-10-29 07:07:59 -05:00
ipv4_autoconf.c
ipv4_fragment.c net: Set the protocol type of fragmented packet 2025-01-21 19:29:55 +01:00
ipv4.c net: ipv4: Do not change the protocol type when sending 2025-01-21 19:29:55 +01:00
ipv4.h net: ipv4: Add PMTU support 2024-11-18 07:26:07 -05:00
ipv6_fragment.c net: Set the protocol type of fragmented packet 2025-01-21 19:29:55 +01:00
ipv6_mld.c
ipv6_nbr.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
ipv6_pe.c net: ipv6_pe: Check return value from mbedtls_md_setup 2024-11-28 15:42:08 +00:00
ipv6.c net: ethernet: Set the ptype by the caller in send 2025-01-16 22:37:28 +01:00
ipv6.h net: ipv6: use inclusive terminology in net_ipv6_pe_filter_cb_t 2025-02-19 18:48:15 +01:00
iterables_net_pkt_alloc_stats.ld
Kconfig net: tc: Deprecate CONFIG_NET_TC_SKIP_FOR_HIGH_PRIO 2025-02-05 12:37:01 +01:00
Kconfig.debug
Kconfig.ipv4 net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00
Kconfig.ipv6 net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats net: stats: Add prometheus support 2024-11-26 15:42:40 -05:00
Kconfig.tcp net: Remove deprecated CONFIG_NET_TCP_ACK_TIMEOUT option 2024-12-11 21:32:02 +01:00
nbr.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
nbr.h net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_context.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_core.c net: add try variant with timeout for various send functions 2025-03-07 19:58:45 +01:00
net_if.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_mgmt.c
net_pkt.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_private.h net: add try variant with timeout for various send functions 2025-03-07 19:58:45 +01:00
net_stats.c net: stats: Add prometheus support 2024-11-26 15:42:40 -05:00
net_stats.h net: tc: Add statistics about dropped packets 2025-01-30 20:27:33 +01:00
net_tc_mapping.h
net_tc.c net: add try variant with timeout for various send functions 2025-03-07 19:58:45 +01:00
net_timeout.c
packet_socket.c
packet_socket.h
pmtu.c net: pmtu: Send net_mgmt event for changed path MTU 2024-11-18 07:26:07 -05:00
pmtu.h net: ip: pmtu: Add generic IP PMTU Discovery support 2024-11-18 07:26:07 -05:00
promiscuous.c
route.c net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
route.h
tcp_internal.h
tcp_private.h net: tcp: fix ECONNREFUSED not reported by zsock_connect 2025-03-07 19:48:10 +01:00
tcp.c net: tcp: fix ECONNREFUSED not reported by zsock_connect 2025-03-07 19:48:10 +01:00
tcp.h
tp_priv.h
tp.c
tp.h
udp_internal.h
udp.c
utils.c net: utils: Fix unused function warning 2025-02-08 19:45:38 -05:00