/freebsd/contrib/ntp/ntpq/ |
H A D | libntpq.c | 374 int ntpq_get_assoc_number ( associd_t associd ) in ntpq_get_assoc_number() argument 379 if (assoc_cache[i].assid == associd) in ntpq_get_assoc_number() 416 associd_t associd, in ntpq_read_assoc_peervars() argument 426 res = doquery(CTL_OP_READVAR, associd, 0, 0, NULL, &rstatus, in ntpq_read_assoc_peervars() 435 associd); in ntpq_read_assoc_peervars() 528 int ntpq_get_assoc_allvars( associd_t associd ) in ntpq_get_assoc_allvars() argument 530 return ntpq_get_assoc_peervars ( associd ) & in ntpq_get_assoc_allvars() 531 ntpq_get_assoc_clockvars( associd ); in ntpq_get_assoc_allvars() 614 associd_t associd in ntpq_get_assoc_peervars() argument 617 peervarlen = ntpq_read_assoc_peervars(associd, peervars, in ntpq_get_assoc_peervars() [all …]
|
H A D | libntpq.h | 97 extern int ntpq_get_assoc_number ( associd_t associd ); 98 extern int ntpq_get_assoc_peervars( associd_t associd ); 99 extern int ntpq_get_assoc_clockvars( associd_t associd ); 100 extern int ntpq_get_assoc_allvars( associd_t associd ); 102 extern int ntpq_read_assoc_peervars( associd_t associd, char *resultbuf, int maxsize ); 103 extern int ntpq_read_assoc_clockvars( associd_t associd, char *resultbuf, int maxsize );
|
H A D | ntpq-subs.c | 434 associd_t associd; in checkassocid() local 437 associd = (associd_t)value; in checkassocid() 438 if (0 == associd || value != associd) { in checkassocid() 446 return associd; in checkassocid() 620 associd_t associd, in doquerylist() argument 633 return doquery(op, associd, auth, datalen, data, rstatus, dsize, in doquerylist() 724 associd_t associd, in dolist() argument 745 res = doquerylist(vlist, op, associd, 0, &rstatus, &dsize, &datap); in dolist() 753 if (associd in dolist() 780 associd_t associd; readlist() local 811 associd_t associd; writelist() local 853 associd_t associd; readvar() local 893 associd_t associd; writevar() local 940 associd_t associd; clocklist() local 965 associd_t associd; clockvar() local 1669 doprintpeers(struct varlist * pvl,int associd,int rstatus,size_t datalen,const char * data,FILE * fp,int af) doprintpeers() argument 1968 dogetpeers(struct varlist * pvl,associd_t associd,FILE * fp,int af) dogetpeers() argument 4156 associd_t associd; pstats() local [all...] |
H A D | libntpq_subs.c | 42 associd_t associd, in ntpq_doquerylist() argument 49 return doquerylist((struct varlist *)vlist, op, associd, auth, in ntpq_doquerylist()
|
H A D | ntpq-opts.def | 78 By default, @code{ntpq} now suppresses the @code{associd=...} 456 .It Ic clocklist Op Ar associd 457 .It Ic cl Op Ar associd 460 .It Ic clockvar Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,... 461 .It Ic cv Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,... 489 associd, status, pll offset, pll frequency, maximum error, 676 .It Ic pstats Ar associd 678 .Ar associd : 679 associd, status, remote host, local address, time last received, 683 .It Ic readlist Op Ar associd [all …]
|
H A D | invoke-ntpq.texi | 335 @item @code{clocklist} @code{[@kbd{associd}]} 336 @item @code{cl} @code{[@kbd{associd}]} 339 @item @code{clockvar} @code{[@kbd{associd}]} @code{[@kbd{name}@code{[=@kbd{value}]}]}@code{[,...]} 340 @item @code{cv} @code{[@kbd{associd}]} @code{[@kbd{name}@code{[=@kbd{value}]}]}@code{[,...]} 368 associd, status, pll offset, pll frequency, maximum error, 554 @item @code{pstats} @kbd{associd} 556 @kbd{associd}: 557 associd, status, remote host, local address, time last received, 561 @item @code{readlist} @code{[@kbd{associd}]} 562 @item @code{rl} @code{[@kbd{associd}]} [all...] |
H A D | ntpq.c | 927 int associd, 1128 if (ntohs(rpkt.associd) != associd) { in getresponse() 1130 ntohs(rpkt.associd), associd)); in getresponse() 1319 associd_t associd, 1348 qpkt.associd = htons((u_short)associd); in sendrequest() 1431 associd_t associd 1457 associd); in show_error_msg() 931 getresponse(int opcode,int associd,u_short * rstatus,size_t * rsize,const char ** rdata,int timeo) getresponse() argument 1323 sendrequest(int opcode,associd_t associd,int auth,size_t qsize,const char * qdata) sendrequest() argument 1435 show_error_msg(int m6resp,associd_t associd) show_error_msg() argument 1507 doquery(int opcode,associd_t associd,int auth,size_t qsize,const char * qdata,u_short * rstatus,size_t * rsize,const char ** rdata) doquery() argument 1528 doqueryex(int opcode,associd_t associd,int auth,size_t qsize,const char * qdata,u_short * rstatus,size_t * rsize,const char ** rdata,int quiet) doqueryex() argument [all...] |
/freebsd/contrib/ntp/scripts/monitoring/ |
H A D | ntptrap | 260 ($ret,$data,$status,$associd,$op,$seq,$auth_keyid) = 269 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))) unless $op == 7; 270 delete $RETRY{pack("a4SC",$from,$associd,$op)} unless $op == 7; 272 &process_response($from,$ret,$data,$status,$associd,$op,$seq,$auth_keyid); 280 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))); 345 local($from,$ret,$data,$status,$associd,$op,$seq,$auth_keyid) = @_; 352 &debug (sprintf("\nTrap %d associd %d:\n%s\n===============\n",$seq,$associd,$data)); 353 if ($associd == 0) # system event 391 push(@Requests,pack("a4SC",$from, $associd, 4)); 397 $msg .= sprintf("peer %5d ",$associd); [all …]
|
H A D | ntp.pl | 79 local($fh,$opcode, $associd, $data,$address) = @_; 97 0, $associd, 359 local($li_vn_mode,$r_e_m_op,$seq,$status,$associd,$offset,$count,$data); 370 ($li_vn_mode,$r_e_m_op,$seq,$status,$associd,$offset,$count,$data) = 402 $data,$status,$associd,&pkt_OP($r_e_m_op),$seq, 408 $data,$status,$associd,&pkt_OP($r_e_m_op),$seq, 428 @FRAGS = ($status,$associd,&pkt_OP($r_e_m_op),$seq,$auth_keyid,$r_e_m_op);
|
/freebsd/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 309 ntpd_request(u_int op, u_int associd, const char *vars) in ntpd_request() argument 334 *ptr++ = associd >> 8; in ntpd_request() 335 *ptr++ = associd; in ntpd_request() 377 ntpd_read(uint16_t *op, uint16_t *associd, u_char **data, size_t *datalen) in ntpd_read() argument 480 *associd = *ptr++ << 8; in ntpd_read() 481 *associd |= *ptr++; in ntpd_read() 524 ntpd_dialog(u_int op, u_int associd, const char *vars, u_char **data, in ntpd_dialog() argument 530 if (ntpd_request(op, associd, vars) == -1) in ntpd_dialog() 541 if (associd != rassocid) { in ntpd_dialog() 555 uint16_t associd; in ntpd_input() local [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_crypto.c | 78 * | associd | 431 associd_t associd; /* association ID */ in crypto_recv() 465 // HMS: Why pkt[1] instead of ep->associd ? in crypto_recv() 466 associd = (associd_t)ntohl(pkt[1]); in crypto_recv() 468 DPRINTF(1, ("crypto_recv: flags 0x%x ext offset %d len %u code 0x%x associd %d\n", in crypto_recv() 470 associd)); in crypto_recv() 485 DPRINTF(1, ("crypto_recv: possible attack detected, associd %d\n", in crypto_recv() 486 associd)); in crypto_recv() 530 if (peer->assoc != associd) { in crypto_recv() 538 fp->associd in crypto_recv() 439 associd_t associd; /* association ID */ crypto_recv() local 1110 associd_t associd; crypto_xmit() local 1712 crypto_args(struct peer * peer,u_int opcode,associd_t associd,char * str) crypto_args() argument [all...] |
H A D | ntp_peer.c | 70 * - peer_aid_hash is an array of lists indexed by hashed associd. 381 if (assoc == p->associd) in findpeerbyassoc() 502 hash = p->associd & NTP_HASH_MASK; in free_peer() 546 mprintf_event(PEVNT_DEMOBIL, peer, "assoc %u", peer->associd); in unpeer() 946 peer->associd = current_association_ID; in newpeer() 1059 hash = peer->associd & NTP_HASH_MASK; 1065 mprintf_event(PEVNT_MOBIL, peer, "assoc %d", peer->associd); in peer_all_reset()
|
H A D | ntp_proto.c | 2966 current_time, peer->epoch, peer->associd)); in clock_update() 3327 current_time, peer->nextdate, peer->associd, in peer_clear() 4323 CRYPTO_RESP, peer->associd, NULL); in peer_xmit() 4326 CRYPTO_RESP, peer->associd, NULL); in peer_xmit() 4348 peer->associd, hostval.ptr); in peer_xmit() 4351 peer->associd, peer->issuer); in peer_xmit() 4354 crypto_ident(peer), peer->associd, in peer_xmit() 4372 peer->associd, NULL); in peer_xmit() 4375 peer->associd, NULL); in peer_xmit() 4391 peer->associd, hostval.ptr); in peer_xmit() [all …]
|
H A D | ntp_control.c | 860 * Fill in the fields. We assume rpkt.sequence and rpkt.associd in ctl_error() 1231 rpkt.associd = pkt->associd; in process_control() 1235 res_associd = htons(pkt->associd); in process_control() 1976 sys_peer->associd); in ctl_putsys() 3220 * read_status - return either a list of associd's, or a particular 3266 a_st[n++] = htons(peer->associd); in read_status() 5053 rpkt.associd = 0; in report_event() 5060 rpkt.associd = htons(peer->associd); in report_event() [all...] |
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uathreg.h | 253 uint32_t associd; member 419 uint32_t associd; member
|
H A D | if_uath.c | 1944 struct uath_cmd_set_associd associd; in uath_write_associd() local 1947 memset(&associd, 0, sizeof(associd)); in uath_write_associd() 1948 associd.defaultrateix = htobe32(1); /* XXX */ in uath_write_associd() 1949 associd.associd = htobe32(ni->ni_associd); in uath_write_associd() 1950 associd.timoffset = htobe32(0x3b); /* XXX */ in uath_write_associd() 1951 IEEE80211_ADDR_COPY(associd.bssid, ni->ni_bssid); in uath_write_associd() 1953 return uath_cmd_write(sc, WDCMSG_WRITE_ASSOCID, &associd, in uath_write_associd() 1954 sizeof associd, 0); in uath_write_associd()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_control.h | 19 associd_t associd; /* association ID */ member
|
H A D | ntp_crypto.h | 145 u_int32 associd; /* association ID */
|
H A D | ntp_request.h | 393 associd_t associd; /* association ID */ member 948 associd_t associd; /* association ID */ member
|
/freebsd/sys/dev/malo/ |
H A D | if_malohal.c | 717 const uint8_t bssid[IEEE80211_ADDR_LEN], uint16_t associd) in malo_hal_setassocid() argument 727 cmd->associd = htole16(associd); in malo_hal_setassocid()
|
H A D | if_malo.h | 299 uint16_t associd; member
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | layout.std | 81 offsetof(associd) = 26 450 offsetof(associd) = 4
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.h | 41 uint16_t associd; member
|
/freebsd/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 162 (int) offsetof(struct info_peer, associd)); 890 (int) offsetof(struct info_dns_assoc, associd));
|
/freebsd/sys/net80211/ |
H A D | ieee80211_sta.c | 1746 uint16_t capinfo, associd; in sta_recv_mgmt() local 1778 associd = le16toh(*(uint16_t *)frm); in sta_recv_mgmt() 1846 ni->ni_associd = associd; in sta_recv_mgmt()
|