Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/bind9/lib/isccc/
Dccmsg.c49 static void recv_length(isc_task_t *, isc_event_t *);
54 recv_length(isc_task_t *task, isc_event_t *ev_in) { in recv_length() function
194 ccmsg->task, recv_length, ccmsg); in isccc_ccmsg_readmessage()
/freebsd-9-stable/contrib/bind9/lib/dns/
Dtcpmsg.c43 static void recv_length(isc_task_t *, isc_event_t *);
48 recv_length(isc_task_t *task, isc_event_t *ev_in) { in recv_length() function
193 tcpmsg->task, recv_length, tcpmsg); in dns_tcpmsg_readmessage()
/freebsd-9-stable/contrib/ntp/ntpd/
Drefclock_leitch.c398 rbufp->recv_length, rbufp->recv_length, in leitch_receive()
401 if (rbufp->recv_length != 7) in leitch_receive()
545 if (rbufp->recv_length < 6) in leitch_get_date()
Drefclock_zyfer.c243 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length); in zyfer_receive()
244 pp->lencode += rbufp->recv_length; in zyfer_receive()
Drefclock_arc.c912 arc_last_offset = pp->lencode+rbufp->recv_length - 1; in arc_receive()
947 rbufp->recv_length); in arc_receive()
977 ((rbufp->recv_length > 1) ? "*** " : ""), in arc_receive()
978 rbufp->recv_length, in arc_receive()
1035 for(i = 0; i < rbufp->recv_length; i++) { in arc_receive()
Drefclock_palisade.c1015 memcpy(buf+p,rbufp->recv_space.X_recv_buffer, rbufp->recv_length); in praecis_parse()
1016 p += rbufp->recv_length; in praecis_parse()
1057 d = c + rbufp->recv_length; in palisade_io()
Dntp_refclock.c590 spend = sp + rbufp->recv_length; in refclock_gtlin()
642 if (bmax > rbufp->recv_length) in refclock_gtraw()
643 bmax = rbufp->recv_length; in refclock_gtraw()
Drefclock_fg.c241 if (rbufp->recv_length < (LENFG - 2)) { in fg_receive()
Drefclock_irig.c430 DTOLFP((double)rbufp->recv_length / SECOND, &ltemp); in irig_receive()
434 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) { in irig_receive()
Dntp_control.c1191 if (rbufp->recv_length < (int)CTL_HEADER_LEN in process_control()
1195 if (rbufp->recv_length < (int)CTL_HEADER_LEN) in process_control()
1239 if ((rbufp->recv_length & 0x3) != 0) in process_control()
1241 rbufp->recv_length)); in process_control()
1247 req_data = rbufp->recv_length - CTL_HEADER_LEN; in process_control()
1248 if (req_data < req_count || rbufp->recv_length & 0x3) { in process_control()
1258 maclen = rbufp->recv_length - properlen; in process_control()
1259 if ((rbufp->recv_length & 3) == 0 && in process_control()
1266 rbufp->recv_length, properlen, res_keyid, in process_control()
1272 rbufp->recv_length - maclen, in process_control()
Dntp_proto.c292 if (rbufp->recv_length == base_packet_length) { in valid_NAK()
296 remainder_size = rbufp->recv_length - base_packet_length; in valid_NAK()
722 has_mac = rbufp->recv_length - authlen; in receive()
743 || (int)len + authlen > rbufp->recv_length) { in receive()
2109 process_packet(peer, pkt, rbufp->recv_length); in receive()
4219 if (rbufp->recv_length == sendlen) { in fast_xmit()
4252 if ((size_t)rbufp->recv_length > sendlen + MAX_MAC_LEN) { in fast_xmit()
Drefclock_msfees.c679 dpend = dpt + rbufp->recv_length; in ees_receive()
680 if ((dbg & DB_LOG_AWAITMORE) && (rbufp->recv_length != LENEESCODE)) in ees_receive()
681 printf("[%d] ", rbufp->recv_length); in ees_receive()
Drefclock_datum.c510 dpend = rbufp->recv_length; in datum_pts_receive()
Drefclock_parse.c2053 if (rbufp->recv_length != sizeof(parsetime_t)) in stream_receive()
2057 CLK_UNIT(parse->peer), rbufp->recv_length, (int)sizeof(parsetime_t)); in stream_receive()
2208 count = rbufp->recv_length; in local_input()
2374 buf->recv_length = sizeof(parsetime_t); in local_input()
2398 rbufp->recv_length = sizeof(parsetime_t); in local_input()
2421 if (rbufp->recv_length != sizeof(parsetime_t)) in local_receive()
2425 CLK_UNIT(parse->peer), rbufp->recv_length, (int)sizeof(parsetime_t)); in local_receive()
Dntpsim.c346 rbuf.recv_length = LEN_PKT_NOMAC; in simulate_server()
Drefclock_chu.c672 DTOLFP((double)rbufp->recv_length / SECOND, &ltemp); in chu_audio_receive()
676 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) { in chu_audio_receive()
Drefclock_oncore.c1446 rbufp->recv_length); in oncore_receive()
1448 for (i = 0; i < rbufp->recv_length; i++) { in oncore_receive()
1455 for (i = 0; i < rbufp->recv_length; i++) { in oncore_receive()
1463 i = rbufp->recv_length; in oncore_receive()
Dntp_io.c3258 rb->recv_length = buflen;
3449 rb->recv_length = recvfrom(fd, (char *)&rb->recv_space,
3462 rb->recv_length = recvmsg(fd, &msghdr, 0);
3465 buflen = rb->recv_length;
Drefclock_gpsdjson.c661 (size_t)rbufp->recv_length); in gpsd_receive()
672 esrc = psrc + rbufp->recv_length; in gpsd_receive()
Drefclock_wwv.c810 DTOLFP((double)rbufp->recv_length / WWV_SEC, &ltemp); in wwv_receive()
814 for (bufcnt = 0; bufcnt < rbufp->recv_length; bufcnt++) { in wwv_receive()
Drefclock_jupiter.c543 bpcnt = rbufp->recv_length; in jupiter_receive()
Drefclock_ripencc.c922 printf("ripencc_receive: len %d\n", rbufp->recv_length); in ripencc_receive()
924 i <= rbufp->recv_length; in ripencc_receive()
935 i=rbufp->recv_length; in ripencc_receive()
Dntp_request.c431 recv_len = rbufp->recv_length; in process_private()
451 || (++ec, rbufp->recv_length < (int)REQ_LEN_HDR) in process_private()
/freebsd-9-stable/contrib/ntp/include/
Drecvbuff.h69 int recv_length; /* number of octets received */ member
/freebsd-9-stable/contrib/ntp/ntpdate/
Dntpdate.c752 if (rbufp->recv_length == LEN_PKT_NOMAC) in receive()
754 else if (rbufp->recv_length >= (int)LEN_PKT_NOMAC) in receive()
759 rbufp->recv_length); in receive()
811 LEN_PKT_NOMAC, (size_t)(rbufp->recv_length - LEN_PKT_NOMAC))); in receive()
815 (size_t)(rbufp->recv_length - LEN_PKT_NOMAC))) in receive()
1979 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt, in input_handler()
1982 if (rb->recv_length == -1) { in input_handler()

12