| /freebsd-13.1/stand/libofw/ |
| H A D | ofw_net.c | 93 size_t sendlen; in ofwn_put() local 105 sendlen = len; in ofwn_put() 106 if (sendlen < 60) { in ofwn_put() 107 sendlen = 60; in ofwn_put() 109 printf("netif_put: length padded to %d\n", sendlen); in ofwn_put() 114 bcopy(pkt, dmabuf, sendlen); in ofwn_put()
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntp_signd.c | 146 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 D | ntp_proto.c | 4065 size_t sendlen, authlen; in peer_xmit() local 4097 sendlen = LEN_PKT_NOMAC; in peer_xmit() 4132 &xpkt, sendlen); in peer_xmit() 4432 sendlen += authlen; in peer_xmit() 4444 &xpkt, sendlen); in peer_xmit() 4513 size_t sendlen; in fast_xmit() local 4689 sendlen = LEN_PKT_NOMAC; in fast_xmit() 4692 sendlen); in fast_xmit() 4696 (u_long)sendlen)); in fast_xmit() 4738 sendlen += authencrypt(xkeyid, (u_int32 *)&xpkt, sendlen); in fast_xmit() [all …]
|
| H A D | ntp_control.c | 1405 size_t sendlen; in ctl_flushpkt() local 1419 sendlen = dlen + CTL_HEADER_LEN; in ctl_flushpkt() 1424 while (sendlen & 0x3) { in ctl_flushpkt() 1426 sendlen++; in ctl_flushpkt() 1448 (struct pkt *)&rpkt, sendlen); in ctl_flushpkt() 1456 totlen = sendlen; in ctl_flushpkt() 1474 (struct pkt *)&rpkt, sendlen); in ctl_flushpkt()
|
| /freebsd-13.1/stand/uboot/lib/ |
| H A D | net.c | 240 size_t sendlen; in net_put() local 254 sendlen = ETHER_MIN_LEN - ETHER_CRC_LEN; in net_put() 255 bzero(sc->sc_txbufp, sendlen); in net_put() 257 sendlen = len; in net_put() 261 rv = ub_dev_send(sc->sc_handle, sc->sc_txbufp, sendlen); in net_put()
|
| /freebsd-13.1/sbin/ipf/ipfsync/ |
| H A D | ipfsyncd.c | 521 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-13.1/contrib/ipfilter/tools/ |
| H A D | ipfsyncd.c | 521 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-13.1/contrib/unbound/dnstap/ |
| H A D | dtstream.c | 837 uint32_t sendlen = htonl(dtio->cur_msg_len); in dtio_write_with_writev() local 840 iov[0].iov_base = ((uint8_t*)&sendlen)+dtio->cur_msg_len_done; in dtio_write_with_writev() 841 iov[0].iov_len = sizeof(sendlen)-dtio->cur_msg_len_done; in dtio_write_with_writev() 884 uint32_t sendlen; in dtio_write_more_of_len() local 894 sendlen = htonl(dtio->cur_msg_len); in dtio_write_more_of_len() 896 ((uint8_t*)&sendlen)+dtio->cur_msg_len_done, in dtio_write_more_of_len() 897 sizeof(sendlen)-dtio->cur_msg_len_done); in dtio_write_more_of_len()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | sctputil.c | 548 sctp_log_block(uint8_t from, struct sctp_association *asoc, ssize_t sendlen) in sctp_log_block() argument 559 sctp_clog.x.blk.sndlen = (uint32_t)sendlen; in sctp_log_block()
|
| /freebsd-13.1/contrib/ntp/ |
| H A D | CommitLog-4.1.0 | 1022 sendlen > LEN_PKT_NOMAC.
|