Lines Matching refs:curp
807 struct ifaddrs *curp; in kvp_get_ip_info() local
837 curp = ifap; in kvp_get_ip_info()
838 while (curp != NULL) { in kvp_get_ip_info()
839 if (curp->ifa_addr == NULL) { in kvp_get_ip_info()
840 curp = curp->ifa_next; in kvp_get_ip_info()
845 (strncmp(curp->ifa_name, if_name, strlen(if_name)))) { in kvp_get_ip_info()
850 curp = curp->ifa_next; in kvp_get_ip_info()
861 (curp->ifa_addr->sa_family != family))) || in kvp_get_ip_info()
862 (curp->ifa_flags & IFF_LOOPBACK)) { in kvp_get_ip_info()
863 curp = curp->ifa_next; in kvp_get_ip_info()
866 if ((curp->ifa_addr->sa_family != AF_INET) && in kvp_get_ip_info()
867 (curp->ifa_addr->sa_family != AF_INET6)) { in kvp_get_ip_info()
868 curp = curp->ifa_next; in kvp_get_ip_info()
877 if (curp->ifa_addr->sa_family == AF_INET) { in kvp_get_ip_info()
883 curp->ifa_netmask, in kvp_get_ip_info()
900 curp->ifa_netmask; in kvp_get_ip_info()
927 error = kvp_process_ip_address(curp->ifa_addr, in kvp_get_ip_info()
928 curp->ifa_addr->sa_family, in kvp_get_ip_info()
934 curp = curp->ifa_next; in kvp_get_ip_info()