Visible to Intel only — GUID: wav1674265802044
Ixiasoft
Visible to Intel only — GUID: wav1674265802044
Ixiasoft
6.6.8. macsec_set_port_configuration
macsec_set_port_configuration
- Synopsis
- int macsec_set_port_config(int port, int set_mode)
- Description
-
Sets the port to Cut Through mode OR Store and Forward mode.
Port with traffics that required integrity protection only packet needs to be configured as Store and Forward.
- Arguments
-
port—physical port.
set_mode—sets the port to Cut Through mode OR Store and Forward mode.- 0—Cut Through mode
- 1—Store and Forward mode
- Returns
-
MACSEC_OK if successful.
MACSEC_ERR_INVALID_PORT if port is not valid.
MACSEC_ERR_INVALID_MODE if mode is not valid.