Macro definitions, Min_trunk_id, Max_trunk_id – ADLINK aTCA-N700 User Manual
Page 27: Max_trunk_member, Enum type, Section 4: trunk, Adlink_trunk_psc_t, Min_trunk_id max_trunk_id max_trunk_member
Switch Manager API Programming Guide
27
PARAMETERS
src_port
[IN] Ingress port;
dst_port
[IN|OUT] Destination port traffic will be delivered to;
RETURN
See the description of status_t in Section 1.
Section 4: Trunk
This section describes the macro, enum, struct and function for trunk. They are defined in the
header file “adlink_api_trunk.h”.
Macro Definitions
MIN_TRUNK_ID
MAX_TRUNK_ID
MAX_TRUNK_MEMBER
Trunk group index range and member count limit of a group.
Enum Type
adlink_trunk_psc_t
typedef enum adlink_trunk_psc_e
{
PSC_ZERO = 0,
PSC_SA = 1,
PSC_DA = 2,
PSC_SA_DA = 3,
PSC_SIP = 4,
PSC_DIP = 5,
PSC_SIP_DIP = 6,
}adlink_trunk_psc_t;
Define the codes of trunk port selection criteria. Packets will be dispatched to different ports
based on the criteria.