beautypg.com

ADLINK aTCA-N700 User Manual

Page 4

background image

Switch Manager API Programming Guide

4

Table of Contents

Revision History.................................................................................................................... 2

Preface ................................................................................................................................... 3

Table of Contents.................................................................................................................. 4

List of Figures ....................................................................................................................... 9

List of Tables............................................................................. Error! Bookmark not defined.

Introduction ......................................................................................................................... 11

Architecture Overview........................................................................................................ 11

Deliverables......................................................................................................................... 12

Section 1: Base ................................................................................................................... 12

Enum Type ........................................................................................................................ 12

status_t .......................................................................................................................... 12

Functions........................................................................................................................... 13

adlink_switch_chip_init ()............................................................................................... 13

adlink_config_write ()..................................................................................................... 13

Section 2: VLAN .................................................................................................................. 14

Macro Definitions............................................................................................................... 14

MAX_VLAN_MAC_CNT ................................................................................................ 14

Enum Type ........................................................................................................................ 14

adlink_vlan_tag_mode_t................................................................................................ 14

Data Structure ................................................................................................................... 14

adlink_vlan_info_t .......................................................................................................... 14

adlink_vlan_mac_t ......................................................................................................... 15

Functions........................................................................................................................... 15

adlink_vlan_info_get ()................................................................................................... 15

adlink_vlan_admin_status_set () ................................................................................... 16

adlink_vlan_create () ..................................................................................................... 16

adlink_vlan_destroy ().................................................................................................... 16

adlink_vlan_member_add () .......................................................................................... 17