Home
last modified time | relevance | path

Searched refs:sendlen (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/stand/libofw/
H A Dofw_net.c95 size_t sendlen; in ofwn_put() local
107 sendlen = len; in ofwn_put()
108 if (sendlen < 60) { in ofwn_put()
109 sendlen = 60; in ofwn_put()
111 printf("netif_put: length padded to %d\n", sendlen); in ofwn_put()
116 bcopy(pkt, dmabuf, sendlen); in ofwn_put()
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_signd.c146 int fd, sendlen; in send_via_ntp_signd() local
220 sendlen = reply_len - offsetof(struct samba_key_out, pkt); in send_via_ntp_signd()
222 sendpkt(&rbufp->recv_srcadr, rbufp->dstadr, 0, xpkt, sendlen); in send_via_ntp_signd()
228 ntoa(&rbufp->recv_srcadr), xmode, xkeyid, sendlen); in send_via_ntp_signd()
H A Dntp_proto.c4153 size_t sendlen, authlen; in peer_xmit() local
4185 sendlen = LEN_PKT_NOMAC; in peer_xmit()
4220 &xpkt, sendlen); in peer_xmit()
4519 sendlen += authlen; in peer_xmit()
4531 &xpkt, sendlen); in peer_xmit()
4599 size_t sendlen; in fast_xmit() local
4788 sendlen = LEN_PKT_NOMAC; in fast_xmit()
4791 sendlen); in fast_xmit()
4795 (u_long)sendlen)); in fast_xmit()
4837 sendlen += authencrypt(xkeyid, (u_int32 *)&xpkt, sendlen); in fast_xmit()
[all …]
H A Dntp_control.c1399 size_t sendlen; in ctl_flushpkt() local
1413 sendlen = dlen + CTL_HEADER_LEN; in ctl_flushpkt()
1418 while (sendlen & 0x3) { in ctl_flushpkt()
1420 sendlen++; in ctl_flushpkt()
1442 (struct pkt *)&rpkt, sendlen); in ctl_flushpkt()
1450 totlen = sendlen; in ctl_flushpkt()
1468 (struct pkt *)&rpkt, sendlen); in ctl_flushpkt()
/freebsd-14.2/stand/uboot/
H A Dnet.c237 size_t sendlen; in net_put() local
251 sendlen = ETHER_MIN_LEN - ETHER_CRC_LEN; in net_put()
252 bzero(sc->sc_txbufp, sendlen); in net_put()
254 sendlen = len; in net_put()
258 rv = ub_dev_send(sc->sc_handle, sc->sc_txbufp, sendlen); in net_put()
/freebsd-14.2/sbin/ipf/ipfsync/
H A Dipfsyncd.c521 int sendlen; local
528 sendlen = 0;
566 sendlen += len + sizeof(*sh);
567 sh = (synchdr_t *)(buf + sendlen);
568 bytes -= sendlen;
572 n3 = send(nfd, buf, sendlen, 0);
578 debug(3, "send on %d len %d = %d\n", nfd, sendlen, n3);
/freebsd-14.2/contrib/unbound/dnstap/
H A Ddtstream.c843 uint32_t sendlen = htonl(dtio->cur_msg_len); in dtio_write_with_writev() local
846 iov[0].iov_base = ((uint8_t*)&sendlen)+dtio->cur_msg_len_done; in dtio_write_with_writev()
847 iov[0].iov_len = sizeof(sendlen)-dtio->cur_msg_len_done; in dtio_write_with_writev()
890 uint32_t sendlen; in dtio_write_more_of_len() local
900 sendlen = htonl(dtio->cur_msg_len); in dtio_write_more_of_len()
902 ((uint8_t*)&sendlen)+dtio->cur_msg_len_done, in dtio_write_more_of_len()
903 sizeof(sendlen)-dtio->cur_msg_len_done); in dtio_write_more_of_len()
/freebsd-14.2/crypto/openssl/test/
H A Dsslapitest.c10448 size_t sendlen = msglen - offset; in test_pipelining() local
10450 if (sendlen > fragsize) in test_pipelining()
10451 sendlen = fragsize; in test_pipelining()
10452 if (!TEST_true(SSL_write_ex(peerb, msg + offset, sendlen, &written)) in test_pipelining()
10453 || !TEST_size_t_eq(written, sendlen)) in test_pipelining()
/freebsd-14.2/sys/netinet/
H A Dsctputil.c545 sctp_log_block(uint8_t from, struct sctp_association *asoc, ssize_t sendlen) in sctp_log_block() argument
556 sctp_clog.x.blk.sndlen = (uint32_t)sendlen; in sctp_log_block()
/freebsd-14.2/contrib/ntp/
H A DCommitLog-4.1.01022 sendlen > LEN_PKT_NOMAC.