Lines Matching refs:tb_hdr
1054 ackbuf.tb_hdr.th_opcode = in tftpd_sendfile()
1055 ntohs((ushort_t)ackbuf.tb_hdr.th_opcode); in tftpd_sendfile()
1056 ackbuf.tb_hdr.th_block = in tftpd_sendfile()
1057 ntohs((ushort_t)ackbuf.tb_hdr.th_block); in tftpd_sendfile()
1059 if (ackbuf.tb_hdr.th_opcode == ERROR) { in tftpd_sendfile()
1063 ackbuf.tb_hdr.th_code); in tftpd_sendfile()
1067 ackbuf.tb_hdr.th_msg); in tftpd_sendfile()
1073 if (ackbuf.tb_hdr.th_opcode == ACK) { in tftpd_sendfile()
1077 ackbuf.tb_hdr.th_block); in tftpd_sendfile()
1078 if (ackbuf.tb_hdr.th_block == 0) in tftpd_sendfile()
1132 ackbuf.tb_hdr.th_opcode = in tftpd_sendfile()
1133 ntohs((ushort_t)ackbuf.tb_hdr.th_opcode); in tftpd_sendfile()
1134 ackbuf.tb_hdr.th_block = in tftpd_sendfile()
1135 ntohs((ushort_t)ackbuf.tb_hdr.th_block); in tftpd_sendfile()
1137 if (ackbuf.tb_hdr.th_opcode == ERROR) { in tftpd_sendfile()
1141 ackbuf.tb_hdr.th_code); in tftpd_sendfile()
1145 ackbuf.tb_hdr.th_msg); in tftpd_sendfile()
1151 if (ackbuf.tb_hdr.th_opcode == ACK) { in tftpd_sendfile()
1155 ackbuf.tb_hdr.th_block); in tftpd_sendfile()
1156 if (ackbuf.tb_hdr.th_block == block) { in tftpd_sendfile()
1194 ap = &ackbuf.tb_hdr; in tftpd_recvfile()