Searched refs:info_auth_keyid (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/ntpdc/ |
H A D | ntpdc.c | 61 static u_long info_auth_keyid; variable 907 if (!auth || (keyid_entered && info_auth_keyid == 0)) { 912 if (info_auth_keyid == 0) { 918 info_auth_keyid = key_id; 920 if (!authistrusted(info_auth_keyid)) { 926 authusekey(info_auth_keyid, info_auth_keytype, 928 authtrust(info_auth_keyid, 1); 953 info_auth_keyid, (void *)&qpkt, size2int_chk(reqsize)); 1727 if (info_auth_keyid == 0 && !keyid_entered) 1729 else if (info_auth_keyid [all...] |
/netbsd-current/external/bsd/ntp/dist/ntpq/ |
H A D | ntpq.c | 97 u_long info_auth_keyid = 0; variable 1164 if (key != 0 && key != info_auth_keyid) { 1359 if (info_auth_keyid == 0) { 1366 info_auth_keyid = key_id; 1368 if (!authistrusted(info_auth_keyid)) { 1374 authusekey(info_auth_keyid, info_auth_keytype, 1376 authtrust(info_auth_keyid, 1); 1382 maclen = authencrypt(info_auth_keyid, (void *)&qpkt, pktsize); 2582 if (info_auth_keyid == 0) 2585 (void) fprintf(fp, "keyid is %lu\n", (u_long)info_auth_keyid); [all...] |
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_request.c | 193 keyid_t info_auth_keyid; variable 241 info_auth_keyid = 0; /* by default, can't do this */ 542 * have used key info_auth_keyid and must have included 588 if (!INFO_IS_AUTH(inpkt->auth_seq) || !info_auth_keyid 589 || ntohl(tailinpkt->keyid) != info_auth_keyid) { 590 DPRINTF(5, ("failed auth %d info_auth_keyid %u pkt keyid %u maclen %lu\n", 592 info_auth_keyid, 596 "process_private: failed auth %d info_auth_keyid %u pkt keyid %u maclen %lu\n", 598 info_auth_keyid, 612 if (!mod_okay || !authhavekey(info_auth_keyid)) { [all...] |
H A D | ntp_config.c | 2106 DPRINTF(4, ("set info_auth_keyid to %08lx\n", 2108 info_auth_keyid = (keyid_t)ptree->auth.request_key;
|
/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | ntpd.h | 521 extern keyid_t info_auth_keyid; /* keyid used to authenticate requests */
|
Completed in 256 milliseconds