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

RSVP (rsvp)

下位レイヤからの到達

下位レイヤ判別フィールド値
ipv4protocol46 (0x2e)
ipv6next_header46 (0x2e)
ipv6_hopoptsnext_header46 (0x2e)
ipv6_routenext_header46 (0x2e)
ipv6_srhnext_header46 (0x2e)
ipv6_fragnext_header46 (0x2e)
ipv6_dstoptsnext_header46 (0x2e)

フィールド

フィールド型既定値Auto説明
versionuint(4)1RSVP バージョン(1)。
flagsflags(4)0x0フラグ(ビット 0: リフレッシュ削減対応、RFC 2961)。
msg_typeenum(8)1 (path)メッセージ種別(1 Path、2 Resv、3 PathErr、4 ResvErr、5 PathTear、6 ResvTear、7 ResvConf、12 Bundle、13 Ack、15 Srefresh、20 Hello)。
checksumuint(16)ヘッダに対するインターネットチェックサムこのフィールドを 0 としたメッセージ全体のインターネットチェックサム(Auto)。
send_ttluint(8)64メッセージ送出時の IP TTL。
reserveduint(8)0予約(0)。
lengthuint(16)ヘッダの長さ (オクテット単位)共通ヘッダを含むメッセージ全体のオクテット長(Auto)。
objectstlv — length - 8 オクテット7 要素オブジェクト(4 オクテットのヘッダを含む 16 ビット長、Class-Num、C-Type): SESSION、RSVP_HOP、TIME_VALUES、ERROR_SPEC、SCOPE、STYLE、FLOWSPEC、FILTER_SPEC、SENDER_TEMPLATE、SENDER_TSPEC、RESV_CONFIRM、LABEL、LABEL_REQUEST、EXPLICIT_ROUTE、RECORD_ROUTE、HELLO、MESSAGE_ID、SESSION_ATTRIBUTE。長さ・セッション名の長さと詰め物は Auto。

flags

ビットマスク名前
01refresh_reduction_capable

msg_type

値名前
1 (0x01)path
2 (0x02)resv
3 (0x03)path_err
4 (0x04)resv_err
5 (0x05)path_tear
6 (0x06)resv_tear
7 (0x07)resv_conf
12 (0x0c)bundle
13 (0x0d)ack
15 (0x0f)srefresh
20 (0x14)hello

objects

  • タイプ 16 ビット、長さ 16 ビット。
  • 長さがタイプより前にあります。
  • 長さはタイプと長さのフィールドも含みます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
257 (0x0101)session_ipv4destination, protocol_id, flags, destination_port
258 (0x0102)session_ipv6destination, protocol_id, flags, destination_port
263 (0x0107)session_lsp_tunnel_ipv4tunnel_endpoint, reserved, tunnel_id, extended_tunnel_id
264 (0x0108)session_lsp_tunnel_ipv6tunnel_endpoint, reserved, tunnel_id, extended_tunnel_id
769 (0x0301)rsvp_hop_ipv4address, logical_interface_handle
770 (0x0302)rsvp_hop_ipv6address, logical_interface_handle
1281 (0x0501)time_valuesrefresh_period
1537 (0x0601)error_spec_ipv4node_address, flags, error_code, error_value
1538 (0x0602)error_spec_ipv6node_address, flags, error_code, error_value
1793 (0x0701)scope_ipv4addresses
2049 (0x0801)styleflags, reserved, sharing, sender_selection
2306 (0x0902)flowspecversion, reserved, overall_length, service_number, service_reserved, service_length, parameter_id, parameter_flags, parameter_length, token_bucket_rate, token_bucket_size, peak_data_rate, minimum_policed_unit, maximum_packet_size, parameters
2561 (0x0a01)filter_spec_ipv4source_address, reserved, source_port
2567 (0x0a07)filter_spec_lsp_tunnel_ipv4sender_address, reserved, lsp_id
2568 (0x0a08)filter_spec_lsp_tunnel_ipv6sender_address, reserved, lsp_id
2817 (0x0b01)sender_template_ipv4source_address, reserved, source_port
2823 (0x0b07)sender_template_lsp_tunnel_ipv4sender_address, reserved, lsp_id
2824 (0x0b08)sender_template_lsp_tunnel_ipv6sender_address, reserved, lsp_id
3074 (0x0c02)sender_tspecversion, reserved, overall_length, service_number, service_reserved, service_length, parameter_id, parameter_flags, parameter_length, token_bucket_rate, token_bucket_size, peak_data_rate, minimum_policed_unit, maximum_packet_size, parameters
3841 (0x0f01)resv_confirm_ipv4receiver_address
4097 (0x1001)labellabel
4865 (0x1301)label_requestreserved, l3pid
5121 (0x1401)explicit_routesubobjects
5377 (0x1501)record_routesubobjects
5633 (0x1601)hello_requestsource_instance, destination_instance
5634 (0x1602)hello_acksource_instance, destination_instance
5889 (0x1701)message_idflags, epoch, message_id
6145 (0x1801)message_id_ackflags, epoch, message_id
6146 (0x1802)message_id_nackflags, epoch, message_id
52993 (0xcf01)session_attribute_raexclude_any, include_any, include_all, setup_priority, holding_priority, flags, name_length, name, padding
52999 (0xcf07)session_attributesetup_priority, holding_priority, flags, name_length, name, padding

