Home | History | Annotate | Download | only in netboot

Lines Matching refs:tr

59       struct tftp_t *tr;
103 tr = (struct tftp_t *) &nic.packet[ETH_HLEN];
104 if (tr->opcode == ntohs (TFTP_ERROR))
107 ntohs (tr->u.err.errcode),
108 tr->u.err.errmsg);
112 if (tr->opcode == ntohs (TFTP_OACK))
114 char *p = tr->u.oack.data, *e;
128 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
170 iport, ntohs (tr->udp.src),
189 else if (tr->opcode == ntohs (TFTP_DATA))
194 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
205 block = ntohs (tp.u.ack.block = tr->u.data.block);
217 oport = ntohs (tr->udp.src);
246 grub_memmove (buf + buf_read, tr->u.data.download, len);