Home
last modified time | relevance | path

Searched refs:associd (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/ntp/ntpq/
H A Dlibntpq.c374 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 Dlibntpq.h97 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 Dntpq-subs.c434 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 Dlibntpq_subs.c42 associd_t associd, in ntpq_doquerylist() argument
49 return doquerylist((struct varlist *)vlist, op, associd, auth, in ntpq_doquerylist()
H A Dntpq-opts.def78 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 Dinvoke-ntpq.texi335 @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 Dntpq.c927 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 Dntptrap260 ($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 Dntp.pl79 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 Dsnmp_ntp.c309 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 Dntp_crypto.c78 * | 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 Dntp_peer.c70 * - 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 Dntp_proto.c2966 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 Dntp_control.c860 * 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 Dif_uathreg.h253 uint32_t associd; member
419 uint32_t associd; member
H A Dif_uath.c1944 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 Dntp_control.h19 associd_t associd; /* association ID */ member
H A Dntp_crypto.h145 u_int32 associd; /* association ID */
H A Dntp_request.h393 associd_t associd; /* association ID */ member
948 associd_t associd; /* association ID */ member
/freebsd/sys/dev/malo/
H A Dif_malohal.c717 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 Dif_malo.h299 uint16_t associd; member
/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std81 offsetof(associd) = 26
450 offsetof(associd) = 4
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h41 uint16_t associd; member
/freebsd/usr.sbin/ntp/ntpdc/
H A Dnl.c162 (int) offsetof(struct info_peer, associd));
890 (int) offsetof(struct info_dns_assoc, associd));
/freebsd/sys/net80211/
H A Dieee80211_sta.c1746 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()

12