Lines Matching refs:netmask

3474 			 ipv4->unicast[i].netmask.s_addr;  in net_if_ipv4_addr_mask_cmp()
3477 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_addr_mask_cmp()
3511 ~ipv4->unicast[i].netmask.s_addr; in ipv4_is_broadcast_address()
3605 ipv4->unicast[i].netmask.s_addr; in net_if_ipv4_get_best_match()
3857 struct in_addr netmask = { 0 }; in net_if_ipv4_get_netmask_by_addr() local
3879 ipv4->unicast[i].netmask.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()
3883 netmask = ipv4->unicast[i].netmask; in net_if_ipv4_get_netmask_by_addr()
3891 return netmask; in net_if_ipv4_get_netmask_by_addr()
3896 const struct in_addr *netmask) in net_if_ipv4_set_netmask_by_addr() argument
3920 ipv4->unicast[i].netmask.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()
3924 ipv4->unicast[i].netmask = *netmask; in net_if_ipv4_set_netmask_by_addr()
3943 struct in_addr netmask = { 0 }; in net_if_ipv4_get_netmask() local
3963 netmask = iface->config.ip.ipv4->unicast[i].netmask; in net_if_ipv4_get_netmask()
3970 return netmask; in net_if_ipv4_get_netmask()
3979 const struct in_addr *netmask) in net_if_ipv4_set_netmask_deprecated() argument
4000 net_ipaddr_copy(&ipv4->unicast[i].netmask, netmask); in net_if_ipv4_set_netmask_deprecated()
4009 const struct in_addr *netmask) in net_if_ipv4_set_netmask() argument
4011 net_if_ipv4_set_netmask_deprecated(iface, netmask); in net_if_ipv4_set_netmask()
4015 const struct in_addr *netmask) in z_impl_net_if_ipv4_set_netmask_by_index() argument
4024 net_if_ipv4_set_netmask_deprecated(iface, netmask); in z_impl_net_if_ipv4_set_netmask_by_index()
4031 const struct in_addr *netmask) in z_impl_net_if_ipv4_set_netmask_by_addr_by_index() argument
4040 net_if_ipv4_set_netmask_by_addr(iface, addr, netmask); in z_impl_net_if_ipv4_set_netmask_by_addr_by_index()
4047 const struct in_addr *netmask) in z_vrfy_net_if_ipv4_set_netmask_by_index() argument
4057 K_OOPS(k_usermode_from_copy(&netmask_addr, (void *)netmask, in z_vrfy_net_if_ipv4_set_netmask_by_index()
4067 const struct in_addr *netmask) in z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index() argument
4079 K_OOPS(k_usermode_from_copy(&netmask_addr, (void *)netmask, in z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index()
4366 cur->netmask.s_addr = htonl(default_netmask); in net_if_ipv4_addr_add()