ADLINK Switch Manager API Programming Guide Manual Revision: 1.00 Revision Date: August 28, 2013 Part Number: 50-1G026-1000 A
Switch Manager API Programming Guide 10 List of Tables Table 1- 1, Return Code Description...
Switch Manager API Programming Guide 11 Introduction This guide describes the how to program ADLINK Switch Management APIs on ADLINK's switc
Switch Manager API Programming Guide 12 Deliverables The ADLINK Switch Manager Library package (adSwitchLib-x.x.x.tar.gz) provides the following s
Switch Manager API Programming Guide 13 Table 1- 1, Return Code Description Return Code Description ADLINK_E_NONE API run successfully ADLIN
Switch Manager API Programming Guide 14 PARAMETERS None RETURN See the description of status_t above. Section 2: VLAN This section describes the
Switch Manager API Programming Guide 15 UINT8 created; /*whether it is created on hardware*/ UINT8 rsv1[2]; /*for align purpo
Switch Manager API Programming Guide 16 adlink_vlan_admin_status_set () PROTOTYPE status_t adlink_vlan_admin_status_set (int vlan, int status); D
Switch Manager API Programming Guide 17 PARAMETERS vlan [IN] The VLAN ID to be destroyed; RETURN See the description of status_t in Section
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 () a
Switch Manager API Programming Guide 19 Section 3: Port This section describes the macro, enum, struct and function for port. They are defined in
Switch Manager API Programming Guide 2 Revision History Rev Date Description 1.00 28/8/2013 Initial release
Switch Manager API Programming Guide 20 TAPNAMSIZ Define the maximum length of a NIC device name. Enum Type port_duplex_t typedef enum port_duple
Switch Manager API Programming Guide 21 port_stp_state_t typedef enum port_stp_state_e { /*Heritage */ PORT_STP_DISABLE = 0, /* Disabled.
Switch Manager API Programming Guide 22 Data Structure adlink_port_info_t typedef struct adlink_port_info_s { int enable; int linkstatus
Switch Manager API Programming Guide 23 UINT32 rx_pkt_rate; UINT32 tx_byte_num; UINT32 tx_byte_rate; UINT32 tx_pkt_num; UINT32
Switch Manager API Programming Guide 24 UINT32 mask; UINT32 status; }adl_nic_config_info_t; Define the format of retrieved NIC info. adl_
Switch Manager API Programming Guide 25 PARAMETERS cmd [IN] Port attributes to be set; RETURN See the description of status_t in Section 1.
Switch Manager API Programming Guide 26 RETURN See the description of status_t in Section 1. adlink_nic_config_set () adlink_nic_config_get() PR
Switch Manager API Programming Guide 27 PARAMETERS src_port [IN] Ingress port; dst_port [IN|OUT] Destination port traffic will be delivere
Switch Manager API Programming Guide 28 Data Structure adlink_trunk_monitor_t typedef struct tm_port_node_s { UINT32 id; /*port numbe
Switch Manager API Programming Guide 29 RETURN See the description of status_t in Section 1. adlink_trunk_clear () PROTOTYPE status_t adlink_tru
Switch Manager API Programming Guide 3 Preface Copyright 2013 ADLINK Technology, Inc. This document contains proprietary information protected by
Switch Manager API Programming Guide 30 This function is used to get trunk group information. PARAMETERS tid [IN] Trunk group id; Start fro
Switch Manager API Programming Guide 31 Section 5: Layer-2 This section describes the macro, enum, struct and function for Layer-2. They are defin
Switch Manager API Programming Guide 32 Functions adlink_mac_entry_add () adlink_mac_entry_del () adlink_mac_table_clear () PROTOTYPE status_t adl
Switch Manager API Programming Guide 33 Section 6: ACL This section describes the macro, enum, struct and function for ACL. They are defined in th
Switch Manager API Programming Guide 34 Table 6- 1, Qualifier Type Description Qualifier Type Description INPORTS Filter for the port ID a packe
Switch Manager API Programming Guide 35 UINT16 data16; //data16 use, such as l4port UINT8 data8; //data8 use, such as ip protocol
Switch Manager API Programming Guide 36 Table 6- 4, Data Descriptions for Different Action Types Action Type Param0 Param1 REDIRECTPORT data32
Switch Manager API Programming Guide 37 DESCRIPTION This function is used to delete an ACL rule. PARAMETERS rule _id [IN] the ID of the ACL
Switch Manager API Programming Guide 38 Section 7: Static Route This section describes the macro, enum, struct and function for route. They are de
Switch Manager API Programming Guide 39 Functions adlink_route_add () PROTOTYPE status_t adlink_route_add (adlink_route_info_t *route_info); DESC
Switch Manager API Programming Guide 4 Table of Contents Revision History...
Switch Manager API Programming Guide 40 PARAMETERS None RETURN See the description of status_t in Section 1. adlink_route_table_dump () PROTOTYP
Switch Manager API Programming Guide 41 Getting Service ADLINK Technology, Inc. Address: 9F, No.166 Jian Yi Road, Zhonghe District New Taipei
Switch Manager API Programming Guide 42 ADLINK Technology Japan Corporation Address: KANDA374 Bldg. 4F, 3-7-4 Kanda Kajicho, Chiyoda-ku, Tokyo
Switch Manager API Programming Guide 5 adlink_vlan_member_del () ...
Switch Manager API Programming Guide 6 adl_nic_config_info_t...
Switch Manager API Programming Guide 7 adlink_trunk_monitor_del () ...
Switch Manager API Programming Guide 8 Macro Definitions.......
Switch Manager API Programming Guide 9 List of Figures Figure 1,Hardware architecture for programming............
Comments to this Manuals