objects › session_ipv4

フィールド型既定値Auto説明
destinationipv4192.0.2.2
protocol_iduint(8)17
flagsuint(8)0
destination_portuint(16)

objects › session_ipv6

フィールド型既定値Auto説明
destinationipv6
protocol_iduint(8)17
flagsuint(8)0
destination_portuint(16)

objects › session_lsp_tunnel_ipv4

フィールド型既定値Auto説明
tunnel_endpointipv4192.0.2.2
reserveduint(16)0
tunnel_iduint(16)1
extended_tunnel_idipv4192.0.2.1

objects › session_lsp_tunnel_ipv6

フィールド型既定値Auto説明
tunnel_endpointipv6
reserveduint(16)0
tunnel_iduint(16)1
extended_tunnel_idipv6

objects › rsvp_hop_ipv4

フィールド型既定値Auto説明
addressipv4192.0.2.1
logical_interface_handleuint(32)

objects › rsvp_hop_ipv6

フィールド型既定値Auto説明
addressipv6
logical_interface_handleuint(32)

objects › time_values

フィールド型既定値Auto説明
refresh_perioduint(32)30000

objects › error_spec_ipv4

フィールド型既定値Auto説明
node_addressipv4192.0.2.2
flagsuint(8)0
error_codeenum(8)0 (confirmation)
error_valueuint(16)
objects › error_spec_ipv4 › error_code
値名前
0 (0x00)confirmation
1 (0x01)admission_control_failure
2 (0x02)policy_control_failure
3 (0x03)no_path_information
4 (0x04)no_sender_information
5 (0x05)conflicting_reservation_style
6 (0x06)unknown_reservation_style
7 (0x07)conflicting_destination_ports
8 (0x08)conflicting_sender_ports
12 (0x0c)service_preempted
13 (0x0d)unknown_object_class
14 (0x0e)unknown_object_c_type
20 (0x14)api_error
21 (0x15)traffic_control_error
22 (0x16)traffic_control_system_error
23 (0x17)rsvp_system_error
24 (0x18)routing_problem
25 (0x19)notify

objects › error_spec_ipv6

フィールド型既定値Auto説明
node_addressipv6
flagsuint(8)0
error_codeenum(8)0 (confirmation)
error_valueuint(16)
objects › error_spec_ipv6 › error_code
値名前
0 (0x00)confirmation
1 (0x01)admission_control_failure
2 (0x02)policy_control_failure
3 (0x03)no_path_information
4 (0x04)no_sender_information
5 (0x05)conflicting_reservation_style
6 (0x06)unknown_reservation_style
7 (0x07)conflicting_destination_ports
8 (0x08)conflicting_sender_ports
12 (0x0c)service_preempted
13 (0x0d)unknown_object_class
14 (0x0e)unknown_object_c_type
20 (0x14)api_error
21 (0x15)traffic_control_error
22 (0x16)traffic_control_system_error
23 (0x17)rsvp_system_error
24 (0x18)routing_problem
25 (0x19)notify

objects › scope_ipv4

フィールド型既定値Auto説明
addresseslist<ipv4> — PDU の残りすべて

