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

/external/qemu/slirp/
H A Dtftp.c179 int nobytes; local
203 nobytes = 2;
222 int nobytes; local
249 nobytes = tftp_read_data(spt, block_nr - 1, tp->x.tp_data.tp_buf, 512);
251 if (nobytes < 0) {
261 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) -
266 if (nobytes == 512) {
/external/qemu/slirp-android/
H A Dtftp.c181 int nobytes; local
207 nobytes = 2;
226 int nobytes; local
255 nobytes = tftp_read_data(spt, block_nr - 1, tp->x.tp_data.tp_buf, 512);
257 if (nobytes < 0) {
267 m->m_len = sizeof(struct tftp_t) - (512 - nobytes) -
272 if (nobytes == 512) {

Completed in 65 milliseconds