zephyr/subsys/net/l2
Tom Hughes 9838a03ad7 net: l2: ethernet: Fix unused function warning
Building with clang warns:

subsys/net/l2/ethernet/ethernet.c:178:18: error: unused function
'ethernet_check_ipv4_bcast_addr' [-Werror,-Wunused-function]
enum net_verdict ethernet_check_ipv4_bcast_addr(struct net_pkt *pkt,
                 ^

ethernet_check_ipv4_bcast_addr is called by ethernet_ip_recv, which only
exists when CONFIG_NET_IPV4 or CONFIG_NET_IPV6 is defined.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-02-21 04:46:26 +01:00
..
canbus
dummy
ethernet net: l2: ethernet: Fix unused function warning 2025-02-21 04:46:26 +01:00
ieee802154 net: l2: ieee802154: shell: Fix stringop-truncation 2024-10-09 13:50:00 +02:00
offloaded_netdev
openthread openthread: fix logging configuration 2025-01-28 14:13:31 +01:00
ppp net: l2: ppp: ensure proper null-termination in ppp_fsm_close 2024-08-14 09:40:23 +02:00
virtual net: ethernet/vlan: Add support for embedding ll header 2024-12-19 10:21:28 +01:00
wifi net: wifi: L2 shell cmd 11v BTM query support embedded supplicant 2025-02-14 19:40:09 +00:00
CMakeLists.txt
Kconfig