/freebsd-12-stable/contrib/ntp/ntpd/ |
H A D | refclock_hpgps.c | 245 struct recvbuf *rbufp 269 peer = rbufp->recv_peer; 273 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
|
H A D | refclock_wwvb.c | 249 struct recvbuf *rbufp 269 peer = rbufp->recv_peer; 272 temp = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
|
H A D | ntp_peer.c | 302 struct recvbuf *rbufp, 314 srcadr = &rbufp->recv_srcadr; 320 if (p->hmode != MODE_BCLIENT && p->dstadr != rbufp->dstadr) 342 pkt = &rbufp->recv_pkt; 345 findmanycastpeer(rbufp)) 1075 struct recvbuf *rbufp /* receive buffer pointer */ 1092 pkt = &rbufp->recv_pkt; 301 findpeer( struct recvbuf *rbufp, int pkt_mode, int * action ) argument
|
H A D | refclock_msfees.c | 351 static void ees_receive P((struct recvbuf *rbufp)); 650 struct recvbuf *rbufp 677 ees = (struct eesunit *)rbufp->recv_peer->procptr->unitptr; 678 dpt = (u_char *)&rbufp->recv_space; 679 dpend = dpt + rbufp->recv_length; 680 if ((dbg & DB_LOG_AWAITMORE) && (rbufp->recv_length != LENEESCODE)) 681 printf("[%d] ", rbufp->recv_length); 691 ees->arrvtime = rbufp->recv_time; 868 ees->tz, rbufp->recv_time.l_ui, &ees->yearstart,
|
H A D | refclock_parse.c | 2043 struct recvbuf *rbufp 2049 parse = (struct parseunit *)rbufp->recv_peer->procptr->unitptr; 2053 if (rbufp->recv_length != sizeof(parsetime_t)) 2057 CLK_UNIT(parse->peer), rbufp->recv_length, (int)sizeof(parsetime_t)); 2064 (caddr_t)rbufp->recv_buffer, 2192 struct recvbuf *rbufp 2201 parse = (struct parseunit *)rbufp->recv_peer->procptr->unitptr; 2208 count = rbufp->recv_length; 2209 s = (unsigned char *)rbufp->recv_buffer; 2210 ts.fp = rbufp [all...] |
H A D | refclock_jupiter.c | 148 static void jupiter_receive (struct recvbuf * const rbufp); 530 jupiter_receive(struct recvbuf * const rbufp) argument 532 struct peer * const peer = rbufp->recv_peer; 545 bp = (u_char *)rbufp->recv_buffer; 546 bpcnt = rbufp->recv_length; 588 if ((cp = jupiter_parse_t(up, sp, rbufp->recv_time)) != NULL) {
|
H A D | refclock_acts.c | 314 struct recvbuf *rbufp 331 peer = rbufp->recv_peer; 335 refclock_gtraw(rbufp, tbuf, octets, &pp->lastrec);
|
H A D | refclock_true.c | 354 struct recvbuf *rbufp 372 peer = rbufp->recv_peer; 379 rd_lencode = refclock_gtlin(rbufp, rd_lastcode, BMAX, &rd_tmp);
|
H A D | refclock_gpsdjson.c | 649 struct recvbuf * rbufp) 652 peerT * const peer = rbufp->recv_peer; 660 log_data(peer, "recv", (const char*)rbufp->recv_buffer, 661 (size_t)rbufp->recv_length); 671 psrc = (const char*)rbufp->recv_buffer; 672 esrc = psrc + rbufp->recv_length; 686 gpsd_parse(peer, &rbufp->recv_time); 648 gpsd_receive( struct recvbuf * rbufp) argument
|
H A D | refclock_wwv.c | 787 struct recvbuf *rbufp /* receive buffer structure pointer */ 802 peer = rbufp->recv_peer; 810 DTOLFP((double)rbufp->recv_length / WWV_SEC, <emp); 811 L_SUB(&rbufp->recv_time, <emp); 812 up->timestamp = rbufp->recv_time; 813 dpt = rbufp->recv_buffer; 814 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
|
H A D | refclock_nmea.c | 1041 struct recvbuf * rbufp 1045 struct peer * const peer = rbufp->recv_peer; 1060 sp = (const char *)rbufp->recv_buffer; 1061 se = sp + rbufp->recv_length; 1078 nmea_procrec(peer, rbufp->recv_time);
|
H A D | ntp_request.c | 398 get_packet_mode(struct recvbuf *rbufp) argument 400 struct req_pkt *inpkt = (struct req_pkt *)&rbufp->recv_pkt; 410 struct recvbuf *rbufp, 431 recv_len = rbufp->recv_length; 432 inpkt = (struct req_pkt *)&rbufp->recv_pkt; 433 srcadr = &rbufp->recv_srcadr; 434 inter = rbufp->dstadr; 451 || (++ec, rbufp->recv_length < (int)REQ_LEN_HDR) 630 L_SUB(&ftmp, &rbufp->recv_time); 409 process_private( struct recvbuf *rbufp, int mod_okay ) argument
|
H A D | refclock_mx4200.c | 661 struct recvbuf *rbufp 674 peer = rbufp->recv_peer; 695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec);
|
H A D | refclock_neoclock4x.c | 444 neoclock4x_receive(struct recvbuf *rbufp) argument 457 peer = rbufp->recv_peer; 469 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec);
|
H A D | refclock_bancomm.c | 397 struct recvbuf *rbufp
|
H A D | refclock_ripencc.c | 887 ripencc_receive(struct recvbuf *rbufp) argument 907 peer = rbufp->recv_peer; 910 rd_lencode = refclock_gtlin(rbufp, rd_lastcode, BMAX, &rd_tmp); 922 printf("ripencc_receive: len %d\n", rbufp->recv_length); 923 for (i=1, cp=(char*)&rbufp->recv_space; 924 i <= rbufp->recv_length; 934 cp = (char*) &rbufp->recv_space; 935 i=rbufp->recv_length; 965 /* BLA ns_since_pps = ncc_tstmp(rbufp, &trtmp); */
|
H A D | ntp_crypto.c | 429 struct recvbuf *rbufp /* packet buffer pointer */ 463 hismode = (int)PKT_MODE((&rbufp->recv_pkt)->li_vn_mode); 464 while ((macbytes = rbufp->recv_length - authlen) > (int)MAX_MAC_LEN) { 469 pkt = (u_int32 *)&rbufp->recv_pkt + authlen / 4; 1001 rbufp->recv_time.l_ui, NULL); 1093 struct recvbuf *rbufp, /* receive buffer pointer */ 1128 srcadr_sin = &rbufp->recv_srcadr; 1090 crypto_xmit( struct peer *peer, struct pkt *xpkt, struct recvbuf *rbufp, int start, struct exten *ep, keyid_t cookie ) argument
|
H A D | refclock_oncore.c | 1429 struct recvbuf *rbufp 1437 peer = rbufp->recv_peer; 1439 p = (u_char *) &rbufp->recv_space; 1448 rbufp->recv_length); 1450 for (i = 0; i < rbufp->recv_length; i++) { 1457 for (i = 0; i < rbufp->recv_length; i++) { 1465 i = rbufp->recv_length;
|
/freebsd-12-stable/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 745 struct recvbuf *rbufp 759 printf("receive(%s)\n", stoa(&rbufp->recv_srcadr)); 764 if (rbufp->recv_length == LEN_PKT_NOMAC) 766 else if (rbufp->recv_length >= (int)LEN_PKT_NOMAC) 771 rbufp->recv_length); 775 rpkt = &(rbufp->recv_pkt); 793 server = findserver(&(rbufp->recv_srcadr)); 823 LEN_PKT_NOMAC, (size_t)(rbufp->recv_length - LEN_PKT_NOMAC))); 827 (size_t)(rbufp->recv_length - LEN_PKT_NOMAC))) 844 stoa(&rbufp [all...] |
/freebsd-12-stable/contrib/ntp/include/ |
H A D | ntp_request.h | 955 int get_packet_mode(struct recvbuf *rbufp); /* Return packet mode */
|