Adlink_trunk_clear (), Adlink_trunk_mode_set (), Adlink_trunk_info_get () – ADLINK aTCA-N700 User Manual

Page 29

Advertising
background image

Switch Manager API Programming Guide

29

RETURN

See the description of status_t in Section 1.

adlink_trunk_clear ()

PROTOTYPE

status_t adlink_trunk_clear ();

DESCRIPTION

This function is used to destroy all created trunk groups.

PARAMETERS

None

RETURN

See the description of status_t in Section 1.

adlink_trunk_mode_set ()

PROTOTYPE

status_t adlink_trunk_mode_set (int trunk_id, int mode);

DESCRIPTION

This function is used to change trunk group port selection criteria.

PARAMETERS

trunk_id

[IN] Trunk group id; Start from ‘1’;

mode

[IN] Trunk group PSC mode. PSC_XXX;

RETURN

See the description of status_t in Section 1.

adlink_trunk_info_get ()

PROTOTYPE

status_t adlink_trunk_info_get (int tid, adlink_trunk_db_t *info);

DESCRIPTION

Advertising