objects › style

フィールド型既定値Auto説明
flagsuint(8)0
reserveduint(19)0
sharingenum(2)2 (shared)
sender_selectionenum(3)2 (explicit)
objects › style › sharing
値名前
1distinct
2shared
objects › style › sender_selection
値名前
1wildcard
2explicit

objects › flowspec

フィールド型既定値Auto説明
versionuint(4)0
reserveduint(12)0
overall_lengthuint(16)7
service_numberuint(8)5
service_reserveduint(8)0
service_lengthuint(16)6
parameter_iduint(8)127
parameter_flagsuint(8)0
parameter_lengthuint(16)5
token_bucket_rateuint(32)1207182336
token_bucket_sizeuint(32)1148846080
peak_data_rateuint(32)2139095040
minimum_policed_unituint(32)0
maximum_packet_sizeuint(32)1500
parametersbytes — PDU の残りすべて

objects › filter_spec_ipv4

フィールド型既定値Auto説明
source_addressipv4192.0.2.1
reserveduint(16)0
source_portuint(16)

objects › filter_spec_lsp_tunnel_ipv4

フィールド型既定値Auto説明
sender_addressipv4192.0.2.1
reserveduint(16)0
lsp_iduint(16)1

objects › filter_spec_lsp_tunnel_ipv6

フィールド型既定値Auto説明
sender_addressipv6
reserveduint(16)0
lsp_iduint(16)1

objects › sender_template_ipv4

フィールド型既定値Auto説明
source_addressipv4192.0.2.1
reserveduint(16)0
source_portuint(16)

objects › sender_template_lsp_tunnel_ipv4

フィールド型既定値Auto説明
sender_addressipv4192.0.2.1
reserveduint(16)0
lsp_iduint(16)1

objects › sender_template_lsp_tunnel_ipv6

フィールド型既定値Auto説明
sender_addressipv6
reserveduint(16)0
lsp_iduint(16)1

objects › sender_tspec

フィールド型既定値Auto説明
versionuint(4)0
reserveduint(12)0
overall_lengthuint(16)7
service_numberuint(8)1
service_reserveduint(8)0
service_lengthuint(16)6
parameter_iduint(8)127
parameter_flagsuint(8)0
parameter_lengthuint(16)5
token_bucket_rateuint(32)1207182336
token_bucket_sizeuint(32)1148846080
peak_data_rateuint(32)2139095040
minimum_policed_unituint(32)0
maximum_packet_sizeuint(32)1500
parametersbytes — PDU の残りすべて

objects › resv_confirm_ipv4

フィールド型既定値Auto説明
receiver_addressipv4192.0.2.2

objects › label

フィールド型既定値Auto説明
labeluint(32)16

objects › label_request

フィールド型既定値Auto説明
reserveduint(16)0
l3piduint(16)2048

objects › explicit_route

フィールド型既定値Auto説明
subobjectstlv — PDU の残りすべて
objects › explicit_route › subobjects
  • タイプ 8 ビット、長さ 8 ビット。
  • 長さはタイプと長さのフィールドも含みます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
1 (0x01)ipv4_prefixaddress, prefix_length, reserved
129 (0x81)ipv4_prefix_looseaddress, prefix_length, reserved
2 (0x02)ipv6_prefixaddress, prefix_length, reserved
130 (0x82)ipv6_prefix_looseaddress, prefix_length, reserved
4 (0x04)unnumbered_interfacereserved, router_id, interface_id
132 (0x84)unnumbered_interface_loosereserved, router_id, interface_id
32 (0x20)as_numberas_number
160 (0xa0)as_number_looseas_number
objects › explicit_route › subobjects › ipv4_prefix
フィールド型既定値Auto説明
addressipv4192.0.2.2
prefix_lengthuint(8)32
reserveduint(8)0
objects › explicit_route › subobjects › ipv4_prefix_loose
フィールド型既定値Auto説明
addressipv4192.0.2.2
prefix_lengthuint(8)32
reserveduint(8)0
objects › explicit_route › subobjects › ipv6_prefix
フィールド型既定値Auto説明
addressipv6
prefix_lengthuint(8)128
reserveduint(8)0
objects › explicit_route › subobjects › ipv6_prefix_loose
フィールド型既定値Auto説明
addressipv6
prefix_lengthuint(8)128
reserveduint(8)0
objects › explicit_route › subobjects › unnumbered_interface
フィールド型既定値Auto説明
reserveduint(16)0
router_idipv4192.0.2.2
interface_iduint(32)
objects › explicit_route › subobjects › unnumbered_interface_loose
フィールド型既定値Auto説明
reserveduint(16)0
router_idipv4192.0.2.2
interface_iduint(32)
objects › explicit_route › subobjects › as_number
フィールド型既定値Auto説明
as_numberuint(16)
objects › explicit_route › subobjects › as_number_loose
フィールド型既定値Auto説明
as_numberuint(16)

