bridge_mib_module.h File Reference

Bridge MIB module. More...

#include "mibs/mib_common.h"
#include "stp/stp.h"
#include "rstp/rstp.h"

Go to the source code of this file.

Data Structures

struct  BridgeMibBase
 Bridge MIB base. More...
 

Macros

#define BRIDGE_MIB_SUPPORT   DISABLED
 
#define BRIDGE_MIB_SET_SUPPORT   DISABLED
 

Enumerations

enum  BridgeMibBaseType { BRIDGE_MIB_BASE_TYPE_UNKNOWN = 1, BRIDGE_MIB_BASE_TYPE_TRANSPARENT_ONLY = 2, BRIDGE_MIB_BASE_TYPE_SOURCE_ROUTE_ONLY = 3, BRIDGE_MIB_BASE_TYPE_SRT = 4 }
 Types of bridging. More...
 
enum  BridgeMibProtocolSpec { BRIDGE_MIB_PROTOCOL_SPEC_UNKNOWN = 1, BRIDGE_MIB_PROTOCOL_SPEC_DEC_LB100 = 2, BRIDGE_MIB_PROTOCOL_SPEC_IEEE802_1D = 3 }
 STP protocol specification. More...
 
enum  BridgeMibPortState {
  BRIDGE_MIB_PORT_STATE_UNKNOWN = 0, BRIDGE_MIB_PORT_STATE_DISABLED = 1, BRIDGE_MIB_PORT_STATE_BLOCKING = 2, BRIDGE_MIB_PORT_STATE_LISTENING = 3,
  BRIDGE_MIB_PORT_STATE_LEARNING = 4, BRIDGE_MIB_PORT_STATE_FORWARDING = 5, BRIDGE_MIB_PORT_STATE_BROKEN = 6
}
 Port state. More...
 
enum  BridgeMibPortStatus { BRIDGE_MIB_PORT_STATUS_ENABLED = 1, BRIDGE_MIB_PORT_STATUS_DISABLED = 2 }
 Status of the port. More...
 
enum  BridgeMibFdbStatus {
  BRIDGE_MIB_FDB_STATUS_OTHER = 1, BRIDGE_MIB_FDB_STATUS_INVALID = 2, BRIDGE_MIB_FDB_STATUS_LEARNED = 3, BRIDGE_MIB_FDB_STATUS_SELF = 4,
  BRIDGE_MIB_FDB_STATUS_MGMT = 5
}
 Status of forwarding database entry. More...
 
enum  BridgeMibStaticStatus {
  BRIDGE_MIB_STATIC_STATUS_OTHER = 1, BRIDGE_MIB_STATIC_STATUS_INVALID = 2, BRIDGE_MIB_STATIC_STATUS_PERMANENT = 3, BRIDGE_MIB_STATIC_STATUS_DELETE_ON_RESET = 4,
  BRIDGE_MIB_STATIC_STATUS_DELETE_ON_TIMEOUT = 5
}
 Status of static database entry. More...
 

Variables

BridgeMibBase bridgeMibBase
 Bridge MIB base. More...
 
const MibObject bridgeMibObjects []
 Bridge MIB objects. More...
 
const MibModule bridgeMibModule
 Bridge MIB module. More...
 

Detailed Description

Bridge MIB module.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2019-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneSTP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file bridge_mib_module.h.

Macro Definition Documentation

◆ BRIDGE_MIB_SET_SUPPORT

#define BRIDGE_MIB_SET_SUPPORT   DISABLED

Definition at line 48 of file bridge_mib_module.h.

◆ BRIDGE_MIB_SUPPORT

#define BRIDGE_MIB_SUPPORT   DISABLED

Definition at line 41 of file bridge_mib_module.h.

Enumeration Type Documentation

◆ BridgeMibBaseType

Types of bridging.

Enumerator
BRIDGE_MIB_BASE_TYPE_UNKNOWN 
BRIDGE_MIB_BASE_TYPE_TRANSPARENT_ONLY 
BRIDGE_MIB_BASE_TYPE_SOURCE_ROUTE_ONLY 
BRIDGE_MIB_BASE_TYPE_SRT 

Definition at line 63 of file bridge_mib_module.h.

◆ BridgeMibFdbStatus

Status of forwarding database entry.

Enumerator
BRIDGE_MIB_FDB_STATUS_OTHER 
BRIDGE_MIB_FDB_STATUS_INVALID 
BRIDGE_MIB_FDB_STATUS_LEARNED 
BRIDGE_MIB_FDB_STATUS_SELF 
BRIDGE_MIB_FDB_STATUS_MGMT 

Definition at line 115 of file bridge_mib_module.h.

◆ BridgeMibPortState

Port state.

Enumerator
BRIDGE_MIB_PORT_STATE_UNKNOWN 
BRIDGE_MIB_PORT_STATE_DISABLED 
BRIDGE_MIB_PORT_STATE_BLOCKING 
BRIDGE_MIB_PORT_STATE_LISTENING 
BRIDGE_MIB_PORT_STATE_LEARNING 
BRIDGE_MIB_PORT_STATE_FORWARDING 
BRIDGE_MIB_PORT_STATE_BROKEN 

Definition at line 88 of file bridge_mib_module.h.

◆ BridgeMibPortStatus

Status of the port.

Enumerator
BRIDGE_MIB_PORT_STATUS_ENABLED 
BRIDGE_MIB_PORT_STATUS_DISABLED 

Definition at line 104 of file bridge_mib_module.h.

◆ BridgeMibProtocolSpec

STP protocol specification.

Enumerator
BRIDGE_MIB_PROTOCOL_SPEC_UNKNOWN 
BRIDGE_MIB_PROTOCOL_SPEC_DEC_LB100 
BRIDGE_MIB_PROTOCOL_SPEC_IEEE802_1D 

Definition at line 76 of file bridge_mib_module.h.

◆ BridgeMibStaticStatus

Status of static database entry.

Enumerator
BRIDGE_MIB_STATIC_STATUS_OTHER 
BRIDGE_MIB_STATIC_STATUS_INVALID 
BRIDGE_MIB_STATIC_STATUS_PERMANENT 
BRIDGE_MIB_STATIC_STATUS_DELETE_ON_RESET 
BRIDGE_MIB_STATIC_STATUS_DELETE_ON_TIMEOUT 

Definition at line 129 of file bridge_mib_module.h.

Variable Documentation

◆ bridgeMibBase

BridgeMibBase bridgeMibBase
extern

Bridge MIB base.

Definition at line 56 of file bridge_mib_module.c.

◆ bridgeMibModule

const MibModule bridgeMibModule
extern

Bridge MIB module.

Definition at line 777 of file bridge_mib_module.c.

◆ bridgeMibObjects

const MibObject bridgeMibObjects[]
extern

Bridge MIB objects.

Definition at line 63 of file bridge_mib_module.c.