Searched refs:rbufp (Results 26 - 45 of 45) sorted by relevance

12

/freebsd-11.0-release/contrib/ntp/ntpd/
H A Drefclock_palisade.c123 static void praecis_parse(struct recvbuf *rbufp, struct peer *peer);
1005 struct recvbuf *rbufp,
1015 memcpy(buf+p,rbufp->recv_space.X_recv_buffer, rbufp->recv_length);
1016 p += rbufp->recv_length;
1033 struct recvbuf *rbufp
1045 peer = rbufp->recv_peer;
1051 praecis_parse(rbufp,peer);
1056 c = (char *) &rbufp->recv_space;
1057 d = c + rbufp
1004 praecis_parse( struct recvbuf *rbufp, struct peer *peer ) argument
[all...]
H A Drefclock_hpgps.c245 struct recvbuf *rbufp
269 peer = rbufp->recv_peer;
273 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
H A Drefclock_wwvb.c249 struct recvbuf *rbufp
269 peer = rbufp->recv_peer;
272 temp = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &trtmp);
H A Drefclock_msfees.c351 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 Drefclock_parse.c2043 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 Drefclock_jupiter.c155 static void jupiter_receive (struct recvbuf *rbufp);
521 jupiter_receive(struct recvbuf *rbufp) argument
538 peer = rbufp->recv_peer;
542 bp = (u_char *)rbufp->recv_buffer;
543 bpcnt = rbufp->recv_length;
557 tstamp = rbufp->recv_time;
H A Drefclock_acts.c314 struct recvbuf *rbufp
331 peer = rbufp->recv_peer;
335 refclock_gtraw(rbufp, tbuf, octets, &pp->lastrec);
H A Drefclock_true.c354 struct recvbuf *rbufp
372 peer = rbufp->recv_peer;
379 rd_lencode = refclock_gtlin(rbufp, rd_lastcode, BMAX, &rd_tmp);
H A Drefclock_gpsdjson.c649 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 Drefclock_wwv.c787 struct recvbuf *rbufp /* receive buffer structure pointer */
802 peer = rbufp->recv_peer;
810 DTOLFP((double)rbufp->recv_length / WWV_SEC, &ltemp);
811 L_SUB(&rbufp->recv_time, &ltemp);
812 up->timestamp = rbufp->recv_time;
813 dpt = rbufp->recv_buffer;
814 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
H A Dntp_request.c398 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)
629 L_SUB(&ftmp, &rbufp->recv_time);
409 process_private( struct recvbuf *rbufp, int mod_okay ) argument
H A Drefclock_bancomm.c325 struct recvbuf *rbufp
H A Drefclock_mx4200.c661 struct recvbuf *rbufp
674 peer = rbufp->recv_peer;
695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec);
H A Drefclock_neoclock4x.c444 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 Drefclock_nmea.c783 struct recvbuf * rbufp
787 struct peer * const peer = rbufp->recv_peer;
821 rd_lencode = refclock_gtlin(rbufp, rd_lastcode,
H A Drefclock_ripencc.c887 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 Dntp_crypto.c423 struct recvbuf *rbufp /* packet buffer pointer */
457 hismode = (int)PKT_MODE((&rbufp->recv_pkt)->li_vn_mode);
458 while ((macbytes = rbufp->recv_length - authlen) > (int)MAX_MAC_LEN) {
463 pkt = (u_int32 *)&rbufp->recv_pkt + authlen / 4;
995 rbufp->recv_time.l_ui, NULL);
1087 struct recvbuf *rbufp, /* receive buffer pointer */
1122 srcadr_sin = &rbufp->recv_srcadr;
1084 crypto_xmit( struct peer *peer, struct pkt *xpkt, struct recvbuf *rbufp, int start, struct exten *ep, keyid_t cookie ) argument
H A Drefclock_oncore.c1427 struct recvbuf *rbufp
1435 peer = rbufp->recv_peer;
1437 p = (u_char *) &rbufp->recv_space;
1446 rbufp->recv_length);
1448 for (i = 0; i < rbufp->recv_length; i++) {
1455 for (i = 0; i < rbufp->recv_length; i++) {
1463 i = rbufp->recv_length;
/freebsd-11.0-release/contrib/ntp/ntpdate/
H A Dntpdate.c733 struct recvbuf *rbufp
747 printf("receive(%s)\n", stoa(&rbufp->recv_srcadr));
752 if (rbufp->recv_length == LEN_PKT_NOMAC)
754 else if (rbufp->recv_length >= (int)LEN_PKT_NOMAC)
759 rbufp->recv_length);
763 rpkt = &(rbufp->recv_pkt);
781 server = findserver(&(rbufp->recv_srcadr));
811 LEN_PKT_NOMAC, (size_t)(rbufp->recv_length - LEN_PKT_NOMAC)));
815 (size_t)(rbufp->recv_length - LEN_PKT_NOMAC)))
832 stoa(&rbufp
[all...]
/freebsd-11.0-release/contrib/ntp/include/
H A Dntp_request.h950 int get_packet_mode(struct recvbuf *rbufp); /* Return packet mode */

Completed in 142 milliseconds

12