Home
last modified time | relevance | path

Searched refs:nssuint_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c395 nssuint_t *uptr, offv, offc; in nss_pack_key2str()
419 len = sizeof (nssuint_t); in nss_pack_key2str()
422 *(nssuint_t *)buffer = (nssuint_t)arg->key.number; in nss_pack_key2str()
426 len = sizeof (nssuint_t); in nss_pack_key2str()
429 *(nssuint_t *)buffer = (nssuint_t)arg->key.uid; in nss_pack_key2str()
433 len = sizeof (nssuint_t); in nss_pack_key2str()
436 *(nssuint_t *)buffer = (nssuint_t)arg->key.gid; in nss_pack_key2str()
443 len = ROUND_UP(len, sizeof (nssuint_t)); in nss_pack_key2str()
444 len2 = (sizeof (nssuint_t) * 2) + len; in nss_pack_key2str()
447 *(nssuint_t *)buffer = in nss_pack_key2str()
[all …]
H A Dnss_common.c1278 nssuint_t cookie;
1279 nssuint_t seq_num;
1280 nssuint_t cookie_setent;
1583 pbuf->dbd_off = (nssuint_t)off; in nss_pack_dbd()
1632 pbuf->dbd_len = (nssuint_t)len; in nss_pack_dbd()
1633 off += ROUND_UP(len, sizeof (nssuint_t)); in nss_pack_dbd()
1670 pbuf->pbufsiz = (nssuint_t)bufsize; in nss_pack()
1695 pbuf->key_off = (nssuint_t)off; in nss_pack()
1723 pbuf->key_len = (nssuint_t)len; in nss_pack()
1724 off += ROUND_UP(len, sizeof (nssuint_t)); in nss_pack()
[all …]
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h572 typedef uint64_t nssuint_t; typedef
614 nssuint_t libpriv; /* reserved (for lib/client) */
615 nssuint_t pbufsiz; /* buffer size */
616 nssuint_t dbd_off; /* IN: db desc off */
617 nssuint_t dbd_len; /* IN: db desc len */
618 nssuint_t key_off; /* IN: key off */
619 nssuint_t key_len; /* IN: key len */
620 nssuint_t data_off; /* OUT: data off */
621 nssuint_t data_len; /* OUT: data len */
622 nssuint_t ext_off; /* OUT: extended results off */
[all …]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c413 nssuint_t nttl, ttl, *pttl; /* The purpose of this API */ in _nss_dns_gethost_withttl()
436 ttl = (nssuint_t)0xFFFFFFF; /* start w/max, find smaller */ in _nss_dns_gethost_withttl()
439 bsize = pbuf->data_len - sizeof (nssuint_t); in _nss_dns_gethost_withttl()
644 nttl = (nssuint_t)ns_get32(cp); /* ttl in sec */ in _nss_dns_gethost_withttl()
754 len = ROUND_UP(blen, sizeof (nssuint_t)); in _nss_dns_gethost_withttl()
756 if (len + sizeof (nssuint_t) > pbuf->data_len) { in _nss_dns_gethost_withttl()
763 pbuf->ext_len = sizeof (nssuint_t); in _nss_dns_gethost_withttl()
765 pttl = (nssuint_t *)((void *)((char *)pbuf + pbuf->ext_off)); in _nss_dns_gethost_withttl()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_db.h87 typedef nssuint_t nscd_seq_num_t;
88 typedef nssuint_t nscd_cookie_num_t;
H A Dnscd_switch.c286 nssuint_t off; in nscd_initf()
1440 nssuint_t **cookie_num_p, nssuint_t **seqnum_p, int setent) in nscd_map_contextp()
1443 nssuint_t off; in nscd_map_contextp()
1525 nssuint_t *cookie_num_p; in nss_psetent()
1526 nssuint_t *seqnum_p; in nss_psetent()
1609 nss_getent_t *contextp, nssuint_t *cookie_num_p, in delayed_setent()
1610 nssuint_t *seqnum_p, pid_t pid) in delayed_setent()
1673 nssuint_t *cookie_num_p; in nss_pgetent()
1674 nssuint_t *seqnum_p; in nss_pgetent()
1763 nssuint_t *seqnum_p; in nss_pendent()
[all …]
H A Dnscd_frontend.c561 nssuint_t l1, l2; in validate_pheader()
H A Dcache.c1197 nssuint_t off; in nsw_config_in_phdr()
1263 ttl = *(nssuint_t *)((void *)((char *)pbuf + phdr->ext_off)); in get_dns_ttl()
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c697 nssuint_t *pttl; in _nss_mdns_gethost_withttl()
708 qdata.withttlbsize = pbuf->data_len - sizeof (nssuint_t); in _nss_mdns_gethost_withttl()
738 len = ROUND_UP(blen, sizeof (nssuint_t)); in _nss_mdns_gethost_withttl()
740 if (len + sizeof (nssuint_t) > pbuf->data_len) { in _nss_mdns_gethost_withttl()
747 pbuf->ext_len = sizeof (nssuint_t); in _nss_mdns_gethost_withttl()
751 pttl = (nssuint_t *)((void *)((char *)pbuf + pbuf->ext_off)); in _nss_mdns_gethost_withttl()