MACsec Intel® FPGA System Design User Guide

ID 767516
Date 3/31/2024
Public
Document Table of Contents

6.6.10. macsec_single_or_multi_port

macsec_single_or_multi_port

Synopsis
int macsec_single_or_multi_port(int port, int multi_port)
Description

Sets the single or multiple port support.

Arguments

port—physical port.

multi_port—if multi_port is true, sets to multiple port; if multi_port is false, sets to single port.

Returns

MACSEC_OK if successful.

MACSEC_ERR_INVALID_PORT if port is not valid.

MACSEC_ERR_INVALID_MULTI if multi port is not supported.