Lines Matching refs:ip

1053 	if (iface->config.ip.ipv6) {  in net_if_config_ipv6_get()
1055 *ipv6 = iface->config.ip.ipv6; in net_if_config_ipv6_get()
1068 iface->config.ip.ipv6 = &ipv6_addresses[i].ipv6; in net_if_config_ipv6_get()
1100 if (!iface->config.ip.ipv6) { in net_if_config_ipv6_put()
1112 iface->config.ip.ipv6 = NULL; in net_if_config_ipv6_put()
1135 if (iface->config.ip.ipv6 == NULL) { in join_mcast_allnodes()
1155 if (iface->config.ip.ipv6 == NULL) { in join_mcast_solicit_node()
1178 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in leave_mcast_all()
1199 if (iface->config.ip.ipv6 == NULL) { in join_mcast_nodes()
1502 if (tmp->config.ip.ipv6 == ipv6) { in rs_timeout()
1530 ipv6 = iface->config.ip.ipv6; in net_if_start_rs()
1560 ipv6 = iface->config.ip.ipv6; in net_if_stop_rs()
1597 if (!iface->config.ip.ipv6) { in net_if_nbr_reachability_hint()
1701 ARRAY_FOR_EACH(iface->config.ip.ipv6->unicast, i) { in address_expired()
1702 if (&iface->config.ip.ipv6->unicast[i] == ifaddr) { in address_expired()
1704 &iface->config.ip.ipv6->unicast[i].address.in6_addr); in address_expired()
1791 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_lookup()
1833 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_lookup_by_iface()
1904 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in ipv6_addr_find()
2032 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_rm()
2140 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_addr_foreach()
2218 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_rm()
2265 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_foreach()
2296 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_maddr_lookup()
2359 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_ll()
2412 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in check_global_addr()
2608 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in ipv6_prefix_find()
2711 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_rm()
2775 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_get()
2809 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_prefix_lookup()
2845 ipv6 = tmp->config.ip.ipv6; in net_if_ipv6_addr_onlink()
2942 if (!iface->config.ip.ipv6) { in net_if_ipv6_get_mcast_hop_limit()
2946 ret = iface->config.ip.ipv6->mcast_hop_limit; in net_if_ipv6_get_mcast_hop_limit()
2961 if (!iface->config.ip.ipv6) { in net_if_ipv6_set_mcast_hop_limit()
2965 iface->config.ip.ipv6->mcast_hop_limit = hop_limit; in net_if_ipv6_set_mcast_hop_limit()
2980 if (!iface->config.ip.ipv6) { in net_if_ipv6_get_hop_limit()
2984 ret = iface->config.ip.ipv6->hop_limit; in net_if_ipv6_get_hop_limit()
2999 if (!iface->config.ip.ipv6) { in net_if_ipv6_set_hop_limit()
3003 iface->config.ip.ipv6->hop_limit = hop_limit; in net_if_ipv6_set_hop_limit()
3055 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_best_match()
3065 ipv6 = iface->config.ip.ipv6; in net_if_ipv6_get_best_match()
3265 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in iface_ipv6_start()
3278 struct net_if_ipv6 *ipv6 = iface->config.ip.ipv6; in iface_ipv6_stop()
3379 if (iface->config.ip.ipv4) { in net_if_config_ipv4_get()
3381 *ipv4 = iface->config.ip.ipv4; in net_if_config_ipv4_get()
3394 iface->config.ip.ipv4 = &ipv4_addresses[i].ipv4; in net_if_config_ipv4_get()
3425 if (!iface->config.ip.ipv4) { in net_if_config_ipv4_put()
3437 iface->config.ip.ipv4 = NULL; in net_if_config_ipv4_put()
3462 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_mask_cmp()
3498 ipv4 = iface->config.ip.ipv4; in ipv4_is_broadcast_address()
3588 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_best_match()
3631 ipv4 = iface->config.ip.ipv4; in if_ipv4_get_addr()
3765 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_get_first_by_index()
3796 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_lookup()
3867 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_netmask_by_addr()
3908 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_set_netmask_by_addr()
3952 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_get_netmask()
3963 netmask = iface->config.ip.ipv4->unicast[i].netmask; in net_if_ipv4_get_netmask()
3989 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_set_netmask_deprecated()
4100 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_gw()
4104 gw = iface->config.ip.ipv4->gw; in net_if_ipv4_get_gw()
4119 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_gw()
4123 net_ipaddr_copy(&iface->config.ip.ipv4->gw, gw); in net_if_ipv4_set_gw()
4166 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in ipv4_addr_find()
4392 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_rm()
4501 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_addr_foreach()
4524 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in ipv4_maddr_find()
4626 ipv4 = iface->config.ip.ipv4; in net_if_ipv4_maddr_foreach()
4705 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_ttl()
4709 ret = iface->config.ip.ipv4->ttl; in net_if_ipv4_get_ttl()
4724 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_ttl()
4728 iface->config.ip.ipv4->ttl = ttl; in net_if_ipv4_set_ttl()
4743 if (!iface->config.ip.ipv4) { in net_if_ipv4_get_mcast_ttl()
4747 ret = iface->config.ip.ipv4->mcast_ttl; in net_if_ipv4_get_mcast_ttl()
4762 if (!iface->config.ip.ipv4) { in net_if_ipv4_set_mcast_ttl()
4766 iface->config.ip.ipv4->mcast_ttl = ttl; in net_if_ipv4_set_mcast_ttl()
4817 struct net_if_ipv4 *ipv4 = iface->config.ip.ipv4; in leave_ipv4_mcast_all()
4989 COND_CODE_1(CONFIG_NET_IPV6, (iface->config.ip.ipv6), (NULL)); in get_ifaddr()
5039 COND_CODE_1(CONFIG_NET_IPV4, (iface->config.ip.ipv4), (NULL)); in get_ifaddr()
5075 ipv6 = COND_CODE_1(CONFIG_NET_IPV6, (iface->config.ip.ipv6), (NULL)); in remove_ipv6_ifaddr()
5133 ipv4 = COND_CODE_1(CONFIG_NET_IPV4, (iface->config.ip.ipv4), (NULL)); in remove_ipv4_ifaddr()