zephyr/subsys/net/ip
Robert Lubos 31b79a93af net: pkt: Add explicit casts to uint32_t when bitshifting uint8_t val
Cast uint8_t variable to uint32_t explicitly to avoid implicit cast to
int, and thus potentially undefined behavior, reported by UBSAN:

  net_pkt.c:1946:17: runtime error: left shift of 239 by 24 places
  cannot be represented in type 'int'

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-07-04 13:16:32 -05:00
..
6lo_private.h
6lo.c net: ipv6: 6lo: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt linker_script: Remove all SUBALIGN usage for iterable sections 2025-06-17 16:06:21 +02:00
connection.c net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
connection.h
icmp.c
icmpv4.c net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
icmpv4.h
icmpv6.c net: ipv6: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
icmpv6.h
igmp.c net: igmp: Avoid directly accessing address of unaligned struct 2025-07-01 10:15:55 -05:00
igmp.h
ipv4_acd.c
ipv4_autoconf.c net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
ipv4_fragment.c net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
ipv4.c net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
ipv4.h
ipv6_fragment.c net: ipv6: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
ipv6_mld.c
ipv6_nbr.c net: ipv6: nbr: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
ipv6_pe.c net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
ipv6.c net: ipv6: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
ipv6.h
iterables_net_pkt_alloc_stats.ld
Kconfig
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6
Kconfig.mgmt
Kconfig.stack net: dns: Properly cleanup DNS servers per network interface 2025-06-17 16:08:56 +02:00
Kconfig.stats
Kconfig.tcp
nbr.c
nbr.h
net_context.c net: context: Verify if CONFIG_NET_SOCKETS_PACKET_DGRAM is enabled 2025-05-28 15:33:24 +02:00
net_core.c net: ipv4: Avoid casting unaligned address to struct in_addr 2025-07-04 13:16:32 -05:00
net_if.c net: ipv4: Add raw variants of various IPv4 functions 2025-07-04 13:16:32 -05:00
net_mgmt.c net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
net_pkt.c net: pkt: Add explicit casts to uint32_t when bitshifting uint8_t val 2025-07-04 13:16:32 -05:00
net_private.h
net_stats.c net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
net_stats.h
net_tc_mapping.h
net_tc.c
net_timeout.c
packet_socket.c
packet_socket.h
pmtu.c net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
pmtu.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp_private.h net: tcp: Avoid directly accessing address of unaligned struct 2025-07-01 10:15:55 -05:00
tcp.c net: ipv6: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
tcp.h
tp_priv.h
tp.c
tp.h
udp_internal.h
udp.c
utils.c net: ip: utils: Avoid casting to in(6)_addr struct in net_addr_ntop() 2025-07-04 13:16:32 -05:00