/freebsd-13-stable/usr.sbin/lpr/pac/ |
H A D | pac.c | 88 struct hent { struct 89 struct hent *h_link; /* Forward hash link */ 95 static struct hent *hashtab[HSHSIZE]; /* Hash table proper */ 103 static struct hent *enter(const char _name[]); 104 static struct hent *lookup(const char _name[]); 218 register struct hent *hp; 257 struct hent **base; 258 register struct hent *hp, **ap; 265 base = (struct hent **) calloc(sizeof hp, hcount); 296 register struct hent *h [all...] |
/freebsd-13-stable/crypto/openssl/crypto/x509/ |
H A D | by_dir.c | 254 BY_DIR_HASH htmp, *hent; local 267 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 268 k = hent->suffix; 270 hent = NULL; 276 hent = NULL; 343 if (hent == NULL) { 346 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); 348 if (hent == NULL) { 349 hent = OPENSSL_malloc(sizeof(*hent)); [all...] |
/freebsd-13-stable/usr.sbin/ypset/ |
H A D | ypset.c | 117 struct hostent *hent; local 134 hent = gethostbyname(optarg); 135 if (hent == NULL) 137 bcopy(hent->h_addr, &sin.sin_addr,
|
/freebsd-13-stable/contrib/bsnmp/lib/ |
H A D | support.c | 132 struct hostent *hent; local 136 if ((hent = gethostbyname(host)) == NULL) 138 if (hent->h_addrtype != hints->ai_family) 140 if (hent->h_addrtype != AF_INET) 160 memcpy(&s->sin_addr, hent->h_addr, 4);
|
/freebsd-13-stable/usr.bin/ypwhich/ |
H A D | ypwhich.c | 89 struct hostent *hent = NULL; local 129 hent = gethostbyaddr((char *)&ss_addr.s_addr, sizeof(ss_addr.s_addr), 131 if (hent != NULL) 132 printf("%s\n", hent->h_name); 146 struct hostent *hent; local 193 hent = gethostbyname(argv[0]); 194 if (!hent) {
|
/freebsd-13-stable/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 356 struct hostent *hent; local 389 hent = __dns_getanswer(buf, rval, q->name, q->type); 391 if (hent != NULL) { 393 hent->h_addr = (char *)q->addr; 394 hent->h_addrtype = q->addrtype; 395 hent->h_length = q->addrlen; 400 yp_send_dns_reply(q, parse(hent));
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 116 struct hostent hent; local 123 info.hp = &hent;
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_bridge.c | 503 struct ng_bridge_hent *hent; local 516 SLIST_FOREACH(hent, &priv->tab[bucket], next) { 517 const char *name = NG_HOOK_NAME(hent->host.link->hook); 523 hent->host.addr, 525 ary->hosts[i].age = hent->host.age; 527 hent->host.staleness;
|
/freebsd-13-stable/lib/libcasper/services/cap_dns/ |
H A D | cap_dns.c | 51 static struct hostent hent; variable in typeref:struct:hostent 153 hp = hostent_unpack(nvl, &hent); 179 hp = hostent_unpack(nvl, &hent);
|
/freebsd-13-stable/lib/libcasper/services/cap_net/ |
H A D | cap_net.c | 71 static struct hostent hent; variable in typeref:struct:hostent 219 hp = hostent_unpack(nvl, &hent); 245 hp = hostent_unpack(nvl, &hent);
|
/freebsd-13-stable/lib/libradius/ |
H A D | radlib.c | 436 struct hostent *hent; local 438 if ((hent = gethostbyname(host)) == NULL) { 442 memcpy(&srvp->addr.sin_addr, hent->h_addr,
|
/freebsd-13-stable/lib/libtacplus/ |
H A D | taclib.c | 781 struct hostent *hent; local 783 if ((hent = gethostbyname(host)) == NULL) { 787 memcpy(&srvp->addr.sin_addr, hent->h_addr,
|
/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_console.c | 1870 struct hostent *hent; local 1884 if ((hent = gethostbyaddr((const char *)&sin.sin_addr, 1891 "%s", hent->h_name);
|