Searched refs:nobytes (Results 1 – 2 of 2) sorted by relevance
179 int nobytes; in tftp_send_error() local203 nobytes = 2; in tftp_send_error()222 int nobytes; in tftp_send_data() local249 nobytes = tftp_read_data(spt, block_nr - 1, tp->x.tp_data.tp_buf, 512); in tftp_send_data()251 if (nobytes < 0) { in tftp_send_data()261 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) - in tftp_send_data()266 if (nobytes == 512) { in tftp_send_data()
181 int nobytes; in tftp_send_error() local207 nobytes = 2; in tftp_send_error()226 int nobytes; in tftp_send_data() local255 nobytes = tftp_read_data(spt, block_nr - 1, tp->x.tp_data.tp_buf, 512); in tftp_send_data()257 if (nobytes < 0) { in tftp_send_data()267 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) - in tftp_send_data()272 if (nobytes == 512) { in tftp_send_data()