25#if !defined (__SAIUDF_H_)
285 _Out_ sai_object_id_t *udf_id,
286 _In_ sai_object_id_t switch_id,
287 _In_ uint32_t attr_count,
298 _In_ sai_object_id_t udf_id);
309 _In_ sai_object_id_t udf_id,
322 _In_ sai_object_id_t udf_id,
323 _In_ uint32_t attr_count,
337 _Out_ sai_object_id_t *udf_match_id,
338 _In_ sai_object_id_t switch_id,
339 _In_ uint32_t attr_count,
350 _In_ sai_object_id_t udf_match_id);
361 _In_ sai_object_id_t udf_match_id,
374 _In_ sai_object_id_t udf_match_id,
375 _In_ uint32_t attr_count,
389 _Out_ sai_object_id_t *udf_group_id,
390 _In_ sai_object_id_t switch_id,
391 _In_ uint32_t attr_count,
402 _In_ sai_object_id_t udf_group_id);
413 _In_ sai_object_id_t udf_group_id,
426 _In_ sai_object_id_t udf_group_id,
427 _In_ uint32_t attr_count,
sai_status_t(* sai_get_udf_match_attribute_fn)(_In_ sai_object_id_t udf_match_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get UDF match attribute value.
enum _sai_udf_group_attr_t sai_udf_group_attr_t
Attribute id for UDF group.
sai_status_t(* sai_set_udf_attribute_fn)(_In_ sai_object_id_t udf_id, _In_ const sai_attribute_t *attr)
Set UDF attribute.
_sai_udf_base_t
UDF base enum.
sai_status_t(* sai_get_udf_group_attribute_fn)(_In_ sai_object_id_t udf_group_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get UDF group attribute value.
sai_status_t(* sai_set_udf_group_attribute_fn)(_In_ sai_object_id_t udf_group_id, _In_ const sai_attribute_t *attr)
Set UDF group attribute.
_sai_udf_group_attr_t
Attribute id for UDF group.
sai_status_t(* sai_create_udf_group_fn)(_Out_ sai_object_id_t *udf_group_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create UDF group.
enum _sai_udf_base_t sai_udf_base_t
UDF base enum.
sai_status_t(* sai_set_udf_match_attribute_fn)(_In_ sai_object_id_t udf_match_id, _In_ const sai_attribute_t *attr)
Set UDF match attribute.
sai_status_t(* sai_remove_udf_group_fn)(_In_ sai_object_id_t udf_group_id)
Remove UDF group.
struct _sai_udf_api_t sai_udf_api_t
UDF methods, retrieved via sai_api_query()
_sai_udf_match_attr_t
Attribute id for UDF match.
sai_status_t(* sai_get_udf_attribute_fn)(_In_ sai_object_id_t udf_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get UDF attribute value.
enum _sai_udf_group_type_t sai_udf_group_type_t
UDF group type.
sai_status_t(* sai_remove_udf_match_fn)(_In_ sai_object_id_t udf_match_id)
Remove UDF match.
sai_status_t(* sai_create_udf_match_fn)(_Out_ sai_object_id_t *udf_match_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create UDF match.
_sai_udf_group_type_t
UDF group type.
sai_status_t(* sai_remove_udf_fn)(_In_ sai_object_id_t udf_id)
Remove UDF.
sai_status_t(* sai_create_udf_fn)(_Out_ sai_object_id_t *udf_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create UDF.
enum _sai_udf_attr_t sai_udf_attr_t
Attribute id for UDF.
_sai_udf_attr_t
Attribute id for UDF.
enum _sai_udf_match_attr_t sai_udf_match_attr_t
Attribute id for UDF match.
@ SAI_UDF_GROUP_ATTR_CUSTOM_RANGE_END
@ SAI_UDF_GROUP_ATTR_CUSTOM_RANGE_START
@ SAI_UDF_GROUP_ATTR_TYPE
UDF group type.
@ SAI_UDF_GROUP_ATTR_START
Start of attributes.
@ SAI_UDF_GROUP_ATTR_END
End of attributes.
@ SAI_UDF_GROUP_ATTR_LENGTH
UDF byte length.
@ SAI_UDF_GROUP_ATTR_UDF_LIST
UDF list.
@ SAI_UDF_MATCH_ATTR_GRE_TYPE
UDF GRE match rule.
@ SAI_UDF_MATCH_ATTR_START
Start of attributes.
@ SAI_UDF_MATCH_ATTR_L3_TYPE
UDF L3 match rule.
@ SAI_UDF_MATCH_ATTR_L2_TYPE
UDF L2 match rule.
@ SAI_UDF_MATCH_ATTR_END
End of attributes.
@ SAI_UDF_MATCH_ATTR_CUSTOM_RANGE_END
@ SAI_UDF_MATCH_ATTR_L4_DST_PORT_TYPE
UDF L4 Dst port rule.
@ SAI_UDF_MATCH_ATTR_PRIORITY
UDF match priority.
@ SAI_UDF_MATCH_ATTR_CUSTOM_RANGE_START
@ SAI_UDF_GROUP_TYPE_GENERIC
@ SAI_UDF_GROUP_TYPE_START
@ SAI_UDF_GROUP_TYPE_HASH
@ SAI_UDF_ATTR_OFFSET
UDF byte offset.
@ SAI_UDF_ATTR_START
Start of attributes.
@ SAI_UDF_ATTR_HASH_MASK
UDF Mask.
@ SAI_UDF_ATTR_GROUP_ID
UDF group id.
@ SAI_UDF_ATTR_CUSTOM_RANGE_END
@ SAI_UDF_ATTR_CUSTOM_RANGE_START
@ SAI_UDF_ATTR_BASE
UDF base.
@ SAI_UDF_ATTR_END
End of attributes.
@ SAI_UDF_ATTR_MATCH_ID
UDF match ID.
This module defines SAI portable types.
UDF methods, retrieved via sai_api_query()