SNMP server options list. More...
#include "lwip/opt.h"
Go to the source code of this file.
Macros | |
#define | LWIP_SNMP 0 |
LWIP_SNMP==1: This enables the lwIP SNMP agent. More... | |
#define | SNMP_USE_NETCONN 0 |
SNMP_USE_NETCONN: Use netconn API instead of raw API. More... | |
#define | SNMP_USE_RAW 1 |
SNMP_USE_RAW: Use raw API. More... | |
#define | SNMP_TRAP_DESTINATIONS 1 |
SNMP_TRAP_DESTINATIONS: Number of trap destinations. More... | |
#define | SNMP_SAFE_REQUESTS 1 |
Only allow SNMP write actions that are 'safe' (e.g. More... | |
#define | SNMP_MAX_OCTET_STRING_LEN 127 |
The maximum length of strings used. More... | |
#define | SNMP_MAX_OBJ_ID_LEN 50 |
The maximum number of Sub ID's inside an object identifier. More... | |
#define | SNMP_MIN_VALUE_SIZE (2 * sizeof(u32_t*)) /* size required to store the basic types (8 bytes for counter64) */ |
The minimum size of a value. More... | |
#define | SNMP_MAX_VALUE_SIZE LWIP_MAX(LWIP_MAX((SNMP_MAX_OCTET_STRING_LEN), sizeof(u32_t)*(SNMP_MAX_OBJ_ID_LEN)), SNMP_MIN_VALUE_SIZE) |
The maximum size of a value. More... | |
#define | SNMP_COMMUNITY "public" |
The snmp read-access community. More... | |
#define | SNMP_COMMUNITY_WRITE "private" |
The snmp write-access community. More... | |
#define | SNMP_COMMUNITY_TRAP "public" |
The snmp community used for sending traps. More... | |
#define | SNMP_MAX_COMMUNITY_STR_LEN LWIP_MAX(LWIP_MAX(sizeof(SNMP_COMMUNITY), sizeof(SNMP_COMMUNITY_WRITE)), sizeof(SNMP_COMMUNITY_TRAP)) |
The maximum length of community string. More... | |
#define | SNMP_LWIP_ENTERPRISE_OID 26381 |
The OID identifiying the device. More... | |
#define | SNMP_DEVICE_ENTERPRISE_OID {1, 3, 6, 1, 4, 1, SNMP_LWIP_ENTERPRISE_OID} |
IANA assigned enterprise ID for lwIP is 26381. More... | |
#define | SNMP_DEVICE_ENTERPRISE_OID_LEN 7 |
Length of SNMP_DEVICE_ENTERPRISE_OID. More... | |
#define | SNMP_DEBUG LWIP_DBG_OFF |
SNMP_DEBUG: Enable debugging for SNMP messages. More... | |
#define | SNMP_MIB_DEBUG LWIP_DBG_OFF |
SNMP_MIB_DEBUG: Enable debugging for SNMP MIBs. More... | |
#define | SNMP_LWIP_MIB2 LWIP_SNMP |
Indicates if the MIB2 implementation of LWIP SNMP stack is used. More... | |
#define | SNMP_LWIP_MIB2_SYSDESC "lwIP" |
Value return for sysDesc field of MIB2. More... | |
#define | SNMP_LWIP_MIB2_SYSNAME "FQDN-unk" |
Value return for sysName field of MIB2. More... | |
#define | SNMP_LWIP_MIB2_SYSCONTACT "" |
Value return for sysContact field of MIB2. More... | |
#define | SNMP_LWIP_MIB2_SYSLOCATION "" |
Value return for sysLocation field of MIB2. More... | |
#define | SNMP_LWIP_GETBULK_MAX_REPETITIONS 0 |
This value is used to limit the repetitions processed in GetBulk requests (value == 0 means no limitation). More... | |
#define | LWIP_SNMP_V3 0 |
LWIP_SNMP_V3==1: This enables EXPERIMENTAL SNMPv3 support. More... | |
SNMP server options list.
Definition in file snmp_opts.h.
#define LWIP_SNMP_V3 0 |
LWIP_SNMP_V3==1: This enables EXPERIMENTAL SNMPv3 support.
LWIP_SNMP must also be enabled. THIS IS UNDER DEVELOPMENT AND SHOULD NOT BE ENABLED IN PRODUCTS.
Definition at line 282 of file snmp_opts.h.