stp_to.h revision 4eaa471005973e11a6110b69fe990530b3b95a38
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai/************************************************************************
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * RSTP library - Rapid Spanning Tree (802.1t, 802.1w)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * Copyright (C) 2001-2003 Optical Access
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * Author: Alex Rozin
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * This file is part of RSTP library.
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * RSTP library is free software; you can redistribute it and/or modify it
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * under the terms of the GNU Lesser General Public License as published by the
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * Free Software Foundation; version 2.1
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * RSTP library is distributed in the hope that it will be useful, but
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * WITHOUT ANY WARRANTY; without even the implied warranty of
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * General Public License for more details.
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * You should have received a copy of the GNU Lesser General Public License
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * along with RSTP library; see the file COPYING. If not, write to the Free
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai * 02111-1307, USA.
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai **********************************************************************/
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai/* This file contains prototypes for system dependent API
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai from the RSTP to an operation system */
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_flush_lt (*stp_vectors->flush_lt)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_port_mac (*stp_vectors->get_port_mac)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_port_oper_speed (*stp_vectors->get_port_oper_speed)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_port_link_status (*stp_vectors->get_port_link_status)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_duplex (*stp_vectors->get_duplex)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_set_learning (*stp_vectors->set_learning)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_set_forwarding (*stp_vectors->set_forwarding)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_set_port_state (*stp_vectors->set_port_state)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_set_hardware_mode (*stp_vectors->set_hardware_mode)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_tx_bpdu (*stp_vectors->tx_bpdu)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_port_name (*stp_vectors->get_port_name)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_init_stpm_cfg (*stp_vectors->get_init_stpm_cfg)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#define STP_OUT_get_init_port_cfg (*stp_vectors->get_init_port_cfg)
4eaa471005973e11a6110b69fe990530b3b95a38Rishi Srivatsavai#endif /* _STP_OUT_H__ */