Lines Matching refs:ip
1027 if (iface->config.ip.ipv6) { in net_if_config_ipv6_get()
1029 *ipv6 = iface->config.ip.ipv6; in net_if_config_ipv6_get()
1042 iface->config.ip.ipv6 = &ipv6_addresses[i].ipv6; in net_if_config_ipv6_get()
1074 if (!iface->config.ip.ipv6) { in net_if_config_ipv6_put()
1086 iface->config.ip.ipv6 = NULL; in net_if_config_ipv6_put()
1108 if (iface->config.ip.ipv6 == NULL) { in join_mcast_allnodes()
1128 if (iface->config.ip.ipv6 == NULL) { in join_mcast_solicit_node()
1151 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in leave_mcast_all()
1172 if (iface->config.ip.ipv6 == NULL) { in join_mcast_nodes()
1456 if (tmp->config.ip.ipv6 == ipv6) { in rs_timeout()
1484 ipv6 = iface->config.ip.ipv6; in net_if_start_rs()
1514 ipv6 = iface->config.ip.ipv6; in net_if_stop_rs()
1551 if (!iface->config.ip.ipv6) { in net_if_nbr_reachability_hint()
1573 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_lookup()
1615 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_lookup_by_iface()
1755 ARRAY_FOR_EACH(iface->config.ip.ipv6->unicast, i) { in address_expired()
1756 if (&iface->config.ip.ipv6->unicast[i] == ifaddr) { in address_expired()
1758 &iface->config.ip.ipv6->unicast[i].address.in6_addr); in address_expired()
1845 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in ipv6_addr_find()
1968 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_rm()
2072 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_foreach()
2150 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_rm()
2196 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_foreach()
2227 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_lookup()
2425 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in ipv6_prefix_find()
2528 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_rm()
2592 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_get()
2626 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_lookup()
2662 ipv6 = tmp->config.ip.ipv6; in net_if_ipv6_addr_onlink()
2759 if (!iface->config.ip.ipv6) { in net_if_ipv6_get_mcast_hop_limit()
2763 ret = iface->config.ip.ipv6->mcast_hop_limit; in net_if_ipv6_get_mcast_hop_limit()
2778 if (!iface->config.ip.ipv6) { in net_if_ipv6_set_mcast_hop_limit()
2782 iface->config.ip.ipv6->mcast_hop_limit = hop_limit; in net_if_ipv6_set_mcast_hop_limit()
2797 if (!iface->config.ip.ipv6) { in net_if_ipv6_get_hop_limit()
2801 ret = iface->config.ip.ipv6->hop_limit; in net_if_ipv6_get_hop_limit()
2816 if (!iface->config.ip.ipv6) { in net_if_ipv6_set_hop_limit()
2820 iface->config.ip.ipv6->hop_limit = hop_limit; in net_if_ipv6_set_hop_limit()
2833 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_ll()
2886 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in check_global_addr()
2981 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_best_match()
2991 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_best_match()
3187 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in iface_ipv6_start()
3288 if (iface->config.ip.ipv4) { in net_if_config_ipv4_get()
3290 *ipv4 = iface->config.ip.ipv4; in net_if_config_ipv4_get()
3303 iface->config.ip.ipv4 = &ipv4_addresses[i].ipv4; in net_if_config_ipv4_get()
3334 if (!iface->config.ip.ipv4) { in net_if_config_ipv4_put()
3346 iface->config.ip.ipv4 = NULL; in net_if_config_ipv4_put()
3372 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_ttl()
3376 ret = iface->config.ip.ipv4->ttl; in net_if_ipv4_get_ttl()
3391 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_ttl()
3395 iface->config.ip.ipv4->ttl = ttl; in net_if_ipv4_set_ttl()
3410 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_mcast_ttl()
3414 ret = iface->config.ip.ipv4->mcast_ttl; in net_if_ipv4_get_mcast_ttl()
3429 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_mcast_ttl()
3433 iface->config.ip.ipv4->mcast_ttl = ttl; in net_if_ipv4_set_mcast_ttl()
3472 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_mask_cmp()
3508 ipv4 = iface->config.ip.ipv4; in ipv4_is_broadcast_address()
3604 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_best_match()
3639 ipv4 = iface->config.ip.ipv4; in if_ipv4_get_addr()
3763 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_lookup()
3834 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_netmask_by_addr()
3875 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_set_netmask_by_addr()
3919 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_netmask()
3930 netmask = iface->config.ip.ipv4->unicast[i].netmask; in net_if_ipv4_get_netmask()
3956 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_set_netmask_deprecated()
4067 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_gw()
4071 gw = iface->config.ip.ipv4->gw; in net_if_ipv4_get_gw()
4086 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_gw()
4090 net_ipaddr_copy(&iface->config.ip.ipv4->gw, gw); in net_if_ipv4_set_gw()
4133 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in ipv4_addr_find()
4350 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_rm()
4455 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_foreach()
4478 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in ipv4_maddr_find()
4579 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_maddr_foreach()
4665 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in leave_ipv4_mcast_all()
4763 COND_CODE_1(CONFIG_NET_NATIVE_IPV6, (iface->config.ip.ipv6), (NULL)); in get_ifaddr()
4810 COND_CODE_1(CONFIG_NET_NATIVE_IPV4, (iface->config.ip.ipv4), (NULL)); in get_ifaddr()
4842 ipv6 = COND_CODE_1(CONFIG_NET_NATIVE_IPV6, (iface->config.ip.ipv6), (NULL)); in remove_ipv6_ifaddr()
4900 ipv4 = COND_CODE_1(CONFIG_NET_NATIVE_IPV4, (iface->config.ip.ipv4), (NULL)); in remove_ipv4_ifaddr()