Searched refs:hent (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/usr.sbin/lpr/pac/
H A Dpac.c88 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 Dby_dir.c254 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 Dypset.c117 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 Dsupport.c132 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 Dypwhich.c89 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 Dyp_dnslookup.c356 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 Dh_hostent.c116 struct hostent hent; local
123 info.hp = &hent;
/freebsd-13-stable/sys/netgraph/
H A Dng_bridge.c503 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 Dcap_dns.c51 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 Dcap_net.c71 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 Dradlib.c436 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 Dtaclib.c781 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 Dosm_console.c1870 struct hostent *hent; local
1884 if ((hent = gethostbyaddr((const char *)&sin.sin_addr,
1891 "%s", hent->h_name);

Completed in 199 milliseconds