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 ERROR (tftp_error)

下位レイヤからの到達

下位レイヤ判別フィールド値
tftpopcode5 (0x0005) (このレイヤを読み直す)

フィールド

フィールド型既定値Auto説明
opcodeenum(16)5 (error)TFTP オペコード (1 = RRQ、2 = WRQ、3 = DATA、4 = ACK、5 = ERROR、6 = OACK)。
error_codeenum(16)1 (file_not_found)TFTP エラーコード (1 = ファイルなし、2 = アクセス違反 など)。
messagecstring"File not found"エラーメッセージ (NUL 終端)。

opcode

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

error_code

値名前
0 (0x0000)not_defined
1 (0x0001)file_not_found
2 (0x0002)access_violation
3 (0x0003)disk_full
4 (0x0004)illegal_operation
5 (0x0005)unknown_tid
6 (0x0006)file_exists
7 (0x0007)no_such_user
8 (0x0008)option_negotiation

制約

レベル規則
警告opcode が 5

サンプルテンプレート

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