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

PTP Follow_Up (ptp_follow_up)

下位レイヤからの到達

下位レイヤ判別フィールド値
ethernet2ethertype35063 (0x88f7)
dot1qethertype35063 (0x88f7)
dot1adethertype35063 (0x88f7)
udpdst_port / src_port320 (0x0140)
ptpmessage_type8 (このレイヤを読み直す)

フィールド

フィールド型既定値Auto説明
major_sdo_iduint(4)0majorSdoId(IEEE 1588-2008 の transportSpecific)。既定プロファイルは 0、IEEE 802.1AS(gPTP)は 1。
message_typeenum(4)8 (follow_up)メッセージタイプ: 0 Sync、1 Delay_Req、2 Pdelay_Req、3 Pdelay_Resp、8 Follow_Up、9 Delay_Resp、10 Pdelay_Resp_Follow_Up、11 Announce、12 Signaling、13 Management。
minor_versionuint(4)0minorVersionPTP(IEEE 1588-2008 では 0、IEEE 1588-2019 では 1)。
versionuint(4)2versionPTP(2)。
message_lengthuint(16)ヘッダとペイロードの長さ (オクテット単位)TLV を含むメッセージ全体のオクテット長(自動)。
domain_numberuint(8)0ドメイン番号。
minor_sdo_iduint(8)0minorSdoId(IEEE 1588-2008 では予約、0)。
flagsflags(16)0x0フラグ: 1 オクテット目に alternateMaster、twoStep、unicast、プロファイル固有ビット、セキュリティビット、2 オクテット目に leap61、leap59、currentUtcOffsetValid、ptpTimescale、timeTraceable、frequencyTraceable、synchronizationUncertain。
correction_fieldint(64)0補正値(ナノ秒 × 2^16、符号付き)。
message_type_specificuint(32)0メッセージタイプ固有フィールド(IEEE 1588-2008 では予約、0)。
clock_identityuint(64)144116287553929217送信元ポートのクロック ID(EUI-64。MAC アドレスの中央に ff:fe を挟んだ値など)。
port_numberuint(16)1送信元ポートのポート番号。
sequence_iduint(16)0シーケンス ID。Follow_Up / Delay_Resp / Pdelay_Resp は応答先メッセージの値をコピーする。
control_fieldenum(8)2 (follow_up)制御フィールド(IEEE 1588 バージョン 1 互換): 0 Sync、1 Delay_Req、2 Follow_Up、3 Delay_Resp、4 Management、5 その他。
log_message_intervalint(8)0メッセージ間隔(秒)の log2(符号付き。該当しない場合は 0x7f)。
precise_origin_timestamp_secondsuint(48)0タイムスタンプ: 秒(48 ビット)。
precise_origin_timestamp_nanosecondsuint(32)0タイムスタンプ: ナノ秒(32 ビット)。
tlvstlv — message_length - 44 オクテット[]TLV(16 ビット型、値の 16 ビット長、自動): Management、Management Error Status、Organization Extension、ユニキャストネゴシエーション(Request / Grant / Cancel / Acknowledge Cancel)、Path Trace、Alternate Time Offset Indicator。メッセージ長で終わる。

message_type

値名前
0sync
1delay_req
2pdelay_req
3pdelay_resp
8follow_up
9delay_resp
10pdelay_resp_follow_up
11announce
12signaling
13management

flags

ビットマスク名前
1532768 (0x8000)security
1416384 (0x4000)profile_specific_2
138192 (0x2000)profile_specific_1
101024 (0x0400)unicast
9512 (0x0200)two_step
8256 (0x0100)alternate_master
664 (0x0040)synchronization_uncertain
532 (0x0020)frequency_traceable
416 (0x0010)time_traceable
38 (0x0008)ptp_timescale
24 (0x0004)current_utc_offset_valid
12 (0x0002)leap59
01 (0x0001)leap61

control_field

値名前
0 (0x00)sync
1 (0x01)delay_req
2 (0x02)follow_up
3 (0x03)delay_resp
4 (0x04)management
5 (0x05)other

tlvs

  • タイプ 16 ビット、長さ 16 ビット。
  • 長さは値の部分だけを数えます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
1 (0x0001)managementmanagement_id, data_field
2 (0x0002)management_error_statusmanagement_error_id, management_id, reserved, display_data
3 (0x0003)organization_extensionorganization_id, organization_sub_type, data_field
4 (0x0004)request_unicast_transmissionmessage_type, reserved, log_inter_message_period, duration_field
5 (0x0005)grant_unicast_transmissionmessage_type, reserved, log_inter_message_period, duration_field, reserved2, reserved3, renewal_invited
6 (0x0006)cancel_unicast_transmissionmessage_type, reserved, reserved2
7 (0x0007)acknowledge_cancel_unicast_transmissionmessage_type, reserved, reserved2
8 (0x0008)path_tracepath_sequence
9 (0x0009)alternate_time_offset_indicatorkey_field, current_offset, jump_seconds, time_of_next_jump, display_name_length, display_name, pad

