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

ICMPv4 (icmpv4)

  • レイヤ: L3 (ネットワーク)
  • ヘッダ: 8 オクテット (固定長)

下位レイヤからの到達

下位レイヤ判別フィールド値
ipv4protocol1 (0x01)

フィールド

フィールド型既定値Auto説明
typeenum(8)8 (echo_request)メッセージ種別。
codeuint(8)0メッセージコード (意味は種別による)。
checksumuint(16)ヘッダとそれ以降すべてに対するインターネットチェックサムヘッダとペイロードのインターネットチェックサム (Auto)。
restbytes(4)00 00 00 00種別ごとに意味が異なる 4 バイトのヘッダ残り部分。

type

値名前
0 (0x00)echo_reply
3 (0x03)destination_unreachable
4 (0x04)source_quench
5 (0x05)redirect
8 (0x08)echo_request
9 (0x09)router_advertisement
10 (0x0a)router_solicitation
11 (0x0b)time_exceeded
12 (0x0c)parameter_problem
13 (0x0d)timestamp_request
14 (0x0e)timestamp_reply
15 (0x0f)information_request
16 (0x10)information_reply
17 (0x11)address_mask_request
18 (0x12)address_mask_reply
42 (0x2a)extended_echo_request
43 (0x2b)extended_echo_reply

制約

レベル規則
警告type が 0..43 の範囲

サンプルテンプレート