Searched refs:recv_length (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.10.1/ntp-92/include/
H A Drecvbuff.h73 int recv_length; /* number of octets received */ member in struct:recvbuf
/macosx-10.10.1/ntp-92/ntpd/
H A Drefclock_zyfer.c251 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length);
252 pp->lencode += rbufp->recv_length;
H A Drefclock_leitch.c425 rbufp->recv_length, rbufp->recv_length,
428 if (rbufp->recv_length != 7)
572 if (rbufp->recv_length < 6)
H A Drefclock_arc.c898 arc_last_offset = pp->lencode+rbufp->recv_length - 1;
933 rbufp->recv_length);
963 ((rbufp->recv_length > 1) ? "*** " : ""),
964 rbufp->recv_length,
1021 for(i = 0; i < rbufp->recv_length; i++) {
H A Drefclock_fg.c249 if (rbufp->recv_length < (LENFG-2))
H A Dntp_control.c701 if (rbufp->recv_length < CTL_HEADER_LEN
705 if (rbufp->recv_length < CTL_HEADER_LEN)
747 if ((rbufp->recv_length & 0x3) != 0)
749 rbufp->recv_length));
755 req_data = rbufp->recv_length - CTL_HEADER_LEN;
756 if (req_data < req_count || rbufp->recv_length & 0x3) {
766 maclen = rbufp->recv_length - properlen;
767 if ((rbufp->recv_length & 3) == 0 &&
775 rbufp->recv_length, properlen, res_keyid,
781 rbufp->recv_length
[all...]
H A Drefclock_irig.c432 DTOLFP((double)rbufp->recv_length / SECOND, &ltemp);
436 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
H A Dntpsim.c295 rbuf.recv_length = LEN_PKT_NOMAC;
H A Drefclock_palisade.c1006 memcpy(buf+p,rbufp->recv_space.X_recv_buffer, rbufp->recv_length);
1007 p += rbufp->recv_length;
1048 d = c + rbufp->recv_length;
H A Drefclock_msfees.c678 dpend = dpt + rbufp->recv_length;
679 if ((dbg & DB_LOG_AWAITMORE) && (rbufp->recv_length != LENEESCODE))
680 printf("[%d] ", rbufp->recv_length);
H A Drefclock_datum.c607 dpend = rbufp->recv_length;
H A Drefclock_chu.c671 DTOLFP((double)rbufp->recv_length / SECOND, &ltemp);
675 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
H A Dntp_proto.c433 has_mac = rbufp->recv_length - authlen;
449 rbufp->recv_length) {
1285 process_packet(peer, pkt, rbufp->recv_length);
3311 if (rbufp->recv_length == sendlen) {
3347 if (rbufp->recv_length > sendlen + MAX_MAC_LEN) {
H A Drefclock_parse.c1901 if (rbufp->recv_length != sizeof(parsetime_t))
1905 CLK_UNIT(parse->peer), rbufp->recv_length, (int)sizeof(parsetime_t));
2052 count = rbufp->recv_length;
2218 buf->recv_length = sizeof(parsetime_t);
2235 rbufp->recv_length = sizeof(parsetime_t);
2257 if (rbufp->recv_length != sizeof(parsetime_t))
2261 CLK_UNIT(parse->peer), rbufp->recv_length, (int)sizeof(parsetime_t));
H A Dntp_io.c3107 rb->recv_length = buflen;
3249 rb->recv_length = recvfrom(fd, (char *)&rb->recv_space,
3262 rb->recv_length = recvmsg(fd, &msghdr, 0);
3265 buflen = rb->recv_length;
H A Drefclock_wwv.c814 DTOLFP((double)rbufp->recv_length / SECOND, &ltemp);
818 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
H A Dntp_refclock.c678 dpend = dpt + rbufp->recv_length;
H A Drefclock_jupiter.c542 bpcnt = rbufp->recv_length;
H A Drefclock_oncore.c1421 rbufp->recv_length);
1424 for (i = 0; i < rbufp->recv_length; i++) {
1431 for (i = 0; i < rbufp->recv_length; i++) {
1439 i = rbufp->recv_length;
H A Dntp_request.c429 recv_len = rbufp->recv_length;
449 || (++ec, rbufp->recv_length < REQ_LEN_HDR)
H A Drefclock_ripencc.c917 printf("ripencc_receive: len %d\n", rbufp->recv_length);
918 for (i=1, cp=(char*)&rbufp->recv_space; i <= rbufp->recv_length; i++, cp++) {
928 i=rbufp->recv_length;
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dtcpmsg.c42 static void recv_length(isc_task_t *, isc_event_t *);
47 recv_length(isc_task_t *task, isc_event_t *ev_in) { function
192 tcpmsg->task, recv_length, tcpmsg);
/macosx-10.10.1/bind9-45.101/bind9/lib/isccc/
H A Dccmsg.c49 static void recv_length(isc_task_t *, isc_event_t *);
54 recv_length(isc_task_t *task, isc_event_t *ev_in) { function
194 ccmsg->task, recv_length, ccmsg);
/macosx-10.10.1/ntp-92/ntpdate/
H A Dntpdate.c758 if (rbufp->recv_length == LEN_PKT_NOMAC)
760 else if (rbufp->recv_length >= LEN_PKT_NOMAC)
765 rbufp->recv_length);
817 LEN_PKT_NOMAC, (int)(rbufp->recv_length - LEN_PKT_NOMAC)));
821 (int)(rbufp->recv_length - LEN_PKT_NOMAC)))
1960 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt,
1963 if (rb->recv_length == -1) {
H A Dntptimeset.c984 if (rbufp->recv_length == LEN_PKT_NOMAC)
986 else if (rbufp->recv_length >= LEN_PKT_NOMAC)
991 rbufp->recv_length);
1046 LEN_PKT_NOMAC, (int)(rbufp->recv_length - LEN_PKT_NOMAC)));
1050 (int)(rbufp->recv_length - LEN_PKT_NOMAC)))
2048 rb->recv_length = recvfrom(fd, (char *)&rb->recv_pkt,
2051 if (rb->recv_length == -1) {

Completed in 327 milliseconds

12