Home
last modified time | relevance | path

Searched refs:masked_24 (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dnet_ip.h863 uint32_t masked_24, masked_16, masked_12, masked_10, masked_8; in net_ipv4_is_private_addr() local
865 masked_24 = ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xFFFFFF00; in net_ipv4_is_private_addr()
866 masked_16 = masked_24 & 0xFFFF0000; in net_ipv4_is_private_addr()
867 masked_12 = masked_24 & 0xFFF00000; in net_ipv4_is_private_addr()
868 masked_10 = masked_24 & 0xFFC00000; in net_ipv4_is_private_addr()
869 masked_8 = masked_24 & 0xFF000000; in net_ipv4_is_private_addr()
875 masked_24 == 0xC0000200 || /* 192.0.2.0/24 */ in net_ipv4_is_private_addr()
876 masked_24 == 0xC0336400 || /* 192.51.100.0/24 */ in net_ipv4_is_private_addr()
877 masked_24 == 0xCB007100; /* 203.0.113.0/24 */ in net_ipv4_is_private_addr()