| Lower layer | Selector | Value |
tcp | dst_port / src_port | 646 (0x0286) |
udp | dst_port / src_port | 646 (0x0286) |
| Field | Type | Default | Auto | Description |
version | uint(16) | 1 | | LDP version (1). |
pdu_length | uint(16) | | Length of the header in octets (-4) | Length of the PDU after the version and PDU length fields (Auto). |
lsr_id | ipv4 | 192.0.2.1 | | LSR ID: the first four octets of the LDP identifier. |
label_space | uint(16) | 0 | | Label space ID: the last two octets of the LDP identifier (0 = platform-wide). |
messages | tlv — pdu_length - 6 octets | 1 items | | Messages (16-bit type with the U bit, 16-bit length of the value, message ID, TLVs): Notification, Hello, Initialization, KeepAlive, Address / Address Withdraw, Label Mapping / Request / Withdraw / Release / Abort Request. TLVs: FEC, Address List, Hop Count, Path Vector, Generic Label, Status, Common Hello / Session Parameters, transport addresses, Configuration Sequence Number. Lengths are Auto. |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 1 (0x0001) | notification | message_id, tlvs | |
| 256 (0x0100) | hello | message_id, tlvs | |
| 512 (0x0200) | initialization | message_id, tlvs | |
| 513 (0x0201) | keepalive | message_id, tlvs | |
| 768 (0x0300) | address | message_id, tlvs | |
| 769 (0x0301) | address_withdraw | message_id, tlvs | |
| 1024 (0x0400) | label_mapping | message_id, tlvs | |
| 1025 (0x0401) | label_request | message_id, tlvs | |
| 1026 (0x0402) | label_withdraw | message_id, tlvs | |
| 1027 (0x0403) | label_release | message_id, tlvs | |
| 1028 (0x0404) | label_abort_request | message_id, tlvs | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | 1 items | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › notification › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › notification › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › notification › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | 1 items | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › hello › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › hello › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › hello › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | 1 items | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › initialization › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › initialization › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › initialization › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › keepalive › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › keepalive › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › keepalive › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › address › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › address › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › address › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › address_withdraw › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › address_withdraw › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › address_withdraw › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › label_mapping › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › label_mapping › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › label_mapping › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › label_request › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › label_request › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › label_request › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › label_withdraw › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › label_withdraw › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › label_withdraw › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › label_release › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › label_release › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › label_release › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | 1 | | |
tlvs | tlv — rest of the PDU | [] | | |
- Type 16 bits, length 16 bits.
- The length counts the value only.
- Unknown types are kept as raw value octets.
| Type | Name | Value fields | Description |
| 256 (0x0100) | fec_wildcard | element_type; when the value starts with 01 | |
| 256 (0x0100) | fec | elements | |
| 257 (0x0101) | address_list | address_family, addresses; when the value starts with 00 01 | |
| 257 (0x0101) | address_list_ipv6 | address_family, addresses; when the value starts with 00 02 | |
| 259 (0x0103) | hop_count | hop_count | |
| 260 (0x0104) | path_vector | lsr_ids | |
| 512 (0x0200) | generic_label | reserved, label | |
| 768 (0x0300) | status | e, f, status_code, message_id, message_type | |
| 1024 (0x0400) | common_hello_parameters | hold_time, t, r, g, reserved | |
| 1025 (0x0401) | ipv4_transport_address | address | |
| 1026 (0x0402) | configuration_sequence_number | sequence_number | |
| 1027 (0x0403) | ipv6_transport_address | address | |
| 1280 (0x0500) | common_session_parameters | protocol_version, keepalive_time, a, d, reserved, pv_lim, max_pdu_length, receiver_lsr_id, receiver_label_space | |
| 1536 (0x0600) | label_request_message_id | message_id | |
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
elements | list<struct> — rest of the PDU | | | |
messages › label_abort_request › tlvs › fec › elements
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
element_type | uint(8) | 2 | | |
address_family | enum(16) | 1 (ipv4) | | |
prefix_length | uint(8) | | | |
prefix | bytes — (prefix_length + 7) / 8 octets | | | |
messages › label_abort_request › tlvs › fec › elements › address_family
| Value | Name |
| 1 (0x0001) | ipv4 |
| 2 (0x0002) | ipv6 |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 1 | | |
addresses | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
address_family | uint(16) | 2 | | |
addresses | list<ipv6> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
hop_count | uint(8) | 1 | | |
| Field | Type | Default | Auto | Description |
lsr_ids | list<ipv4> — rest of the PDU | | | |
| Field | Type | Default | Auto | Description |
reserved | uint(12) | 0 | | |
label | uint(20) | 16 | | |
| Field | Type | Default | Auto | Description |
e | uint(1) | 0 | | |
f | uint(1) | 0 | | |
status_code | enum(30) | 0 (success) | | |
message_id | uint(32) | | | |
message_type | uint(16) | | | |
messages › label_abort_request › tlvs › status › status_code
| Value | Name |
| 0 (0x00000000) | success |
| 1 (0x00000001) | bad_ldp_identifier |
| 2 (0x00000002) | bad_protocol_version |
| 3 (0x00000003) | bad_pdu_length |
| 4 (0x00000004) | unknown_message_type |
| 5 (0x00000005) | bad_message_length |
| 6 (0x00000006) | unknown_tlv |
| 7 (0x00000007) | bad_tlv_length |
| 8 (0x00000008) | malformed_tlv_value |
| 9 (0x00000009) | hold_timer_expired |
| 10 (0x0000000a) | shutdown |
| 11 (0x0000000b) | loop_detected |
| 12 (0x0000000c) | unknown_fec |
| 13 (0x0000000d) | no_route |
| 14 (0x0000000e) | no_label_resources |
| 15 (0x0000000f) | label_resources_available |
| 16 (0x00000010) | session_rejected_no_hello |
| 17 (0x00000011) | session_rejected_advertisement_mode |
| 18 (0x00000012) | session_rejected_max_pdu_length |
| 19 (0x00000013) | session_rejected_label_range |
| 20 (0x00000014) | keepalive_timer_expired |
| 21 (0x00000015) | label_request_aborted |
| 22 (0x00000016) | missing_message_parameters |
| 23 (0x00000017) | unsupported_address_family |
| 24 (0x00000018) | session_rejected_bad_keepalive_time |
| 25 (0x00000019) | internal_error |
| Field | Type | Default | Auto | Description |
hold_time | uint(16) | 15 | | |
t | uint(1) | 0 | | |
r | uint(1) | 0 | | |
g | uint(1) | 0 | | |
reserved | uint(13) | 0 | | |
| Field | Type | Default | Auto | Description |
address | ipv4 | | | |
| Field | Type | Default | Auto | Description |
sequence_number | uint(32) | 1 | | |
| Field | Type | Default | Auto | Description |
address | ipv6 | | | |
| Field | Type | Default | Auto | Description |
protocol_version | uint(16) | 1 | | |
keepalive_time | uint(16) | 180 | | |
a | uint(1) | 0 | | |
d | uint(1) | 0 | | |
reserved | uint(6) | 0 | | |
pv_lim | uint(8) | 0 | | |
max_pdu_length | uint(16) | 0 | | |
receiver_lsr_id | ipv4 | 192.0.2.2 | | |
receiver_label_space | uint(16) | 0 | | |
| Field | Type | Default | Auto | Description |
message_id | uint(32) | | | |
| Level | Rule |
| warning | version = 1 |
| error | header at least 10 octets |
| warning | header at most 4096 octets |