Lines Matching defs:keyid
241 keyid_t keyid; /* key identifer */
276 memcpy(&keyid, dgst, 4);
277 keyid = ntohl(keyid);
284 private, keyid, lifetime));
286 return (keyid);
313 keyid_t keyid = 0; /* next key ID */
335 keyid = ntp_random() & 0xffffffff;
336 if (keyid <= NTP_MAXKEY)
339 if (authhavekey(keyid))
358 peer->keylist[i] = keyid;
360 keyid = session_key(&dstadr->sin, &peer->srcadr, keyid,
363 if (auth_havekey(keyid) || keyid <= NTP_MAXKEY ||
379 ap->key = htonl(keyid);
398 peer->keynumber, keyid, cookie, ntohl(vp->tstamp),