Lines Matching refs:udp
67 struct udphdr *udp) in await_tftp() argument
71 if (!udp) { in await_tftp()
76 if (ntohs(udp->dest) != ival) in await_tftp()
104 len = sizeof(tp.ip) + sizeof(tp.udp) + sizeof(tp.opcode) + in tftp_file_read()
155 len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 2; in tftp_file_read()
178 len = sizeof(tp.ip) + sizeof(tp.udp) + sizeof(tp.opcode) + sizeof(tp.u.err.errcode) + in tftp_file_read()
187 iport, ntohs(tr->udp.src), in tftp_file_read()
199 len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 4; in tftp_file_read()
212 oport = ntohs(tr->udp.src); in tftp_file_read()
315 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2; in buf_fill()
353 + sizeof (tp.ip) + sizeof (tp.udp) in buf_fill()
357 iport, ntohs (tr->udp.src), in buf_fill()
381 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4; in buf_fill()
404 oport = ntohs (tr->udp.src); in buf_fill()
623 + sizeof (tp.ip) + sizeof (tp.udp) + sizeof (tp.opcode) + 1); in tftp_dir()