Lines Matching refs:index

144 struct net_if *z_impl_net_if_get_by_index(int index)  in z_impl_net_if_get_by_index()  argument
146 if (index <= 0) { in z_impl_net_if_get_by_index()
150 if (&_net_if_list_start[index - 1] >= _net_if_list_end) { in z_impl_net_if_get_by_index()
151 NET_DBG("Index %d is too large", index); in z_impl_net_if_get_by_index()
155 return &_net_if_list_start[index - 1]; in z_impl_net_if_get_by_index()
159 struct net_if *z_vrfy_net_if_get_by_index(int index) in z_vrfy_net_if_get_by_index() argument
163 iface = net_if_get_by_index(index); in z_vrfy_net_if_get_by_index()
2055 bool z_impl_net_if_ipv6_addr_add_by_index(int index, in z_impl_net_if_ipv6_addr_add_by_index() argument
2062 iface = net_if_get_by_index(index); in z_impl_net_if_ipv6_addr_add_by_index()
2072 bool z_vrfy_net_if_ipv6_addr_add_by_index(int index, in z_vrfy_net_if_ipv6_addr_add_by_index() argument
2080 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv6_addr_add_by_index()
2087 return z_impl_net_if_ipv6_addr_add_by_index(index, in z_vrfy_net_if_ipv6_addr_add_by_index()
2096 bool z_impl_net_if_ipv6_addr_rm_by_index(int index, in z_impl_net_if_ipv6_addr_rm_by_index() argument
2101 iface = net_if_get_by_index(index); in z_impl_net_if_ipv6_addr_rm_by_index()
2110 bool z_vrfy_net_if_ipv6_addr_rm_by_index(int index, in z_vrfy_net_if_ipv6_addr_rm_by_index() argument
2116 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv6_addr_rm_by_index()
2123 return z_impl_net_if_ipv6_addr_rm_by_index(index, &addr_v6); in z_vrfy_net_if_ipv6_addr_rm_by_index()
4014 bool z_impl_net_if_ipv4_set_netmask_by_index(int index, in z_impl_net_if_ipv4_set_netmask_by_index() argument
4019 iface = net_if_get_by_index(index); in z_impl_net_if_ipv4_set_netmask_by_index()
4029 bool z_impl_net_if_ipv4_set_netmask_by_addr_by_index(int index, in z_impl_net_if_ipv4_set_netmask_by_addr_by_index() argument
4035 iface = net_if_get_by_index(index); in z_impl_net_if_ipv4_set_netmask_by_addr_by_index()
4046 bool z_vrfy_net_if_ipv4_set_netmask_by_index(int index, in z_vrfy_net_if_ipv4_set_netmask_by_index() argument
4052 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv4_set_netmask_by_index()
4060 return z_impl_net_if_ipv4_set_netmask_by_index(index, &netmask_addr); in z_vrfy_net_if_ipv4_set_netmask_by_index()
4065 bool z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index(int index, in z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index() argument
4072 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index()
4082 return z_impl_net_if_ipv4_set_netmask_by_addr_by_index(index, in z_vrfy_net_if_ipv4_set_netmask_by_addr_by_index()
4128 bool z_impl_net_if_ipv4_set_gw_by_index(int index, in z_impl_net_if_ipv4_set_gw_by_index() argument
4133 iface = net_if_get_by_index(index); in z_impl_net_if_ipv4_set_gw_by_index()
4144 bool z_vrfy_net_if_ipv4_set_gw_by_index(int index, in z_vrfy_net_if_ipv4_set_gw_by_index() argument
4150 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv4_set_gw_by_index()
4157 return z_impl_net_if_ipv4_set_gw_by_index(index, &gw_addr); in z_vrfy_net_if_ipv4_set_gw_by_index()
4415 bool z_impl_net_if_ipv4_addr_add_by_index(int index, in z_impl_net_if_ipv4_addr_add_by_index() argument
4423 iface = net_if_get_by_index(index); in z_impl_net_if_ipv4_addr_add_by_index()
4433 bool z_vrfy_net_if_ipv4_addr_add_by_index(int index, in z_vrfy_net_if_ipv4_addr_add_by_index() argument
4441 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv4_addr_add_by_index()
4448 return z_impl_net_if_ipv4_addr_add_by_index(index, in z_vrfy_net_if_ipv4_addr_add_by_index()
4457 bool z_impl_net_if_ipv4_addr_rm_by_index(int index, in z_impl_net_if_ipv4_addr_rm_by_index() argument
4462 iface = net_if_get_by_index(index); in z_impl_net_if_ipv4_addr_rm_by_index()
4471 bool z_vrfy_net_if_ipv4_addr_rm_by_index(int index, in z_vrfy_net_if_ipv4_addr_rm_by_index() argument
4477 iface = z_vrfy_net_if_get_by_index(index); in z_vrfy_net_if_ipv4_addr_rm_by_index()
4484 return (uint32_t)z_impl_net_if_ipv4_addr_rm_by_index(index, &addr_v4); in z_vrfy_net_if_ipv4_addr_rm_by_index()