mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 15:42:56 +00:00
Start a timer for enginetime handling.
This timer function should be implemented in the snmpv3_xxx.c file.
This commit is contained in:
parent
f092d09121
commit
f8f3cc039a
@ -64,6 +64,11 @@ snmp_netconn_thread(void *arg)
|
||||
|
||||
snmp_traps_handle = conn;
|
||||
|
||||
#if LWIP_SNMP_V3
|
||||
/* Start the engine time timer */
|
||||
tcpip_enginetime_timer(NULL);
|
||||
#endif
|
||||
|
||||
do {
|
||||
err = netconn_recv(conn, &buf);
|
||||
|
||||
|
@ -65,6 +65,7 @@ err_t snmpv3_auth(struct snmp_pbuf_stream* stream, u16_t length, const u8_t* key
|
||||
err_t snmpv3_crypt(struct snmp_pbuf_stream* stream, u16_t length, const u8_t* key,
|
||||
const u8_t* priv_param, const u32_t engine_boots, const u32_t engine_time, u8_t algo, u8_t mode);
|
||||
err_t snmpv3_build_priv_param(u8_t* priv_param);
|
||||
void tcpip_enginetime_timer(void *arg);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user