Home
last modified time | relevance | path

Searched refs:nobytes (Results 1 – 2 of 2) sorted by relevance

/external/qemu/slirp/
Dtftp.c179 int nobytes; in tftp_send_error() local
203 nobytes = 2; in tftp_send_error()
222 int nobytes; in tftp_send_data() local
249 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()
/external/qemu/slirp-android/
Dtftp.c181 int nobytes; in tftp_send_error() local
207 nobytes = 2; in tftp_send_error()
226 int nobytes; in tftp_send_data() local
255 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()