Lines Matching refs:key
86 if (e1->key.hostaddr.type > e2->key.hostaddr.type)
88 else if (e1->key.hostaddr.type < e2->key.hostaddr.type)
91 l1 = e1->key.hostaddr.len;
92 l2 = e2->key.hostaddr.len;
93 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr,
99 ipaddr_gethash(nss_XbyY_key_t *key, int htsize) {
100 return (db_gethash(key->hostaddr.addr,
101 key->hostaddr.len, htsize));
108 if (inet_ntop(argp->key.hostaddr.type, argp->key.hostaddr.addr, addr,
112 (void) snprintf(whoami, len, "%s [key=%s addrtype=%d]",
114 addr, argp->key.hostaddr.type);
126 if (e1->key.ipnode.af_family > e2->key.ipnode.af_family)
128 else if (e1->key.ipnode.af_family < e2->key.ipnode.af_family)
131 l1 = strlen(e1->key.ipnode.name);
132 l2 = strlen(e2->key.ipnode.name);
133 res = strncasecmp(e1->key.ipnode.name, e2->key.ipnode.name,
139 ipname_gethash(nss_XbyY_key_t *key, int htsize) {
140 return (cis_gethash(key->ipnode.name, htsize));
145 (void) snprintf(whoami, len, "%s [key=%s:af=%d:flags=%d]",
147 argp->key.ipnode.name,
148 argp->key.ipnode.af_family,
149 argp->key.ipnode.flags);