tlvs › management

フィールド型既定値Auto説明
management_idenum(16)8192 (default_data_set)
data_fieldbytes — PDU の残りすべて
tlvs › management › management_id
値名前
0 (0x0000)null_management
1 (0x0001)clock_description
2 (0x0002)user_description
8192 (0x2000)default_data_set
8193 (0x2001)current_data_set
8194 (0x2002)parent_data_set
8195 (0x2003)time_properties_data_set
8196 (0x2004)port_data_set
8197 (0x2005)priority1
8198 (0x2006)priority2
8199 (0x2007)domain
8200 (0x2008)slave_only
8201 (0x2009)log_announce_interval
8205 (0x200d)log_sync_interval
8213 (0x2015)utc_properties

tlvs › management_error_status

フィールド型既定値Auto説明
management_error_idenum(16)
management_idenum(16)
reserveduint(32)0
display_databytes — PDU の残りすべて
tlvs › management_error_status › management_error_id
値名前
1 (0x0001)response_too_big
2 (0x0002)no_such_id
3 (0x0003)wrong_length
4 (0x0004)wrong_value
5 (0x0005)not_setable
6 (0x0006)not_supported
65534 (0xfffe)general_error
tlvs › management_error_status › management_id
値名前
0 (0x0000)null_management
1 (0x0001)clock_description
2 (0x0002)user_description
8192 (0x2000)default_data_set
8193 (0x2001)current_data_set
8194 (0x2002)parent_data_set
8195 (0x2003)time_properties_data_set
8196 (0x2004)port_data_set
8197 (0x2005)priority1
8198 (0x2006)priority2
8199 (0x2007)domain
8200 (0x2008)slave_only
8201 (0x2009)log_announce_interval
8205 (0x200d)log_sync_interval
8213 (0x2015)utc_properties

tlvs › organization_extension

フィールド型既定値Auto説明
organization_iduint(24)
organization_sub_typeuint(24)
data_fieldbytes — PDU の残りすべて

tlvs › request_unicast_transmission

フィールド型既定値Auto説明
message_typeenum(4)11 (announce)
reserveduint(4)0
log_inter_message_periodint(8)1
duration_fielduint(32)300
tlvs › request_unicast_transmission › message_type
値名前
0sync
1delay_req
2pdelay_req
3pdelay_resp
8follow_up
9delay_resp
10pdelay_resp_follow_up
11announce
12signaling
13management

tlvs › grant_unicast_transmission

フィールド型既定値Auto説明
message_typeenum(4)11 (announce)
reserveduint(4)0
log_inter_message_periodint(8)1
duration_fielduint(32)300
reserved2uint(8)0
reserved3uint(7)0
renewal_inviteduint(1)0
tlvs › grant_unicast_transmission › message_type
値名前
0sync
1delay_req
2pdelay_req
3pdelay_resp
8follow_up
9delay_resp
10pdelay_resp_follow_up
11announce
12signaling
13management

tlvs › cancel_unicast_transmission

フィールド型既定値Auto説明
message_typeenum(4)11 (announce)
reserveduint(4)0
reserved2uint(8)0
tlvs › cancel_unicast_transmission › message_type
値名前
0sync
1delay_req
2pdelay_req
3pdelay_resp
8follow_up
9delay_resp
10pdelay_resp_follow_up
11announce
12signaling
13management

tlvs › acknowledge_cancel_unicast_transmission

フィールド型既定値Auto説明
message_typeenum(4)11 (announce)
reserveduint(4)0
reserved2uint(8)0
tlvs › acknowledge_cancel_unicast_transmission › message_type
値名前
0sync
1delay_req
2pdelay_req
3pdelay_resp
8follow_up
9delay_resp
10pdelay_resp_follow_up
11announce
12signaling
13management

tlvs › path_trace

フィールド型既定値Auto説明
path_sequencelist<uint(64)> — PDU の残りすべて

tlvs › alternate_time_offset_indicator

フィールド型既定値Auto説明
key_fielduint(8)0
current_offsetint(32)0
jump_secondsint(32)0
time_of_next_jumpuint(48)0
display_name_lengthuint(8)display_name のオクテット長
display_namebytes — display_name_length オクテット
padbytes — PDU の残りすべて

制約

レベル規則
警告version が 2

サンプルテンプレート