Adlink_mac_based_vlan_add (), Adlink_mac_based_vlan_del (), Adlink_mac_based_vlan_get () – ADLINK aTCA-N700 User Manual
Page 18
Advertising

Switch Manager API Programming Guide
18
See the description of status_t in Section 1.
adlink_mac_based_vlan_add ()
adlink_mac_based_vlan_del ()
adlink_mac_based_vlan_get ()
PROTOTYPE
status_t adlink_mac_based_vlan_add (int vlan, UINT8 *mac, UINT8 cos);
status_t adlink_mac_based_vlan_del (UINT8 *mac);
status_t adlink_mac_based_vlan_get (UINT8 *mac, UINT16 *vlan, UINT8 *cos);
DESCRIPTION
These functions are used to configure MAC base VLAN. MAC address can be associated with a
VLAN id.
PARAMETERS
vlan
[IN] The VLAN ID which will be assigned to a specified MAC address;
mac
[IN] A pointer points to specified MAC address;
cos
[IN] Default COS value which will be filled in VLAN tag;
RETURN
See the description of status_t in Section 1.
Advertising