Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TFTP DATA (tftp_data)

Reached from

Lower layerSelectorValue
tftpopcode3 (0x0003) (re-decodes this layer)

Fields

FieldTypeDefaultAutoDescription
opcodeenum(16)3 (data)TFTP opcode (1 = RRQ, 2 = WRQ, 3 = DATA, 4 = ACK, 5 = ERROR, 6 = OACK).
blockuint(16)1Block number (starting at 1).
databytes — rest of the PDU""Data octets (512 per block; a shorter block ends the transfer).

opcode

ValueName
1 (0x0001)rrq
2 (0x0002)wrq
3 (0x0003)data
4 (0x0004)ack
5 (0x0005)error
6 (0x0006)oack

Constraints

LevelRule
warningopcode = 3

Sample templates

  • tftp-data — templates/protocols/app/tftp-data.wpg.yaml