/sendmail/libsm/ |
H A D | heap.c | 528 SM_HEAP_ITEM_T *hi, **hp; local 541 for (hp = &SmHeapTable[ptrhash(ptr)]; *hp != NULL; hp = &(**hp).hi_next) 543 if ((**hp).hi_ptr == ptr) 547 hi = *hp; 562 *hp = hi->hi_next; 565 hp = &SmHeapTable[ptrhash(newptr)]; 566 hi->hi_next = *hp; 596 SM_HEAP_ITEM_T *hi, **hp; local 663 SM_HEAP_ITEM_T **hp; local 725 SM_HEAP_ITEM_T *hp; local [all...] |
/sendmail/sendmail/ |
H A D | daemon.c | 1657 register struct hostent *hp; local 1659 hp = sm_gethostbyname(addr, AF_INET); 1660 if (hp == NULL) 1665 while (*(hp->h_addr_list) != NULL && 1666 hp->h_addrtype != AF_INET) 1667 hp->h_addr_list++; 1668 if (*(hp->h_addr_list) == NULL) 1673 *(hp->h_addr_list), 1676 freehostent(hp); 1677 hp 1689 register struct hostent *hp; local 2113 register struct hostent *volatile hp = (struct hostent *) NULL; local 3222 register struct hostent *hp; local 3410 struct hostent *hp; local 3920 register struct hostent *hp; local 4400 register struct hostent *hp; local [all...] |
H A D | udb.c | 406 struct hes_postoffice *hp; local 416 hp = hes_getmailhost(a->q_user); 417 if (hp == NULL) 430 if (strlen(hp->po_name) + strlen(hp->po_host) > 436 hp->po_name, 437 hp->po_host); 442 "%s@%s", hp->po_name, hp->po_host); 1236 char **hp; local [all...] |
H A D | domain.c | 199 HEADER *hp; local 309 hp = (HEADER *)&answer; 312 for (qdcount = ntohs((unsigned short) hp->qdcount); 324 ancount = ntohs((unsigned short) hp->ancount); 776 HEADER *hp; local 965 hp = (HEADER *) &answer; 970 for (qdcount = ntohs((unsigned short) hp->qdcount); 978 ntohs((unsigned short) hp->qdcount)); 985 for (ancount = ntohs((unsigned short) hp->ancount);
|
H A D | milter.c | 661 struct hostent *hp = NULL; local 962 hp = sm_gethostbyname(at, addr.sa.sa_family); 963 if (hp == NULL) 980 addr.sa.sa_family = hp->h_addrtype; 981 switch (hp->h_addrtype) 986 hp->h_addr, INADDRSZ); 996 hp->h_addr, IN6ADDRSZ); 1007 hp->h_addrtype); 1010 m->mf_name, at, hp->h_addrtype); 1015 hp [all...] |
H A D | map.c | 5449 char **hp; local 5469 hp = hesiod_resolve(HesiodContext, np, map->map_file); 5471 hp = hes_resolve(np, map->map_file); 5481 hp = hesiod_resolve(HesiodContext, name, map->map_file); 5483 hp = hes_resolve(name, map->map_file); 5487 if (hp == NULL || *hp == NULL) 5503 if (hp != NULL) 5504 hesiod_free_list(HesiodContext, hp); 5508 if (hp 7475 struct hostent *hp = NULL; local [all...] |
H A D | main.c | 175 struct hostent *hp; local 713 hp = myhostname(jbuf, sizeof(jbuf)); 744 if (hp != NULL) 746 for (av = hp->h_aliases; av != NULL && *av != NULL; av++) 753 for (i = 0; i >= 0 && hp->h_addr_list[i] != NULL; i++) 766 switch (hp->h_addrtype) 770 if (hp->h_length != INADDRSZ) 773 memmove(&ia, hp->h_addr_list[i], INADDRSZ); 781 if (hp->h_length != IN6ADDRSZ) 784 memmove(&ia6, hp 3493 struct hostent *hp; local [all...] |
H A D | headers.c | 80 HDR **hp; local 395 for (hp = hdrp; (h = *hp) != NULL; hp = &h->h_link) 443 *hp = h; 623 HDR **hp; local 627 for (hp = hdrlist; (h = *hp) != NULL; hp = &h->h_link) 635 h->h_link = *hp; [all...] |
H A D | util.c | 1788 char *hp; local 1851 hp = hostnamebyanyaddr(&sa); 1852 if (hp == NULL) 1860 "%s/%d", hp, ntohs(sa.sin.sin_port)); 1865 "%s/%d", hp, ntohs(sa.sin6.sin6_port)); 1869 "%s", hp); 1880 hp = hostnamebyanyaddr(&sa); 1881 if (hp == NULL) 1889 "%s/%d", hp, ntohs(sa.sin.sin_port)); 1894 "%s/%d", hp, ntoh [all...] |
H A D | deliver.c | 5711 char *hp; local 5785 for (hp = host; hp != NULL; hp = endp) 5788 if (*hp == '[') 5790 endp = strchr(hp + 1, ']'); 5795 endp = strpbrk(hp, ":,"); 5797 endp = strpbrk(hp, ":,"); 5809 mxhosts[0] = hp; 5816 nmx = getmxrr(hp, mxhost 5952 char *hp, *endp; local [all...] |
H A D | conf.c | 4305 static struct hostent hp; local 4311 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno); 4462 struct hostent *hp; local 4481 hp = _switch_gethostbyaddr_r(addr, len, type, &he, 4488 hp = __switch_gethostbyaddr(addr, len, type); 4496 hp = sm_getipnodebyaddr(addr, len, type, &err); 4500 hp = gethostbyaddr(addr, len, type); 4503 return hp; 4617 struct hostent *hp; local 4626 hp [all...] |
/sendmail/libmilter/ |
H A D | sm_gethost.c | 103 static struct hostent hp; local 107 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
|
H A D | listener.c | 385 struct hostent *hp = NULL; local 387 hp = mi_gethostbyname(at, addr.sa.sa_family); 388 if (hp == NULL) 395 addr.sa.sa_family = hp->h_addrtype; 396 switch (hp->h_addrtype) 401 hp->h_addr, 410 hp->h_addr, 419 name, at, hp->h_addrtype); 423 freehostent(hp);
|
/sendmail/contrib/ |
H A D | bitdomain.c | 214 HEADER *hp; local 268 hp = (HEADER *) &answer; 273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ) 281 for (ancount = ntohs(hp->ancount); --ancount >= 0 && ap < eom; ap += n)
|
/sendmail/mail.local/ |
H A D | mail.local.c | 1546 struct hostent *hp; local 1557 (hp = gethostbyname("localhost")) == NULL || 1558 hp->h_length != INADDRSZ) 1561 addr.sin_family = hp->h_addrtype; 1562 memcpy(&addr.sin_addr, hp->h_addr, INADDRSZ);
|