Searched refs:recv_length (Results 1 - 24 of 24) sorted by relevance
/freebsd-10.0-release/contrib/ntp/include/ |
H A D | recvbuff.h | 75 int recv_length; /* number of octets received */ member in struct:recvbuf
|
/freebsd-10.0-release/contrib/ntp/ntpd/ |
H A D | refclock_zyfer.c | 251 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length); 252 pp->lencode += rbufp->recv_length;
|
H A D | refclock_leitch.c | 424 rbufp->recv_length, rbufp->recv_length, 427 if (rbufp->recv_length != 7) 571 if (rbufp->recv_length < 6)
|
H A D | refclock_arc.c | 896 arc_last_offset = pp->lencode+rbufp->recv_length - 1; 931 rbufp->recv_length); 961 ((rbufp->recv_length > 1) ? "*** " : ""), 962 rbufp->recv_length, 1019 for(i = 0; i < rbufp->recv_length; i++) {
|
H A D | refclock_palisade.c | 677 memcpy(buf+p,rbufp->recv_space.X_recv_buffer, rbufp->recv_length); 678 p += rbufp->recv_length; 725 d = c + rbufp->recv_length;
|
H A D | ntpsim.c | 275 rbuf.recv_length = LEN_PKT_NOMAC;
|
H A D | refclock_fg.c | 249 if (rbufp->recv_length < (LENFG-2))
|
H A D | ntp_control.c | 583 if (rbufp->recv_length < CTL_HEADER_LEN 590 if (rbufp->recv_length < CTL_HEADER_LEN) 639 req_data = rbufp->recv_length - CTL_HEADER_LEN; 640 if (req_data < req_count || rbufp->recv_length & 0x3) { 648 if (debug > 2 && (rbufp->recv_length & 0x3) != 0) 650 rbufp->recv_length); 655 maclen = rbufp->recv_length - properlen; 656 if ((rbufp->recv_length & (sizeof(u_long) - 1)) == 0 && 667 rbufp->recv_length, properlen, res_keyid, maclen); 676 rbufp->recv_length [all...] |
H A D | ntp_request.c | 446 || (++ec, rbufp->recv_length < REQ_LEN_HDR) 520 (rbufp->recv_length - REQ_LEN_HDR))) { 553 if (rbufp->recv_length < (int)((REQ_LEN_HDR + 560 rbufp->recv_length - sizeof(struct req_pkt_tail)); 583 if (rbufp->recv_length > REQ_LEN_MAC) { 587 rbufp->recv_length); 590 rbufp->recv_length); 629 rbufp->recv_length - sizeof(struct req_pkt_tail) +
|
H A D | refclock_irig.c | 437 DTOLFP((double)rbufp->recv_length / SECOND, <emp); 441 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
|
H A D | refclock_msfees.c | 678 dpend = dpt + rbufp->recv_length; 679 if ((dbg & DB_LOG_AWAITMORE) && (rbufp->recv_length != LENEESCODE)) 680 printf("[%d] ", rbufp->recv_length);
|
H A D | refclock_datum.c | 605 dpend = rbufp->recv_length;
|
H A D | refclock_parse.c | 1901 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 D | ntp_io.c | 2885 rb->recv_length = buflen; 3016 rb->recv_length = recvfrom(fd, 3031 rb->recv_length = recvmsg(fd, &msghdr, 0); 3034 buflen = rb->recv_length;
|
H A D | ntp_proto.c | 412 if (rbufp->recv_length < LEN_PKT_NOMAC) { 458 has_mac = rbufp->recv_length - authlen; 2919 if (rbufp->recv_length == sendlen) { 2956 if (rbufp->recv_length >= (int)(sendlen + MAX_MAC_LEN +
|
H A D | refclock_chu.c | 650 DTOLFP((double)rbufp->recv_length / SECOND, <emp); 654 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
|
H A D | refclock_wwv.c | 812 DTOLFP((double)rbufp->recv_length / SECOND, <emp); 816 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) {
|
H A D | ntp_refclock.c | 718 dpend = dpt + rbufp->recv_length;
|
H A D | refclock_jupiter.c | 542 bpcnt = rbufp->recv_length;
|
H A D | refclock_oncore.c | 1343 for(i=0; i<rbufp->recv_length; i++) 1347 for(i=0; i<rbufp->recv_length; i++) 1353 i = rbufp->recv_length;
|
H A D | refclock_ripencc.c | 917 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;
|
H A D | ntp_crypto.c | 410 while ((has_mac = rbufp->recv_length - authlen) > MAX_MAC_LEN) {
|
/freebsd-10.0-release/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 787 if (rbufp->recv_length == LEN_PKT_NOMAC) 789 else if (rbufp->recv_length >= LEN_PKT_NOMAC) 794 rbufp->recv_length); 846 LEN_PKT_NOMAC, (int)(rbufp->recv_length - LEN_PKT_NOMAC))); 850 (int)(rbufp->recv_length - LEN_PKT_NOMAC))) 2006 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt, 2009 if (rb->recv_length == -1) {
|
H A D | ntptimeset.c | 984 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 217 milliseconds