Lines Matching refs:addrp
514 addr_to_numeric(const struct in6_addr *addrp)
519 return (char *)inet_ntop(AF_INET6, addrp, buf, sizeof(buf));
609 mask_to_numeric(const struct in6_addr *addrp)
612 int l = ipv6_prefix_length(addrp);
615 strcat(buf, addr_to_numeric(addrp));
654 struct in6_addr *addrp, *addrptmp;
658 addrp = fw_malloc(sizeof(struct in6_addr));
659 in6addrcpy(addrp, addrptmp);
661 return addrp;
663 if ((addrp = host_to_addr(name, naddrs)) != NULL)
664 return addrp;
673 struct in6_addr *addrp;
681 if ((addrp = numeric_to_addr(mask)) != NULL)
682 return addrp;
702 struct in6_addr *addrp;
711 addrp = parse_mask(p + 1);
713 addrp = parse_mask(NULL);
714 in6addrcpy(maskp, addrp);
720 addrp = *addrpp = parse_hostnetwork(buf, naddrs);
725 addrp[j].in6_u.u6_addr32[k] &= maskp->in6_u.u6_addr32[k];
728 if (IN6_ARE_ADDR_EQUAL(&addrp[k], &addrp[j - 1])) {