]>
git.ipfire.org Git - people/ms/rstp.git/blob - ctl_functions.h
1 /*****************************************************************************
2 Copyright (c) 2006 EMC Corporation.
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)
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
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.
18 The full GNU General Public License is included in this distribution in the
21 Authors: Srinivas Aji <Aji_Srinivas@emc.com>
23 ******************************************************************************/
25 #ifndef CTL_FUNCTIONS_H
26 #define CTL_FUNCTIONS_H
30 int CTL_enable_bridge_rstp(int br_index
, int enable
);
32 int CTL_get_bridge_status(int br_index
, STP_BridgeStatus
*status
);
34 int CTL_set_bridge_config(int br_index
, STP_BridgeConfig
*cfg
);
36 int CTL_get_port_status(int br_index
, int port_index
, STP_PortStatus
*status
);
38 int CTL_set_port_config(int br_index
, int port_index
, STP_PortConfig
*cfg
);
40 int CTL_port_mcheck(int br_index
, int port_index
);
42 int CTL_set_debug_level(int level
);