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

Payload (payload)

下位レイヤからの到達

カタログ内にこのプロトコルへ至る下位レイヤはありません。先頭レイヤとして使うか、明示的に積んでください。

パラメータ

フィールド型既定値Auto説明
modeenum(8)0 (fixed)ペイロードの生成方法: fixed (data をそのまま)、pattern (data を length まで繰り返し)、random (seed から length バイト)、counter (data にパケットごとのカウンタを埋め込み)。
databytes — PDU の残りすべて""ペイロードのオクテット列。fixed では length が 0 以外のとき切り詰め / ゼロ拡張、pattern では繰り返し単位 (空なら 00 01 02 …)。
lengthuint(32)0ペイロード長 (バイト)。0 なら data の長さのまま (fixed / counter)。
seeduint(64)0random モードの擬似乱数のシード。
counter_offsetuint(32)0counter モードで埋め込むカウンタのオクテットオフセット。
counter_widthenum(8)4 (u32)埋め込むカウンタの幅: 4 または 8 バイト (ビッグエンディアン)。
counter_valueuint(64)0ストリーム展開がパケットごとに書き込むカウンタ値 (counter モード)。

mode

値名前
0 (0x00)fixed
1 (0x01)pattern
2 (0x02)random
3 (0x03)counter

counter_width

値名前
4 (0x04)u32
8 (0x08)u64

サンプルテンプレート