if_mib_module.h File Reference

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
 

Enumerations

enum  IfMibIfType {
  IF_MIB_IF_TYPE_OTHER = 1, IF_MIB_IF_TYPE_ETHERNET_CSMACD = 6, IF_MIB_IF_TYPE_PROP_PTP_SERIAL = 22, IF_MIB_IF_TYPE_PPP = 23,
  IF_MIB_IF_TYPE_SOFT_LOOPBACK = 24, IF_MIB_IF_TYPE_SLIP = 28, IF_MIB_IF_TYPE_RS232 = 33, IF_MIB_IF_TYPE_PARA = 34,
  IF_MIB_IF_TYPE_L2_VLAN = 135, IF_MIB_IF_TYPE_USB = 160, IF_MIB_IF_TYPE_IEEE_802_15_4 = 259
}
 Interface types. More...
 
enum  IfMibIfAdminStatus { IF_MIB_IF_ADMIN_STATUS_UP = 1, IF_MIB_IF_ADMIN_STATUS_DOWN = 2, IF_MIB_IF_ADMIN_STATUS_TESTING = 3 }
 The desired state of the interface. More...
 
enum  IfMibIfOperStatus { IF_MIB_IF_OPER_STATUS_UP = 1, IF_MIB_IF_OPER_STATUS_DOWN = 2, IF_MIB_IF_OPER_STATUS_TESTING = 3 }
 The operational state of the interface. More...
 
enum  IfMibIfLinkUpDownEnable { IF_MIB_IF_LINK_UP_DOWN_TRAP_ENABLED = 1, IF_MIB_IF_LINK_UP_DOWN_TRAP_DISABLED = 2 }
 Enable linkUp/linkDown traps. More...
 
enum  IfMibRcvAddressType { IF_MIB_RCV_ADDRESS_TYPE_OTHER = 1, IF_MIB_RCV_ADDRESS_TYPE_VOLATILE = 2, IF_MIB_RCV_ADDRESS_TYPE_NON_VOLATILE = 3 }
 Address type. More...
 

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

Copyright (C) 2010-2018 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.

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

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 45 of file if_mib_module.h.

◆ IF_MIB_INC_COUNTER64

#define IF_MIB_INC_COUNTER64 (   name,
  value 
)    ifMibBase.name += value

Definition at line 46 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 44 of file if_mib_module.h.

◆ IF_MIB_SUPPORT

#define IF_MIB_SUPPORT   DISABLED

Definition at line 37 of file if_mib_module.h.

Enumeration Type Documentation

◆ 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 83 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 107 of file if_mib_module.h.

◆ 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 95 of file if_mib_module.h.

◆ IfMibIfType

Interface types.

Enumerator
IF_MIB_IF_TYPE_OTHER 
IF_MIB_IF_TYPE_ETHERNET_CSMACD 
IF_MIB_IF_TYPE_PROP_PTP_SERIAL 
IF_MIB_IF_TYPE_PPP 
IF_MIB_IF_TYPE_SOFT_LOOPBACK 
IF_MIB_IF_TYPE_SLIP 
IF_MIB_IF_TYPE_RS232 
IF_MIB_IF_TYPE_PARA 
IF_MIB_IF_TYPE_L2_VLAN 
IF_MIB_IF_TYPE_USB 
IF_MIB_IF_TYPE_IEEE_802_15_4 

Definition at line 63 of file if_mib_module.h.

◆ 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 118 of file if_mib_module.h.

Variable Documentation

◆ ifMibBase

IfMibBase ifMibBase

Interfaces Group MIB base.

Definition at line 57 of file if_mib_module.c.

◆ ifMibModule

const MibModule ifMibModule

Interfaces Group MIB module.

Definition at line 718 of file if_mib_module.c.

◆ ifMibObjects

const MibObject ifMibObjects[]

Interfaces Group MIB objects.

Definition at line 64 of file if_mib_module.c.