Searched refs:sendlen (Results 1 – 7 of 7) sorted by relevance
| /openbsd/src/sys/arch/macppc/stand/ |
| D | netif_of.c | 148 size_t sendlen; in netif_put() local 165 sendlen = len; in netif_put() 166 if (sendlen < 60) { in netif_put() 167 sendlen = 60; in netif_put() 169 printf("netif_put: length padded to %d\n", sendlen); in netif_put() 174 bcopy(pkt, op->dmabuf, sendlen); in netif_put() 177 rv = OF_write(op->handle, pkt, sendlen); in netif_put()
|
| /openbsd/src/sys/arch/sparc64/stand/ofwboot/ |
| D | netif_of.c | 132 size_t sendlen; in netif_put() local 143 sendlen = len; in netif_put() 144 if (sendlen < 60) { in netif_put() 145 sendlen = 60; in netif_put() 147 sendlen); in netif_put() 150 rv = OF_write(op->handle, pkt, sendlen); in netif_put()
|
| /openbsd/src/usr.sbin/mrouted/ |
| D | rsrr.c | 79 static int rsrr_send(int sendlen); 200 int vifi, sendlen; in rsrr_accept_iq() local 232 sendlen = RSRR_HEADER_LEN + numvifs*RSRR_VIF_LEN; in rsrr_accept_iq() 236 rsrr_send(sendlen); in rsrr_accept_iq() 253 int sendlen,i; in rsrr_accept_rq() local 274 sendlen = RSRR_RR_LEN; in rsrr_accept_rq() 359 return rsrr_send(sendlen); in rsrr_accept_rq() 364 rsrr_send(int sendlen) in rsrr_send() argument 369 error = sendto(rsrr_socket, rsrr_send_buf, sendlen, 0, in rsrr_send() 375 } else if (error != sendlen) { in rsrr_send() [all …]
|
| /openbsd/src/usr.sbin/dhcrelay6/ |
| D | bpf.c | 220 ssize_t sendlen; in send_packet_layer3() local 260 if ((sendlen = sendmsg(pc->pc_sd, &msg, 0)) == -1) { in send_packet_layer3() 264 if (sendlen < (ssize_t)len) in send_packet_layer3() 266 sendlen, len); in send_packet_layer3() 268 return sendlen; in send_packet_layer3()
|
| /openbsd/src/sys/dev/usb/ |
| D | if_bwfm_usb.c | 654 uint32_t rdlstate, rdlbytes, sent = 0, sendlen = 0; in bwfm_usb_load_microcode() local 687 sendlen = MIN(size - sent, TRX_RDL_CHUNK); in bwfm_usb_load_microcode() 688 memcpy(buf, ucode + sent, sendlen); in bwfm_usb_load_microcode() 690 usbd_setup_xfer(xfer, sc->sc_tx_pipeh, NULL, buf, sendlen, in bwfm_usb_load_microcode() 697 sent += sendlen; in bwfm_usb_load_microcode()
|
| /openbsd/src/usr.sbin/unbound/dnstap/ |
| D | dtstream.c | 843 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()
|
| /openbsd/src/usr.sbin/nsd/ |
| D | xfrd-tcp.c | 1022 uint16_t sendlen = htons(tcp->msglen); in conn_write_ssl() local 1026 sent = SSL_write(ssl, (const char*)&sendlen + tcp->total_bytes, in conn_write_ssl() 1092 uint16_t sendlen = htons(tcp->msglen); in conn_write() local 1095 iov[0].iov_base = (uint8_t*)&sendlen + tcp->total_bytes; in conn_write() 1096 iov[0].iov_len = sizeof(sendlen) - tcp->total_bytes; in conn_write() 1102 (const char*)&sendlen + tcp->total_bytes, in conn_write()
|