beautypg.com

Functions, Adlink_mac_entry_add (), Adlink_mac_entry_del () – ADLINK aTCA-N700 User Manual

Page 32: Adlink_mac_table_clear (), Adlink_mac_table_dump ()

background image

Switch Manager API Programming Guide

32

Functions

adlink_mac_entry_add ()

adlink_mac_entry_del ()

adlink_mac_table_clear ()

PROTOTYPE

status_t adlink_mac_entry_add (adlink_mac_entry_t *entry);

status_t adlink_mac_entry_del (adlink_mac_entry_t *entry);

status_t adlink_mac_table_clear ();

DESCRIPTION

These functions are used to change the MAC address table. Add/delete an item or clear all

items.

PARAMETERS

entry

[IN] Entry that will be added or deleted;

RETURN

See the description of status_t in Section 1.

adlink_mac_table_dump ()

PROTOTYPE

status_t adlink_mac_table_dump (proxy_index_t *start_index, proxy_mac_dump_t *list);

DESCRIPTION

This function is used to dump the entire MAC address table.

PARAMETERS

start_index [IN] Start index of MAC address table;

list

[OUT] Retrieved MAC entries;

RETURN

See the description of status_t in Section 1.