diff options
author | Micael Karlberg <[email protected]> | 2012-01-24 13:49:45 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-01-24 13:49:45 +0100 |
commit | 8ae3c543864bfe62b80667a950340281e9fb79f3 (patch) | |
tree | ba992366873ba156a5da06e7f27ddebf3ab2727e /lib/snmp/src/agent/snmpa_internal.hrl | |
parent | 7619b94a2c1098cbd176507b34d291806833a4b7 (diff) | |
parent | e0e862b42d508b5112395f41584bed90c74a8a92 (diff) | |
download | otp-8ae3c543864bfe62b80667a950340281e9fb79f3.tar.gz otp-8ae3c543864bfe62b80667a950340281e9fb79f3.tar.bz2 otp-8ae3c543864bfe62b80667a950340281e9fb79f3.zip |
[snmp] Merged from R13B and also fixed appup
Merge from R13B maintenance branch (snmp-4.17.3),
fixed appup and source diff (there is some between
snmp-4.17.3 and 4.21.6).
Merge branch 'maint-r13' into bmk/snmp/snmp4216_integration/r14
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/src/agent/snmpa.erl
lib/snmp/src/agent/snmpa_agent.erl
lib/snmp/src/agent/snmpa_trap.erl
lib/snmp/src/app/snmp.appup.src
lib/snmp/test/snmp_agent_test.erl
lib/snmp/vsn.mk
Diffstat (limited to 'lib/snmp/src/agent/snmpa_internal.hrl')
-rw-r--r-- | lib/snmp/src/agent/snmpa_internal.hrl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmpa_internal.hrl b/lib/snmp/src/agent/snmpa_internal.hrl index 20a36cc118..c435b519d9 100644 --- a/lib/snmp/src/agent/snmpa_internal.hrl +++ b/lib/snmp/src/agent/snmpa_internal.hrl @@ -26,6 +26,15 @@ -define(DEFAULT_LOCAL_ENGINE_ID, snmp_framework_mib:get_engine_id()). -define(DEFAULT_NOTIF_EXTRA_INFO, {snmpa_default_notification_extra_info}). +%% -- Max number of VBs in a Get-BULK response -- +%% (( The default value, 1000, is *way* more )) +%% (( then there is room for in a normal pdu )) +%% (( (unless the max pdu size has been )) +%% (( cranked way up), so this value should )) +%% (( suffice as "infinity" without actually )) +%% (( causing memory issues for the VM ... )) +-define(DEFAULT_GB_MAX_VBS, 1000). + -define(snmpa_info(F, A), ?snmp_info("agent", F, A)). -define(snmpa_warning(F, A), ?snmp_warning("agent", F, A)). -define(snmpa_error(F, A), ?snmp_error("agent", F, A)). |