Lines Matching refs:cp1
148 char name[MAXARPANAME + 1], *cp1; in in_arpa_name_2_addr() local
158 for (j = 1, cp1 = name; *namein; cp1++, namein++) in in_arpa_name_2_addr()
161 lastchunk = cp1 + 1; in in_arpa_name_2_addr()
162 *cp1 = 0; in in_arpa_name_2_addr()
165 *cp1 = *namein; in in_arpa_name_2_addr()
167 *cp1 = 0; in in_arpa_name_2_addr()
177 for (cp1 = name; cp1 != penchunk; cp1 += strlen(cp1) + 1) { in in_arpa_name_2_addr()
182 for (cp = cp1; *cp; cp++) in in_arpa_name_2_addr()
188 addr[0] = atoi(cp1); in in_arpa_name_2_addr()
208 for (j = 0, cp1 = name + 3; *cp1 && isxdigit((int) *cp1) && j < 32; cp1++, j++) { in in_arpa_name_2_addr()
210 xdig[0] = *cp1; in in_arpa_name_2_addr()
218 if (*cp1 == '/' && j == 32) return F_IPV6; in in_arpa_name_2_addr()
220 for (cp1 = name; cp1 != penchunk; cp1 += strlen(cp1) + 1) { in in_arpa_name_2_addr()
221 if (*(cp1 + 1) || !isxdigit((int) *cp1)) return 0; in in_arpa_name_2_addr()
225 addr[0] = (addr[0] >> 4) | (strtol(cp1, NULL, 16) << 4); in in_arpa_name_2_addr()