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 net: connection: Split net_conn_input() 2025-04-23 11:48:33 +02:00
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 net: connection: Make it possible to update local address 2025-04-30 16:26:16 +02:00
icmp.c net: icmp: Send replies with timeout K_NO_WAIT 2025-03-07 19:58:45 +01:00
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 net: l2: ethernet: arp: explicit error codes 2025-04-24 22:58:51 +02:00
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 net: ipv4: Add DiffServ DSCP code point definitions 2025-03-25 11:00:33 +01:00
ipv6_fragment.c net: ipv6: Avoid casting unaligned address to struct in6_addr 2025-07-04 13:16:32 -05:00
ipv6_mld.c net: ip: mld: Ensure MLD APIs work with offloaded interfaces 2025-05-09 18:00:14 +02:00
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 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: shell: Add packet filter support 2025-04-16 08:07:34 +02:00
Kconfig.debug
Kconfig.ipv4 net: Add support for IPv4_MULTICAST_LOOP in net_context 2025-03-24 09:54:05 +01:00
Kconfig.ipv6 net: sockets: IPv6_MULTICAST_LOOP Support 2025-03-21 14:19:08 +01:00
Kconfig.mgmt
Kconfig.stack net: dns: Properly cleanup DNS servers per network interface 2025-06-17 16:08:56 +02:00
Kconfig.stats net: pkt_filter: Add statistics support to packet filter 2025-04-16 08:07:34 +02: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: 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: sockets: Add SOCK_RAW support for AF_INET/AF_INET6 sockets 2025-04-09 12:36:34 +02:00
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: pkt_filter: Add statistics support to packet filter 2025-04-16 08:07:34 +02: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 net: dsa: make current DSA core driver obsolete 2025-04-24 01:26:46 +02:00
packet_socket.h net: core: Pass the actual LL proto for DGRAM packet sockets 2025-04-23 11:48:33 +02:00
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 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: 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 net: connection: Register connection type 2025-04-09 12:36:34 +02:00
utils.c net: ip: utils: Avoid casting to in(6)_addr struct in net_addr_ntop() 2025-07-04 13:16:32 -05:00