objects › record_route

フィールド型既定値Auto説明
subobjectstlv — PDU の残りすべて
objects › record_route › subobjects
  • タイプ 8 ビット、長さ 8 ビット。
  • 長さはタイプと長さのフィールドも含みます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
1 (0x01)ipv4_addressaddress, prefix_length, flags
2 (0x02)ipv6_addressaddress, prefix_length, flags
3 (0x03)labelflags, c_type, label
4 (0x04)unnumbered_interfaceflags, reserved, router_id, interface_id
objects › record_route › subobjects › ipv4_address
フィールド型既定値Auto説明
addressipv4192.0.2.1
prefix_lengthuint(8)32
flagsuint(8)0
objects › record_route › subobjects › ipv6_address
フィールド型既定値Auto説明
addressipv6
prefix_lengthuint(8)128
flagsuint(8)0
objects › record_route › subobjects › label
フィールド型既定値Auto説明
flagsuint(8)1
c_typeuint(8)1
labeluint(32)
objects › record_route › subobjects › unnumbered_interface
フィールド型既定値Auto説明
flagsuint(8)0
reserveduint(8)0
router_idipv4192.0.2.1
interface_iduint(32)

objects › hello_request

フィールド型既定値Auto説明
source_instanceuint(32)
destination_instanceuint(32)

objects › hello_ack

フィールド型既定値Auto説明
source_instanceuint(32)
destination_instanceuint(32)

objects › message_id

フィールド型既定値Auto説明
flagsuint(8)0
epochuint(24)
message_iduint(32)

objects › message_id_ack

フィールド型既定値Auto説明
flagsuint(8)0
epochuint(24)
message_iduint(32)

objects › message_id_nack

フィールド型既定値Auto説明
flagsuint(8)0
epochuint(24)
message_iduint(32)

objects › session_attribute_ra

フィールド型既定値Auto説明
exclude_anyuint(32)
include_anyuint(32)
include_alluint(32)
setup_priorityuint(8)7
holding_priorityuint(8)7
flagsflags(8)0x4
name_lengthuint(8)name のオクテット長
namebytes — name_length オクテット74 75 6e 6e 65 6c 31
paddingpadding(4)
objects › session_attribute_ra › flags
ビットマスク名前
01 (0x01)local_protection_desired
12 (0x02)label_recording_desired
24 (0x04)se_style_desired
38 (0x08)bandwidth_protection_desired
416 (0x10)node_protection_desired

objects › session_attribute

フィールド型既定値Auto説明
setup_priorityuint(8)7
holding_priorityuint(8)7
flagsflags(8)0x4
name_lengthuint(8)name のオクテット長
namebytes — name_length オクテット74 75 6e 6e 65 6c 31
paddingpadding(4)
objects › session_attribute › flags
ビットマスク名前
01 (0x01)local_protection_desired
12 (0x02)label_recording_desired
24 (0x04)se_style_desired
38 (0x08)bandwidth_protection_desired
416 (0x10)node_protection_desired

制約

レベル規則
警告version が 1
エラーヘッダが 8 オクテット以上

サンプルテンプレート

  • rsvp-hello — templates/protocols/mpls/rsvp-hello.wpg.yaml
  • rsvp-path-err — templates/protocols/mpls/rsvp-path-err.wpg.yaml
  • rsvp-path-tear — templates/protocols/mpls/rsvp-path-tear.wpg.yaml
  • rsvp-te-path — templates/protocols/mpls/rsvp-te-path.wpg.yaml
  • rsvp-te-resv — templates/protocols/mpls/rsvp-te-resv.wpg.yaml