Visible to Intel only — GUID: kjl1674259937884
Ixiasoft
Visible to Intel only — GUID: kjl1674259937884
Ixiasoft
6.6.2. macsec_get_attributes
macsec_get_attributes
- Synopsis
- int macsec_get_attr(struct macsec_info *info, uint32_t port, enum macsec_attr attr, void *value)
- Description
-
Gets a global MACsec attribute.
Gets the MACsec attribute values that belong to the port.
- Arguments
-
info—points to the macsec_info structure.
port—MACsec instance.
attr—attribute to get the value.
- Returns
-
MACSEC_OK if successful.
MACSEC_ERR_INVALID_ARG if value, macsec_attr or info is NULL.
MACSEC_ERR_INVALID_PORT if the port is not initialized or is greater than the current MACsec instances supported.
MACSEC_ERR_INVALID_ATTR if attribute is invalid.
MACSEC_ERR_READ if fails to read.