IP MIB module. More...
#include "mibs/mib_common.h"Go to the source code of this file.
Data Structures | |
| struct | IpMibIpSystemStatsEntry |
| System-wide IP statistics. More... | |
| struct | IpMibIpIfStatsEntry |
| Per-interface IP statistics. More... | |
| struct | IpMibIcmpStatsEntry |
| ICMP statistics. More... | |
| struct | IpMibIcmpMsgStatsEntry |
| Per-message ICMP statistics. More... | |
| struct | IpMibBase |
| IP MIB base. More... | |
Macros | |
| #define | IP_MIB_SUPPORT DISABLED |
| #define | IP_MIB_INC_COUNTER32(name, value) ipMibBase.name += value |
| #define | IP_MIB_INC_COUNTER64(name, value) ipMibBase.name += value |
Variables | |
| IpMibBase | ipMibBase |
| IP MIB base. More... | |
| const MibObject | ipMibObjects [] |
| IP MIB objects. More... | |
| const MibModule | ipMibModule |
| IP MIB module. More... | |
Detailed Description
IP MIB module.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2025 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.5.4
Definition in file ip_mib_module.h.
Macro Definition Documentation
◆ IP_MIB_INC_COUNTER32
| #define IP_MIB_INC_COUNTER32 | ( | name, | |
| value | |||
| ) | ipMibBase.name += value |
Definition at line 46 of file ip_mib_module.h.
◆ IP_MIB_INC_COUNTER64
| #define IP_MIB_INC_COUNTER64 | ( | name, | |
| value | |||
| ) | ipMibBase.name += value |
Definition at line 47 of file ip_mib_module.h.
◆ IP_MIB_SUPPORT
| #define IP_MIB_SUPPORT DISABLED |
Definition at line 39 of file ip_mib_module.h.
Enumeration Type Documentation
◆ IpMibAddrOrigin
| enum IpMibAddrOrigin |
IP address origin.
| Enumerator | |
|---|---|
| IP_MIB_ADDR_ORIGIN_MANUAL | |
| IP_MIB_ADDR_ORIGIN_DHCP | |
| IP_MIB_ADDR_ORIGIN_LINK_LAYER | |
| IP_MIB_ADDR_ORIGIN_RANDOM | |
Definition at line 97 of file ip_mib_module.h.
◆ IpMibAddrStatus
| enum IpMibAddrStatus |
IP address status.
Definition at line 109 of file ip_mib_module.h.
◆ IpMibAddrType
| enum IpMibAddrType |
IP address type.
| Enumerator | |
|---|---|
| IP_MIB_ADDR_TYPE_UNICAST | |
| IP_MIB_ADDR_TYPE_ANYCAST | |
| IP_MIB_ADDR_TYPE_BROADCAST | |
Definition at line 85 of file ip_mib_module.h.
◆ IpMibIpForwarding
| enum IpMibIpForwarding |
IP forwarding state.
| Enumerator | |
|---|---|
| IP_MIB_IP_FORWARDING_ENABLED | |
| IP_MIB_IP_FORWARDING_DISABLED | |
Definition at line 63 of file ip_mib_module.h.
◆ IpMibIpStatus
| enum IpMibIpStatus |
IP status.
| Enumerator | |
|---|---|
| IP_MIB_IP_STATUS_UP | |
| IP_MIB_IP_STATUS_DOWN | |
Definition at line 74 of file ip_mib_module.h.
◆ IpMibNetToPhysState
| enum IpMibNetToPhysState |
Entry state.
Definition at line 153 of file ip_mib_module.h.
◆ IpMibNetToPhysType
| enum IpMibNetToPhysType |
Type of mapping.
| Enumerator | |
|---|---|
| IP_MIB_NET_TO_PHYS_TYPE_OTHER | |
| IP_MIB_NET_TO_PHYS_TYPE_INVALID | |
| IP_MIB_NET_TO_PHYS_TYPE_DYNAMIC | |
| IP_MIB_NET_TO_PHYS_TYPE_STATIC | |
| IP_MIB_NET_TO_PHYS_TYPE_LOCAL | |
Definition at line 139 of file ip_mib_module.h.
◆ IpMibPrefixOrigin
| enum IpMibPrefixOrigin |
Prefix origin.
| Enumerator | |
|---|---|
| IP_MIB_PREFIX_ORIGIN_MANUAL | |
| IP_MIB_PREFIX_ORIGIN_WELL_KNOWN | |
| IP_MIB_PREFIX_ORIGIN_DHCP | |
| IP_MIB_PREFIX_ORIGIN_ROUTER_ADV | |
Definition at line 126 of file ip_mib_module.h.
◆ IpMibRouterPreference
Router preferences.
| Enumerator | |
|---|---|
| IP_MIB_ROUTER_PREFERENCE_RESERVED | |
| IP_MIB_ROUTER_PREFERENCE_LOW | |
| IP_MIB_ROUTER_PREFERENCE_MEDIUM | |
| IP_MIB_ROUTER_PREFERENCE_HIGH | |
Definition at line 169 of file ip_mib_module.h.
Variable Documentation
◆ ipMibBase
|
extern |
IP MIB base.
Definition at line 60 of file ip_mib_module.c.
◆ ipMibModule
|
extern |
IP MIB module.
Definition at line 2458 of file ip_mib_module.c.
◆ ipMibObjects
|
extern |
IP MIB objects.
Definition at line 67 of file ip_mib_module.c.
