Lines Matching refs:subnet
3458 uint32_t subnet; in net_if_ipv4_addr_mask_cmp() local
3473 subnet = UNALIGNED_GET(&addr->s_addr) & in net_if_ipv4_addr_mask_cmp()
3477 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_addr_mask_cmp()
3594 struct in_addr subnet; in net_if_ipv4_get_best_match() local
3604 subnet.s_addr = ipv4->unicast[i].ipv4.address.in_addr.s_addr & in net_if_ipv4_get_best_match()
3606 len = get_diff_ipv4(dst, &subnet); in net_if_ipv4_get_best_match()
3859 uint32_t subnet; in net_if_ipv4_get_netmask_by_addr() local
3878 subnet = UNALIGNED_GET(&addr->s_addr) & in net_if_ipv4_get_netmask_by_addr()
3882 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_get_netmask_by_addr()
3899 uint32_t subnet; in net_if_ipv4_set_netmask_by_addr() local
3919 subnet = UNALIGNED_GET(&addr->s_addr) & in net_if_ipv4_set_netmask_by_addr()
3923 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_set_netmask_by_addr()