Searched refs:associd (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/contrib/ntp/ntpq/
H A Dlibntpq_subs.c42 associd_t associd,
49 return doquerylist((struct varlist *)vlist, op, associd, auth,
39 ntpq_doquerylist( struct ntpq_varlist *vlist, int op, associd_t associd, int auth, u_short *rstatus, size_t *dsize, const char **datap ) argument
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 Dlibntpq.c364 * associd int requested associaton ID
374 int ntpq_get_assoc_number ( associd_t associd )
379 if (assoc_cache[i].assid == associd)
401 * associd int requested associaton ID
416 associd_t associd,
426 res = doquery(CTL_OP_READVAR, associd, 0, 0, NULL, &rstatus,
435 associd);
520 * associd int requested associaton ID
528 int ntpq_get_assoc_allvars( associd_t associd )
530 return ntpq_get_assoc_peervars ( associd )
415 ntpq_read_assoc_peervars( associd_t associd, char * resultbuf, int maxsize ) argument
657 ntpq_read_assoc_clockvars( associd_t associd, char * resultbuf, int maxsize ) argument
706 associd_t associd; local
[all...]
H A Dntpq-subs.c434 associd_t associd; local
437 associd = (associd_t)value;
438 if (0 == associd || value != associd) {
446 return associd;
620 associd_t associd,
633 return doquery(op, associd, auth, datalen, data, rstatus, dsize,
724 associd_t associd,
745 res = doquerylist(vlist, op, associd, 0, &rstatus, &dsize, &datap);
753 if (associd
617 doquerylist( struct varlist *vlist, int op, associd_t associd, int auth, u_short *rstatus, size_t *dsize, const char **datap ) argument
722 dolist( struct varlist *vlist, associd_t associd, int op, int type, FILE *fp ) argument
780 associd_t associd; local
811 associd_t associd; local
853 associd_t associd; local
893 associd_t associd; local
940 associd_t associd; local
965 associd_t associd; local
1649 doprintpeers( struct varlist *pvl, int associd, int rstatus, size_t datalen, const char *data, FILE *fp, int af ) argument
1948 dogetpeers( struct varlist *pvl, associd_t associd, FILE *fp, int af ) argument
4135 associd_t associd; local
[all...]
H A Dntpq.c898 int associd,
1099 if (ntohs(rpkt.associd) != associd) {
1101 ntohs(rpkt.associd), associd));
1290 associd_t associd,
1319 qpkt.associd = htons((u_short)associd);
1402 associd_t associd
1428 associd);
896 getresponse( int opcode, int associd, u_short *rstatus, size_t *rsize, const char **rdata, int timeo ) argument
1288 sendrequest( int opcode, associd_t associd, int auth, size_t qsize, const char *qdata ) argument
1472 doquery( int opcode, associd_t associd, int auth, size_t qsize, const char *qdata, u_short *rstatus, size_t *rsize, const char **rdata ) argument
1493 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 ) argument
[all...]
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dntptrap126 ;# a Request element looks like: pack("a4SC",addr,associd,op)
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
[all...]
H A Dntp.pl38 ;# n associd
79 local($fh,$opcode, $associd, $data,$address) = @_;
97 0, $associd,
347 ;# returns a list ($ret,$data,$status,$associd,$op,$seq,$auth_keyid)
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-11-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c307 ntpd_request(u_int op, u_int associd, const char *vars) argument
332 *ptr++ = associd >> 8;
333 *ptr++ = associd;
375 ntpd_read(uint16_t *op, uint16_t *associd, u_char **data, size_t *datalen) argument
477 /* associd */
478 *associd = *ptr++ << 8;
479 *associd |= *ptr++;
522 ntpd_dialog(u_int op, u_int associd, const char *vars, u_char **data, argument
528 if (ntpd_request(op, associd, vars) == -1)
539 if (associd !
553 uint16_t associd; local
873 parse_filt(char *val, uint16_t associd, int which) argument
928 uint16_t associd; local
[all...]
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_crypto.h145 u_int32 associd; /* association ID */ member in struct:exten
H A Dntp_control.h19 associd_t associd; /* association ID */ member in struct:ntp_control
H A Dntp_request.h393 associd_t associd; /* association ID */ member in struct:info_peer
948 associd_t associd; /* association ID */ member in struct:info_dns_assoc
H A Dntp.h260 struct peer *aid_link; /* link pointer in associd hash */
267 associd_t associd; /* association ID */ member in struct:peer
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_crypto.c78 * | associd |
439 associd_t associd; /* association ID */ local
473 // HMS: Why pkt[1] instead of ep->associd ?
474 associd = (associd_t)ntohl(pkt[1]);
476 DPRINTF(1, ("crypto_recv: flags 0x%x ext offset %d len %u code 0x%x associd %d\n",
478 associd));
493 DPRINTF(1, ("crypto_recv: possible attack detected, associd %d\n",
494 associd));
538 if (peer->assoc != associd) {
546 fp->associd
1110 associd_t associd; local
1709 crypto_args( struct peer *peer, u_int opcode, associd_t associd, char *str ) argument
[all...]
H A Dntp_peer.c70 * - peer_aid_hash is an array of lists indexed by hashed associd.
379 if (assoc == p->associd)
500 hash = p->associd & NTP_HASH_MASK;
544 mprintf_event(PEVNT_DEMOBIL, peer, "assoc %u", peer->associd);
889 peer->associd = current_association_ID;
1004 hash = peer->associd & NTP_HASH_MASK;
1010 mprintf_event(PEVNT_MOBIL, peer, "assoc %d", peer->associd);
H A Dntp_proto.c2876 DPRINTF(1, ("clock_update: at %lu sample %lu associd %d\n",
2877 current_time, peer->epoch, peer->associd));
3238 DPRINTF(1, ("peer_clear: at %ld next %ld associd %d refid %s\n",
3239 current_time, peer->nextdate, peer->associd,
4234 CRYPTO_RESP, peer->associd, NULL);
4237 CRYPTO_RESP, peer->associd, NULL);
4259 peer->associd, hostval.ptr);
4262 peer->associd, peer->issuer);
4265 crypto_ident(peer), peer->associd,
4283 peer->associd, NUL
[all...]
H A Dntp_control.c866 * Fill in the fields. We assume rpkt.sequence and rpkt.associd
1237 rpkt.associd = pkt->associd;
1241 res_associd = htons(pkt->associd);
1982 sys_peer->associd);
3226 * read_status - return either a list of associd's, or a particular
3272 a_st[n++] = htons(peer->associd);
5064 rpkt.associd = 0;
5071 rpkt.associd = htons(peer->associd);
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uathreg.h254 uint32_t associd; member in struct:uath_cmd_assoc_bss
420 uint32_t associd; member in struct:uath_cmd_set_associd
H A Dif_uath.c1937 struct uath_cmd_set_associd associd; local
1940 memset(&associd, 0, sizeof(associd));
1941 associd.defaultrateix = htobe32(1); /* XXX */
1942 associd.associd = htobe32(ni->ni_associd);
1943 associd.timoffset = htobe32(0x3b); /* XXX */
1944 IEEE80211_ADDR_COPY(associd.bssid, ni->ni_bssid);
1946 return uath_cmd_write(sc, WDCMSG_WRITE_ASSOCID, &associd,
1947 sizeof associd,
[all...]
H A Dif_rsureg.h494 uint32_t associd; member in struct:r92s_event_join_bss
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h44 uint16_t associd; member in struct:wlan_peer
/freebsd-11-stable/sys/dev/malo/
H A Dif_malohal.c722 const uint8_t bssid[IEEE80211_ADDR_LEN], uint16_t associd)
732 cmd->associd = htole16(associd);
721 malo_hal_setassocid(struct malo_hal *mh, const uint8_t bssid[IEEE80211_ADDR_LEN], uint16_t associd) argument
H A Dif_malo.h299 uint16_t associd; member in struct:malo_cmd_fw_set_aid
/freebsd-11-stable/sys/net80211/
H A Dieee80211_sta.c1576 uint16_t capinfo, associd; local
1608 associd = le16toh(*(uint16_t *)frm);
1669 ni->ni_associd = associd;
/freebsd-11-stable/usr.sbin/ntp/ntpdc/
H A Dnl.c162 printf("offsetof(associd) = %d\n",
163 (int) offsetof(struct info_peer, associd));
890 printf("offsetof(associd) = %d\n",
891 (int) offsetof(struct info_dns_assoc, associd));
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpireg.h385 uint16_t associd; member in struct:wpi_rxon

Completed in 296 milliseconds

12