Lines Matching defs:addrp
281 unsigned char *addrp;
290 addrp = (unsigned char *) &(addr.s_addr);
300 addrp[i] = (unsigned char) onebyte;
302 addrp[++i] = 0;
313 addrp[i] = (unsigned char) onebyte;
321 addrp[3] = (unsigned char) onebyte;
647 struct in_addr *addrp, *addrptmp;
651 addrp = fw_malloc(sizeof(struct in_addr));
652 inaddrcpy(addrp, addrptmp);
654 return addrp;
656 if ((addrp = host_to_addr(name, naddrs)) != NULL)
657 return addrp;
666 struct in_addr *addrp;
674 if ((addrp = dotted_to_mask(mask)) != NULL)
676 return addrp;
693 struct in_addr *addrp;
702 addrp = parse_mask(p + 1);
704 addrp = parse_mask(NULL);
705 inaddrcpy(maskp, addrp);
711 addrp = *addrpp = parse_hostnetwork(buf, naddrs);
714 addrp[j++].s_addr &= maskp->s_addr;
716 if (addrp[k].s_addr == addrp[j - 1].s_addr) {
938 addr_to_dotted(const struct in_addr *addrp)
943 bytep = (const unsigned char *) &(addrp->s_addr);