/macosx-10.9.5/ntp-88/ntpq/ |
H A D | libntpq_subs.c | 46 int ntpq_doquerylist(struct varlist *vlist, int op, int associd, int auth, u_short *rstatus, int *dsize, char **datap ) argument 48 return doquerylist(vlist, op, associd, auth, rstatus, dsize, &*datap );
|
H A D | libntpq.h | 95 extern int ntpq_get_assoc_number ( int associd ); 96 extern int ntpq_get_assoc_peervars( int associd ); 97 extern int ntpq_get_assoc_clockvars( int associd ); 98 extern int ntpq_get_assoc_allvars( int associd ); 100 extern int ntpq_read_assoc_peervars( int associd, char *resultbuf, int maxsize ); 101 extern int ntpq_read_assoc_clockvars( int associd, char *resultbuf, int maxsize );
|
H A D | libntpq.c | 29 int ntpq_get_assoc_allvars( int associd ); 32 int ntpq_read_assoc_peervars( int associd, char *resultbuf, int maxsize ); 33 int ntpq_read_assoc_clockvars( int associd, char *resultbuf, int maxsize ); 34 int ntpq_get_assoc_number ( int associd ); 35 int ntpq_get_assoc_peervars( int associd ); 36 int ntpq_get_assoc_clockvars( int associd ); 365 * associd int requested associaton ID 375 int ntpq_get_assoc_number ( int associd ) 380 if (assoc_cache[i].assid == associd) 402 * associd in 415 ntpq_read_assoc_peervars( int associd, char *resultbuf, int maxsize ) argument 668 ntpq_read_assoc_clockvars( int associd, char *resultbuf, int maxsize ) argument [all...] |
H A D | ntpq-subs.c | 394 int associd, 407 return doquery(op, associd, auth, datalen, data, rstatus, 499 int associd, 520 res = doquerylist(vlist, op, associd, 0, &rstatus, &dsize, &datap); 528 if (associd == 0) 534 (type == TYPE_CLOCK) ? " clock" : "", associd); 539 fprintf(fp,"associd=%d ",associd); 554 int associd; local 557 associd 391 doquerylist( struct varlist *vlist, int op, int associd, int auth, u_short *rstatus, int *dsize, char **datap ) argument 497 dolist( struct varlist *vlist, int associd, int op, int type, FILE *fp ) argument 582 int associd; local 624 int associd; local 655 int associd; local 702 int associd; local 727 int associd; local 1242 int associd; local 1417 doprintpeers( struct varlist *pvl, int associd, int rstatus, int datalen, char *data, FILE *fp, int af ) argument 1627 dogetpeers( struct varlist *pvl, int associd, FILE *fp, int af ) argument [all...] |
H A D | ntpq.c | 830 int associd, 1000 if (ntohs(rpkt.associd) != associd) { 1003 ntohs(rpkt.associd), associd); 1215 int associd, 1245 qpkt.associd = htons((u_short)associd); 1331 int associd, 1358 res = sendrequest(opcode, associd, aut 828 getresponse( int opcode, int associd, u_short *rstatus, int *rsize, char **rdata, int timeo ) argument 1213 sendrequest( int opcode, int associd, int auth, int qsize, char *qdata ) argument 1329 doquery( int opcode, int associd, int auth, int qsize, char *qdata, u_short *rstatus, int *rsize, char **rdata ) argument [all...] |
H A D | ntpq-opts.def | 91 By default, ntpq now suppresses the associd=... line that
|
/macosx-10.9.5/ntp-88/scripts/monitoring/ |
H A D | ntptrap | 124 ;# a Request element looks like: pack("a4SC",addr,associd,op) 258 ($ret,$data,$status,$associd,$op,$seq,$auth_keyid) = 267 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))) unless $op == 7; 268 delete $RETRY{pack("a4SC",$from,$associd,$op)} unless $op == 7; 270 &process_response($from,$ret,$data,$status,$associd,$op,$seq,$auth_keyid); 278 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))); 343 local($from,$ret,$data,$status,$associd,$op,$seq,$auth_keyid) = @_; 350 &debug (sprintf("\nTrap %d associd %d:\n%s\n===============\n",$seq,$associd,$data)); 351 if ($associd [all...] |
H A D | ntp.pl | 38 ;# n associd 79 local($fh,$opcode, $associd, $data,$address) = @_; 97 0, $associd, 320 ;# returns a list ($ret,$data,$status,$associd,$op,$seq,$auth_keyid) 332 local($li_vn_mode,$r_e_m_op,$seq,$status,$associd,$offset,$count,$data); 343 ($li_vn_mode,$r_e_m_op,$seq,$status,$associd,$offset,$count,$data) = 375 $data,$status,$associd,&pkt_OP($r_e_m_op),$seq, 381 $data,$status,$associd,&pkt_OP($r_e_m_op),$seq, 401 @FRAGS = ($status,$associd,&pkt_OP($r_e_m_op),$seq,$auth_keyid,$r_e_m_op);
|
/macosx-10.9.5/ntp-88/scripts/ |
H A D | ntp-wait.in | 23 # associd=0 status=0645 leap_none, sync_ntp, ... 24 if (/^associd=0 status=(\S{4}) (\S+), (\S+),/) {
|
/macosx-10.9.5/ntp-88/ntpd/ |
H A D | ntp_crypto.c | 44 * | associd | 393 associd_t associd; /* association ID */ local 424 associd = (associd_t)ntohl(pkt[1]); 429 "crypto_recv: flags 0x%x ext offset %d len %u code 0x%x associd %d\n", 431 associd); 475 if (peer->assoc != associd) { 482 fp->associd = htonl(peer->associd); 493 if (peer->assoc != associd) 506 crypto_flags, peer->associd, fstam 1079 associd_t associd; local 1669 crypto_args( struct peer *peer, u_int opcode, associd_t associd, char *str ) argument [all...] |
H A D | ntp_proto.c | 1662 "clock_update: at %lu sample %lu associd %d\n", 1663 current_time, peer->epoch, peer->associd); 2000 "peer_clear: at %ld next %ld associd %d refid %s\n", 2001 current_time, peer->nextdate, peer->associd, 2971 CRYPTO_RESP, peer->associd, NULL); 2974 CRYPTO_RESP, peer->associd, NULL); 2996 peer->associd, sys_hostname); 2999 peer->associd, peer->issuer); 3002 crypto_ident(peer), peer->associd, 3020 peer->associd, NUL [all...] |
H A D | ntp_peer.c | 280 if (assoc == peer->associd) 401 peer_to_remove->associd); 431 hash = peer_to_remove->associd & NTP_HASH_MASK; 793 peer->associd = current_association_ID; 903 hash = peer->associd & NTP_HASH_MASK; 906 snprintf(tbuf, sizeof(tbuf), "assoc %d", peer->associd);
|
H A D | ntp_control.c | 523 * Fill in the fields. We assume rpkt.sequence and rpkt.associd 733 rpkt.associd = pkt->associd; 736 res_associd = htons(pkt->associd); 1374 sys_peer->associd); 2157 * read_status - return either a list of associd's, or a particular 2188 ass_stat[n++] = htons(peer->associd); 3003 rpkt.associd = 0; 3019 rpkt.associd = htons(peer->associd); [all...] |
H A D | ntp_request.c | 917 ip->associd = htons(pp->associd); 1490 associd_t associd; 1495 associd = dp->associd; 1496 peer = findpeerbyassoc(associd); 1514 stoa((sockaddr_u *)&peeraddr), associd,
|
/macosx-10.9.5/ntp-88/include/ |
H A D | ntp_crypto.h | 138 u_int32 associd; /* association ID */ member in struct:exten
|
H A D | ntp_control.h | 12 associd_t associd; /* association ID */ member in struct:ntp_control
|
H A D | ntp_request.h | 382 associd_t associd; /* association ID */ member in struct:info_peer 926 associd_t associd; /* association ID */ member in struct:info_dns_assoc
|
H A D | ntp.h | 251 struct peer *ass_next; /* link pointer in associd hash */ 260 associd_t associd; /* association ID */ member in struct:peer
|
/macosx-10.9.5/ntp-88/ntpdc/ |
H A D | ntpdc_ops.c | 627 pp->ppoll, pp->hpoll, (u_long)pp->keyid, pp->version, ntohs(pp->associd));
|