Searched refs:if_addr (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/subsys/net/l2/openthread/ |
D | openthread_utils.c | 106 struct net_if_addr *if_addr; in add_ipv6_addr_to_zephyr() local 129 if_addr = net_if_ipv6_addr_add( in add_ipv6_addr_to_zephyr() 135 if_addr = net_if_ipv6_addr_add( in add_ipv6_addr_to_zephyr() 141 if_addr = net_if_ipv6_addr_add( in add_ipv6_addr_to_zephyr() 150 if (if_addr == NULL) { in add_ipv6_addr_to_zephyr() 155 if_addr->is_mesh_local = is_mesh_local( in add_ipv6_addr_to_zephyr() 159 if_addr->addr_state = in add_ipv6_addr_to_zephyr() 169 struct net_if_addr *if_addr = NULL; in add_ipv6_addr_to_ot() local 186 if_addr = &ipv6->unicast[i]; in add_ipv6_addr_to_ot() 191 if (if_addr == NULL) { in add_ipv6_addr_to_ot() [all …]
|
/Zephyr-latest/samples/net/dns_resolve/src/ |
D | main.c | 168 static void print_dhcpv4_addr(struct net_if *iface, struct net_if_addr *if_addr, in print_dhcpv4_addr() argument 179 if (if_addr->addr_type != NET_ADDR_DHCP) { in print_dhcpv4_addr() 184 net_addr_ntop(AF_INET, &if_addr->address.in_addr, in print_dhcpv4_addr() 189 &if_addr->address.in_addr); in print_dhcpv4_addr() 220 static void check_dhcpv4_addr(struct net_if *iface, struct net_if_addr *if_addr, in check_dhcpv4_addr() argument 225 if (if_addr->addr_type != NET_ADDR_DHCP) { in check_dhcpv4_addr()
|
/Zephyr-latest/subsys/net/lib/config/ |
D | init.c | 71 struct net_if_addr *if_addr = in print_dhcpv4_info() local 74 if (if_addr->addr_type != NET_ADDR_DHCP || in print_dhcpv4_info() 75 !if_addr->is_used) { in print_dhcpv4_info() 81 net_addr_ntop(AF_INET, &if_addr->address.in_addr, in print_dhcpv4_info()
|
/Zephyr-latest/tests/net/iface/src/ |
D | main.c | 1160 struct net_if_addr *if_addr, in foreach_ipv4_addr_check() argument 1168 zassert_mem_equal(&if_addr->address.in_addr, &my_ipv4_addr1, in foreach_ipv4_addr_check() 1188 struct net_if_mcast_addr *if_addr, in foreach_ipv4_maddr_check() argument 1196 zassert_mem_equal(&if_addr->address.in_addr, &inaddr_mcast, in foreach_ipv4_maddr_check() 1216 struct net_if_addr *if_addr, in foreach_ipv6_addr_check() argument 1225 if (net_ipv6_is_ll_addr(&if_addr->address.in6_addr)) { in foreach_ipv6_addr_check() 1226 zassert_mem_equal(&if_addr->address.in6_addr, &ll_addr, in foreach_ipv6_addr_check() 1229 zassert_mem_equal(&if_addr->address.in6_addr, &my_addr1, in foreach_ipv6_addr_check() 1250 struct net_if_mcast_addr *if_addr, in foreach_ipv6_maddr_check() argument 1258 zassert_mem_equal(&if_addr->address.in6_addr, &in6addr_mcast, sizeof(struct in6_addr), in foreach_ipv6_maddr_check()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_if.c | 1862 struct net_if_addr *if_addr; in z_impl_net_if_ipv6_addr_lookup_by_index() local 1864 if_addr = net_if_ipv6_addr_lookup(addr, &iface); in z_impl_net_if_ipv6_addr_lookup_by_index() 1865 if (!if_addr) { in z_impl_net_if_ipv6_addr_lookup_by_index() 2146 struct net_if_addr *if_addr = &ipv6->unicast[i]; in net_if_ipv6_addr_foreach() local 2148 if (!if_addr->is_used) { in net_if_ipv6_addr_foreach() 2152 cb(iface, if_addr, user_data); in net_if_ipv6_addr_foreach() 3830 struct net_if_addr *if_addr; in z_impl_net_if_ipv4_addr_lookup_by_index() local 3833 if_addr = net_if_ipv4_addr_lookup(addr, &iface); in z_impl_net_if_ipv4_addr_lookup_by_index() 3834 if (!if_addr) { in z_impl_net_if_ipv4_addr_lookup_by_index() 4421 struct net_if_addr *if_addr; in z_impl_net_if_ipv4_addr_add_by_index() local [all …]
|