/freebsd/usr.sbin/lpr/pac/ |
H A D | pac.c | 74 struct hent { struct 75 struct hent *h_link; /* Forward hash link */ argument 81 static struct hent *hashtab[HSHSIZE]; /* Hash table proper */ argument 89 static struct hent *enter(const char _name[]); 90 static struct hent *lookup(const char _name[]); 204 register struct hent *hp; in account() 243 struct hent **base; in dumpit() 244 register struct hent *hp, **ap; in dumpit() 251 base = (struct hent **) calloc(hcount, sizeof(hp)); in dumpit() 282 register struct hent *hp; in rewrite() [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | by_dir.c | 270 BY_DIR_HASH htmp, *hent; in get_cert_by_subject_ex() local 284 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject_ex() 285 k = hent->suffix; in get_cert_by_subject_ex() 287 hent = NULL; in get_cert_by_subject_ex() 293 hent = NULL; in get_cert_by_subject_ex() 370 if (hent == NULL) { in get_cert_by_subject_ex() 373 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject_ex() 375 if (hent == NULL) { in get_cert_by_subject_ex() 376 hent = OPENSSL_malloc(sizeof(*hent)); in get_cert_by_subject_ex() 377 if (hent == NULL) { in get_cert_by_subject_ex() [all …]
|
/freebsd/usr.bin/ypwhich/ |
H A D | ypwhich.c | 86 struct hostent *hent = NULL; in bind_host() local 126 hent = gethostbyaddr((char *)&ss_addr.s_addr, sizeof(ss_addr.s_addr), in bind_host() 128 if (hent != NULL) in bind_host() 129 printf("%s\n", hent->h_name); in bind_host() 143 struct hostent *hent; in main() local 190 hent = gethostbyname(argv[0]); in main() 191 if (!hent) { in main()
|
/freebsd/contrib/bsnmp/lib/ |
H A D | support.c | 132 struct hostent *hent; in getaddrinfo() local 136 if ((hent = gethostbyname(host)) == NULL) in getaddrinfo() 138 if (hent->h_addrtype != hints->ai_family) in getaddrinfo() 140 if (hent->h_addrtype != AF_INET) in getaddrinfo() 160 memcpy(&s->sin_addr, hent->h_addr, 4); in getaddrinfo()
|
/freebsd/usr.sbin/ypset/ |
H A D | ypset.c | 114 struct hostent *hent; in main() local 131 hent = gethostbyname(optarg); in main() 132 if (hent == NULL) in main() 134 bcopy(hent->h_addr, &sin.sin_addr, in main()
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 350 struct hostent *hent; in yp_run_dnsq() local 383 hent = __dns_getanswer(buf, rval, q->name, q->type); in yp_run_dnsq() 385 if (hent != NULL) { in yp_run_dnsq() 387 hent->h_addr = (char *)q->addr; in yp_run_dnsq() 388 hent->h_addrtype = q->addrtype; in yp_run_dnsq() 389 hent->h_length = q->addrlen; in yp_run_dnsq() 394 yp_send_dns_reply(q, parse(hent)); in yp_run_dnsq()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 116 struct hostent hent; in main() local 123 info.hp = &hent; in main()
|
/freebsd/contrib/ntp/sntp/m4/ |
H A D | openldap.m4 | 1011 #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; char buffer[BUFSIZE]; 1013 (void)gethostbyname_r("segovia.cs.purdue.edu", &hent, 1020 #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent;struct hostent *rhent; 1023 (void)gethostbyname_r("localhost", &hent, buffer, bufsize, 1055 #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; char buffer[BUFSIZE]; 1060 …alen, AF_INET, &hent, buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs7=yes],[ol_… 1066 #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; 1072 alen, AF_INET, &hent, buffer, bufsize,
|
/freebsd/lib/libtacplus/ |
H A D | taclib.c | 704 struct hostent *hent; in tac_add_server_av() local 706 if ((hent = gethostbyname(host)) == NULL) { in tac_add_server_av() 710 memcpy(&srvp->addr.sin_addr, hent->h_addr, in tac_add_server_av()
|
/freebsd/lib/libcasper/services/cap_net/ |
H A D | cap_net.c | 69 static struct hostent hent; variable 217 hp = hostent_unpack(nvl, &hent); in cap_gethostbyname2() 243 hp = hostent_unpack(nvl, &hent); in cap_gethostbyaddr()
|
/freebsd/lib/libradius/ |
H A D | radlib.c | 438 struct hostent *hent; in rad_add_server_ex() local 440 if ((hent = gethostbyname(host)) == NULL) { in rad_add_server_ex() 444 memcpy(&srvp->addr.sin_addr, hent->h_addr, in rad_add_server_ex()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_console.c | 1870 struct hostent *hent; in osm_console() local 1884 if ((hent = gethostbyaddr((const char *)&sin.sin_addr, in osm_console() 1891 "%s", hent->h_name); in osm_console()
|
/freebsd/share/dict/ |
H A D | web2 | 84487 hent
|