]>
Commit | Line | Data |
---|---|---|
ad02a0eb SH |
1 | /***************************************************************************** |
2 | Copyright (c) 2006 EMC Corporation. | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify it | |
5 | under the terms of the GNU General Public License as published by the Free | |
6 | Software Foundation; either version 2 of the License, or (at your option) | |
7 | any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, but WITHOUT | |
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
12 | more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License along with | |
15 | this program; if not, write to the Free Software Foundation, Inc., 59 | |
16 | Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
17 | ||
18 | The full GNU General Public License is included in this distribution in the | |
19 | file called LICENSE. | |
20 | ||
21 | Authors: Srinivas Aji <Aji_Srinivas@emc.com> | |
22 | ||
23 | ******************************************************************************/ | |
24 | ||
25 | #ifndef CTL_FUNCTIONS_H | |
26 | #define CTL_FUNCTIONS_H | |
27 | ||
b600a2c3 | 28 | #include "rstp.h" |
ad02a0eb SH |
29 | |
30 | int CTL_enable_bridge_rstp(int br_index, int enable); | |
31 | ||
b600a2c3 | 32 | int CTL_get_bridge_status(int br_index, STP_BridgeStatus *status); |
ad02a0eb | 33 | |
b600a2c3 | 34 | int CTL_set_bridge_config(int br_index, STP_BridgeConfig *cfg); |
ad02a0eb | 35 | |
b600a2c3 | 36 | int CTL_get_port_status(int br_index, int port_index, STP_PortStatus *status); |
ad02a0eb | 37 | |
b600a2c3 | 38 | int CTL_set_port_config(int br_index, int port_index, STP_PortConfig *cfg); |
ad02a0eb | 39 | |
b600a2c3 | 40 | int CTL_port_mcheck(int br_index, int port_index); |
ad02a0eb | 41 | |
b600a2c3 | 42 | int CTL_set_debug_level(int level); |
ad02a0eb SH |
43 | |
44 | #endif |