Interfaces Group MIB module. More...
#include "mibs/mib_common.h"
Go to the source code of this file.
Data Structures | |
struct | IfMibIfEntry |
Interfaces table entry. More... | |
struct | IfMibIfXEntry |
Extension to the interface table. More... | |
struct | IfMibBase |
Interfaces Group MIB base. More... | |
Macros | |
#define | IF_MIB_SUPPORT DISABLED |
#define | IF_MIB_SET_TIME_TICKS(name, value) ifMibBase.name = value |
#define | IF_MIB_INC_COUNTER32(name, value) ifMibBase.name += value |
#define | IF_MIB_INC_COUNTER64(name, value) ifMibBase.name += value |
Variables | |
IfMibBase | ifMibBase |
Interfaces Group MIB base. More... | |
const MibObject | ifMibObjects [] |
Interfaces Group MIB objects. More... | |
const MibModule | ifMibModule |
Interfaces Group MIB module. More... | |
Detailed Description
Interfaces Group MIB module.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP 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.
- Version
- 2.4.4
Definition in file if_mib_module.h.
Macro Definition Documentation
◆ IF_MIB_INC_COUNTER32
#define IF_MIB_INC_COUNTER32 | ( | name, | |
value | |||
) | ifMibBase.name += value |
Definition at line 47 of file if_mib_module.h.
◆ IF_MIB_INC_COUNTER64
#define IF_MIB_INC_COUNTER64 | ( | name, | |
value | |||
) | ifMibBase.name += value |
Definition at line 48 of file if_mib_module.h.
◆ IF_MIB_SET_TIME_TICKS
#define IF_MIB_SET_TIME_TICKS | ( | name, | |
value | |||
) | ifMibBase.name = value |
Definition at line 46 of file if_mib_module.h.
◆ IF_MIB_SUPPORT
#define IF_MIB_SUPPORT DISABLED |
Definition at line 39 of file if_mib_module.h.
Enumeration Type Documentation
◆ IfMibIfAdminStatus
enum IfMibIfAdminStatus |
The desired state of the interface.
Enumerator | |
---|---|
IF_MIB_IF_ADMIN_STATUS_UP | |
IF_MIB_IF_ADMIN_STATUS_DOWN | |
IF_MIB_IF_ADMIN_STATUS_TESTING |
Definition at line 90 of file if_mib_module.h.
◆ IfMibIfLinkUpDownEnable
Enable linkUp/linkDown traps.
Enumerator | |
---|---|
IF_MIB_IF_LINK_UP_DOWN_TRAP_ENABLED | |
IF_MIB_IF_LINK_UP_DOWN_TRAP_DISABLED |
Definition at line 114 of file if_mib_module.h.
◆ IfMibIfOperStatus
enum IfMibIfOperStatus |
The operational state of the interface.
Enumerator | |
---|---|
IF_MIB_IF_OPER_STATUS_UP | |
IF_MIB_IF_OPER_STATUS_DOWN | |
IF_MIB_IF_OPER_STATUS_TESTING |
Definition at line 102 of file if_mib_module.h.
◆ IfMibIfType
enum IfMibIfType |
Interface types.
Definition at line 65 of file if_mib_module.h.
◆ IfMibRcvAddressType
enum IfMibRcvAddressType |
Address type.
Enumerator | |
---|---|
IF_MIB_RCV_ADDRESS_TYPE_OTHER | |
IF_MIB_RCV_ADDRESS_TYPE_VOLATILE | |
IF_MIB_RCV_ADDRESS_TYPE_NON_VOLATILE |
Definition at line 125 of file if_mib_module.h.
Variable Documentation
◆ ifMibBase
|
extern |
Interfaces Group MIB base.
Definition at line 59 of file if_mib_module.c.
◆ ifMibModule
|
extern |
Interfaces Group MIB module.
Definition at line 722 of file if_mib_module.c.
◆ ifMibObjects
|
extern |
Interfaces Group MIB objects.
Definition at line 66 of file if_mib_module.c.