Added handling invalid packets in SNMPv3.

This commit is contained in:
Marco
2017-03-01 16:13:45 +01:00
committed by Dirk Ziegelmeier
parent 78806001e5
commit f092d09121
5 changed files with 262 additions and 54 deletions

View File

@@ -351,6 +351,14 @@ struct snmp_statistics
u32_t outsetrequests;
u32_t outgetresponses;
u32_t outtraps;
#if LWIP_SNMP_V3
u32_t unsupportedseclevels;
u32_t notintimewindows;
u32_t unknownusernames;
u32_t unknownengineids;
u32_t wrongdigests;
u32_t decryptionerrors;
#endif
};
extern struct snmp_statistics snmp_stats;