1N/A/************************************************************************ 1N/A * RSTP library - Rapid Spanning Tree (802.1t, 802.1w) 1N/A * Copyright (C) 2001-2003 Optical Access 1N/A * Author: Alex Rozin 1N/A * This file is part of RSTP library. 1N/A * RSTP library is free software; you can redistribute it and/or modify it 1N/A * under the terms of the GNU Lesser General Public License as published by the 1N/A * Free Software Foundation; version 2.1 1N/A * RSTP library is distributed in the hope that it will be useful, but 1N/A * WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 1N/A * General Public License for more details. 1N/A * You should have received a copy of the GNU Lesser General Public License 1N/A * along with RSTP library; see the file COPYING. If not, write to the Free 1N/A * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1N/A **********************************************************************/ 1N/A /* This file contains prototypes for API from an operation 1N/A system to the RSTP */ 1N/A/************************ 1N/A * Common base constants 1N/A ************************/ 1N/A#
define IN /* consider as comments near 'input' parameters */ 1N/A#
define OUT /* consider as comments near 'output' parameters */ 1N/A/******************************************** 1N/A * constants: default values and linitations 1N/A *********************************************/ 1N/A/* bridge configuration */ 1N/A/* Note that this works with unscaled values */ 1N/A * These macros provide limits and tests for displaying comprehensible errors. 1N/A/* port configuration */ 1N/Avoid /* init the engine */ 1N/A/* Section 2. "Get" management */ 1N/A/* Section 3. "Set" management */ 1N/A/* Section 4. RSTP functionality events */ 1N/Aint /* call it, when port speed has been changed, speed in Kb/s */ 1N/Aint /* call it, when current port duplex mode has been changed */ 1N/A#
endif /* _STP_API_H__ */