/* set the opcode in TFTP message: RRQ / WRQ / DATA / ACK / ERROR  */
void tftp_set_opcode(char *buffer, tftp_opcode opcode)
/* set the opcode in TFTP message: RRQ / WRQ / DATA / ACK / ERROR  */
void tftp_set_opcode(char *buffer, tftp_opcode opcode)
{
  buffer[0] = 0;
  buffer[1] = (u8_t)opcode;
}