25#if !defined (__SAIMPLS_H_)
46} sai_inseg_entry_psc_type_t;
63} sai_inseg_entry_pop_ttl_mode_t;
80} sai_inseg_entry_pop_qos_mode_t;
258 _In_ uint32_t attr_count,
294 _In_ uint32_t attr_count,
315 _In_ uint32_t object_count,
317 _In_
const uint32_t *attr_count,
319 _In_ sai_bulk_op_error_mode_t mode,
320 _Out_ sai_status_t *object_statuses);
337 _In_ uint32_t object_count,
339 _In_ sai_bulk_op_error_mode_t mode,
340 _Out_ sai_status_t *object_statuses);
358 _In_ uint32_t object_count,
361 _In_ sai_bulk_op_error_mode_t mode,
362 _Out_ sai_status_t *object_statuses);
382 _In_ uint32_t object_count,
384 _In_
const uint32_t *attr_count,
386 _In_ sai_bulk_op_error_mode_t mode,
387 _Out_ sai_status_t *object_statuses);
_sai_inseg_entry_pop_qos_mode_t
_sai_inseg_entry_psc_type_t
sai_status_t(* sai_bulk_get_inseg_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_inseg_entry_t *inseg_entry, _In_ const uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk get attribute on In Segment entry.
_sai_inseg_entry_pop_ttl_mode_t
sai_status_t(* sai_set_inseg_entry_attribute_fn)(_In_ const sai_inseg_entry_t *inseg_entry, _In_ const sai_attribute_t *attr)
Set In Segment attribute value.
sai_status_t(* sai_bulk_remove_inseg_entry_fn)(_In_ uint32_t object_count, _In_ const sai_inseg_entry_t *inseg_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk remove In Segment entry.
sai_status_t(* sai_get_inseg_entry_attribute_fn)(_In_ const sai_inseg_entry_t *inseg_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get In Segment attribute value.
sai_status_t(* sai_create_inseg_entry_fn)(_In_ const sai_inseg_entry_t *inseg_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create In Segment entry.
enum _sai_inseg_entry_attr_t sai_inseg_entry_attr_t
Attribute Id for SAI in segment.
struct _sai_mpls_api_t sai_mpls_api_t
MPLS methods table retrieved with sai_api_query()
sai_status_t(* sai_remove_inseg_entry_fn)(_In_ const sai_inseg_entry_t *inseg_entry)
Remove In Segment entry.
sai_status_t(* sai_bulk_set_inseg_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_inseg_entry_t *inseg_entry, _In_ const sai_attribute_t *attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk set attribute on In Segment entry.
struct _sai_inseg_entry_t sai_inseg_entry_t
In segment entry.
sai_status_t(* sai_bulk_create_inseg_entry_fn)(_In_ uint32_t object_count, _In_ const sai_inseg_entry_t *inseg_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk create In Segment entry.
_sai_inseg_entry_attr_t
Attribute Id for SAI in segment.
@ SAI_INSEG_ENTRY_POP_QOS_MODE_UNIFORM
Uniform mode.
@ SAI_INSEG_ENTRY_POP_QOS_MODE_PIPE
Uniform mode.
@ SAI_INSEG_ENTRY_PSC_TYPE_LLSP
MPLS label infers TC and EXP of MPLS label infers COLOR.
@ SAI_INSEG_ENTRY_PSC_TYPE_ELSP
EXP of MPLS label infers both TC and COLOR.
@ SAI_INSEG_ENTRY_POP_TTL_MODE_PIPE
Pipe mode.
@ SAI_INSEG_ENTRY_POP_TTL_MODE_UNIFORM
Uniform mode.
@ SAI_INSEG_ENTRY_ATTR_MPLS_EXP_TO_TC_MAP
Enable EXP -> TC MAP on label.
@ SAI_INSEG_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_INSEG_ENTRY_ATTR_MPLS_EXP_TO_COLOR_MAP
Enable EXP -> COLOR MAP on label.
@ SAI_INSEG_ENTRY_ATTR_START
Start of attributes.
@ SAI_INSEG_ENTRY_ATTR_PACKET_ACTION
Packet action.
@ SAI_INSEG_ENTRY_ATTR_TRAP_PRIORITY
Packet priority for trap/log actions.
@ SAI_INSEG_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_INSEG_ENTRY_ATTR_COUNTER_ID
Attach a counter.
@ SAI_INSEG_ENTRY_ATTR_NEXT_HOP_ID
The next hop id.
@ SAI_INSEG_ENTRY_ATTR_POP_TTL_MODE
Define TTL setting for PHP or POP.
@ SAI_INSEG_ENTRY_ATTR_PSC_TYPE
Define PSC type for a label.
@ SAI_INSEG_ENTRY_ATTR_POP_QOS_MODE
Define QOS setting for PHP or POP.
@ SAI_INSEG_ENTRY_ATTR_NUM_OF_POP
Number of pops.
@ SAI_INSEG_ENTRY_ATTR_QOS_TC
TC for a label.
@ SAI_INSEG_ENTRY_ATTR_END
End of attributes.
This module defines SAI portable types.
sai_object_id_t switch_id
Switch ID.
sai_label_id_t label
MPLS label.
MPLS methods table retrieved with sai_api_query()