Lines Matching refs:tftphdr
114 packettype(ntohs(((struct tftphdr *) in send_packet()
120 packettype(ntohs(((struct tftphdr *)(pkt))->th_opcode)), in send_packet()
139 struct tftphdr *tp; in send_error()
149 tp = (struct tftphdr *)buf; in send_error()
177 struct tftphdr *tp; in send_wrq()
189 tp = (struct tftphdr *)buf; in send_wrq()
191 size = offsetof(struct tftphdr, th_stuff); in send_wrq()
225 struct tftphdr *tp; in send_rrq()
237 tp = (struct tftphdr *)buf; in send_rrq()
239 size = offsetof(struct tftphdr, th_stuff); in send_rrq()
274 struct tftphdr *tp; in send_oack()
288 tp = (struct tftphdr *)buf; in send_oack()
321 struct tftphdr *tp; in send_ack()
330 tp = (struct tftphdr *)buf; in send_ack()
351 struct tftphdr *pkt; in send_data()
360 pkt = (struct tftphdr *)buf; in send_data()
381 struct tftphdr *pkt; in receive_packet()
391 pkt = (struct tftphdr *)data; in receive_packet()