Skip to content

Commit a60d624

Browse files
MACSec SAI Attribute enhancements
Signed-off-by: rushanmu <rushanmu@cisco.com>
1 parent cf91b03 commit a60d624

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

inc/saimacsec.h

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ typedef enum _sai_macsec_port_post_status_t
375375
} sai_macsec_port_post_status_t;
376376

377377
/**
378-
* @brief Attribute Data for MACSec Secure Policy
378+
* @brief Attribute Data for MACsec Secure Policy
379379
*/
380380
typedef enum _sai_macsec_port_secure_policy_t
381381
{
@@ -835,6 +835,35 @@ typedef enum _sai_macsec_sc_attr_t
835835
*/
836836
SAI_MACSEC_SC_ATTR_MACSEC_PORT_ID,
837837

838+
/**
839+
* @brief Confidentiality Offset for this Secure Channel
840+
*
841+
* @type sai_uint32_t
842+
* @flags CREATE_AND_SET
843+
* @default 0
844+
*/
845+
SAI_MACSEC_SC_ATTR_CONFIDENTIALITY_OFFSET,
846+
847+
/**
848+
* @brief End Station bit in the Tag Control Information field of SecTAG
849+
*
850+
* @type bool
851+
* @flags CREATE_AND_SET
852+
* @default false
853+
* @validonly SAI_MACSEC_SC_ATTR_MACSEC_DIRECTION == SAI_MACSEC_DIRECTION_EGRESS
854+
*/
855+
SAI_MACSEC_SC_ATTR_USE_ES,
856+
857+
/**
858+
* @brief Single Copy Broadcast bit in the Tag Control Information field of SecTAG
859+
*
860+
* @type bool
861+
* @flags CREATE_AND_SET
862+
* @default false
863+
* @validonly SAI_MACSEC_SC_ATTR_MACSEC_DIRECTION == SAI_MACSEC_DIRECTION_EGRESS
864+
*/
865+
SAI_MACSEC_SC_ATTR_USE_SCB,
866+
838867
/**
839868
* @brief End of MACsec Secure Channel attributes
840869
*/
@@ -976,35 +1005,6 @@ typedef enum _sai_macsec_sa_attr_t
9761005
*/
9771006
SAI_MACSEC_SA_ATTR_MACSEC_SSCI,
9781007

979-
/**
980-
* @brief Confidentiality Offset for this Secure Channel
981-
*
982-
* @type sai_uint32_t
983-
* @flags CREATE_AND_SET
984-
* @default 0
985-
*/
986-
SAI_MACSEC_SC_ATTR_CONFIDENTIALITY_OFFSET,
987-
988-
/**
989-
* @brief End Station bit in the TCI field of SecTAG
990-
*
991-
* @type bool
992-
* @flags CREATE_AND_SET
993-
* @default false
994-
* @validonly SAI_MACSEC_SC_ATTR_MACSEC_DIRECTION == SAI_MACSEC_DIRECTION_EGRESS
995-
*/
996-
SAI_MACSEC_SC_ATTR_USE_ES,
997-
998-
/**
999-
* @brief Single Copy Broadcast bit in the TCI field of SecTAG
1000-
*
1001-
* @type bool
1002-
* @flags CREATE_AND_SET
1003-
* @default false
1004-
* @validonly SAI_MACSEC_SC_ATTR_MACSEC_DIRECTION == SAI_MACSEC_DIRECTION_EGRESS
1005-
*/
1006-
SAI_MACSEC_SC_ATTR_USE_SCB,
1007-
10081008
/**
10091009
* @brief End of MACsec Secure Association attributes
10101010
*/

0 commit comments

Comments
 (0)