Home | History | Annotate | Download | only in openssh

Lines Matching defs:cp

318 	char addrbuf[64], *mp, *cp;
327 masklen = strtoul(mp, &cp, 10);
328 if (*mp == '\0' || *cp != '\0' || masklen > 128)
380 char *list, *cp, *o;
391 while ((cp = strsep(&list, ",")) != NULL) {
392 neg = *cp == '!';
394 cp++;
395 if (*cp == '\0') {
400 r = addr_pton_cidr(cp, &match_addr, &masklen);
403 "network \"%.100s\"", cp);
419 if (addr != NULL && match_pattern(addr, cp) == 1)
440 char *list, *cp, *o;
451 while ((cp = strsep(&list, ",")) != NULL) {
452 if (*cp == '\0') {
466 if (strlen(cp) > INET6_ADDRSTRLEN + 3) {
468 __func__, cp);
473 if (strspn(cp, VALID_CIDR_CHARS) != strlen(cp)) {
475 "characters", __func__, cp);
480 r = addr_pton_cidr(cp, &match_addr, &masklen);
482 error("Invalid network entry \"%.100s\"", cp);
487 "network \"%.100s\"", cp);