Skip to content

Commit

Permalink
Fixing style deviations
Browse files Browse the repository at this point in the history
Signed-off-by: dipankar-ba <dipankar@arista.com>
  • Loading branch information
dipankar-ba committed Jul 19, 2021
1 parent 61a010b commit 67d01dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions inc/saiport.h
Original file line number Diff line number Diff line change
Expand Up @@ -1105,15 +1105,6 @@ typedef enum _sai_port_attr_t
*/
SAI_PORT_ATTR_MACSEC_PORT_LIST,

/**
* @brief Associated IPsec port
*
* @type sai_object_id_t
* @flags READ_ONLY
* @objects SAI_OBJECT_TYPE_IPSEC_PORT
*/
SAI_PORT_ATTR_IPSEC_PORT,

/**
* @brief Enable/Disable Mirror session
*
Expand Down Expand Up @@ -1974,6 +1965,15 @@ typedef enum _sai_port_attr_t
*/
SAI_PORT_ATTR_AUTO_NEG_FEC_MODE_EXTENDED,

/**
* @brief Associated IPsec port
*
* @type sai_object_id_t
* @flags READ_ONLY
* @objects SAI_OBJECT_TYPE_IPSEC_PORT
*/
SAI_PORT_ATTR_IPSEC_PORT,

/**
* @brief End of attributes
*/
Expand Down
8 changes: 4 additions & 4 deletions meta/saiserialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,28 +584,28 @@ int sai_serialize_macsec_sak(
_Out_ char *buffer,
_In_ const sai_macsec_sak_t sak)
{
return sai_serialize_encrypt_key( buffer, sak );
return sai_serialize_encrypt_key(buffer, sak);
}

int sai_deserialize_macsec_sak(
_In_ const char *buffer,
_Out_ sai_macsec_sak_t sak)
{
return sai_deserialize_encrypt_key( buffer, sak );
return sai_deserialize_encrypt_key(buffer, sak);
}

int sai_serialize_macsec_auth_key(
_Out_ char *buffer,
_In_ const sai_macsec_auth_key_t auth)
{
return sai_serialize_auth_key( buffer, auth );
return sai_serialize_auth_key(buffer, auth);
}

int sai_deserialize_macsec_auth_key(
_In_ const char *buffer,
_Out_ sai_macsec_auth_key_t auth)
{
return sai_deserialize_auth_key( buffer, auth );
return sai_deserialize_auth_key(buffer, auth);
}

int sai_serialize_macsec_salt(
Expand Down

0 comments on commit 67d01dd

Please sign in to comment.