[AGENT++] Minimum footprint
Jochen Katz
katz at agentpp.com
Fri May 11 23:23:58 CEST 2007
Hi,
> michael.carr at bt.com wrote:
>> Thanks Henning, any further thoughts on what the other flag(s) were?
>> There is one to disable SNMPv3 support - _NO_SNMPv3 - but I'd rather
>> try to keep that in if possible.
you can do the following (all from config_snmp_pp.h):
#define MAX_SNMP_PACKET 1500
Limit the packet size to a smaller value will reduce memory usage at
runtime. You have to check, what size you need.
//#define SNMP_PP_IPv6
Disable IPv6 code.
// #define _NO_SNMPv3
If you want to keep SNMPv3, try which crypto lib is smallest (libtom,
openssl or libdes)
// #define _USE_IDEA
Keep it disabled, as it is not a standard.
#define _NO_THREADS
Disable thread safety!
#define _NO_LOGGING
You saw it already.
//#define _IPX_ADDRESS
//#define _MAC_ADDRESS
Not needed.
//#define SNMP_BROADCAST
Will save about 20 bytes ;-)
Regards,
Jochen
More information about the AGENTPP
mailing list