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 *
1N/A * This file is part of RSTP library.
1N/A *
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 *
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 *
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 * 02111-1307, USA.
1N/A **********************************************************************/
1N/A
1N/A/* This file contains prototypes for system dependent API
1N/A from the RSTP to an operation system */
1N/A
1N/A#ifndef _STP_OUT_H__
1N/A#define _STP_OUT_H__
1N/A
1N/A#include "stp_vectors.h"
1N/A#define STP_OUT_flush_lt (*stp_vectors->flush_lt)
1N/A#define STP_OUT_get_port_mac (*stp_vectors->get_port_mac)
1N/A#define STP_OUT_get_port_oper_speed (*stp_vectors->get_port_oper_speed)
1N/A#define STP_OUT_get_port_link_status (*stp_vectors->get_port_link_status)
1N/A#define STP_OUT_get_duplex (*stp_vectors->get_duplex)
1N/A#ifdef STRONGLY_SPEC_802_1W
1N/A#define STP_OUT_set_learning (*stp_vectors->set_learning)
1N/A#define STP_OUT_set_forwarding (*stp_vectors->set_forwarding)
1N/A#else
1N/A#define STP_OUT_set_port_state (*stp_vectors->set_port_state)
1N/A#endif
1N/A#define STP_OUT_set_hardware_mode (*stp_vectors->set_hardware_mode)
1N/A#define STP_OUT_tx_bpdu (*stp_vectors->tx_bpdu)
1N/A#define STP_OUT_get_port_name (*stp_vectors->get_port_name)
1N/A#define STP_OUT_get_init_stpm_cfg (*stp_vectors->get_init_stpm_cfg)
1N/A#define STP_OUT_get_init_port_cfg (*stp_vectors->get_init_port_cfg)
1N/A
1N/A#endif /* _STP_OUT_H__ */
1N/A