lwip_snmpv3_dummy.c File Reference
Dummy SNMPv3 functions. More...
Go to the source code of this file.
Functions | |
err_t | snmpv3_get_user (const char *username, u8_t *auth_algo, u8_t *auth_key, u8_t *priv_algo, u8_t *priv_key) |
void | snmpv3_get_engine_id (const char **id, u8_t *len) |
Get engine ID from persistence. | |
err_t | snmpv3_set_engine_id (const char *id, u8_t len) |
Store engine ID in persistence. | |
u32_t | snmpv3_get_engine_boots (void) |
Get engine boots from persistence. | |
void | snmpv3_set_engine_boots (u32_t boots) |
Store engine boots in persistence. | |
u32_t | snmpv3_get_engine_time (void) |
RFC3414 2.2.2. | |
void | snmpv3_reset_engine_time (void) |
Reset current engine time to 0. |
Detailed Description
Dummy SNMPv3 functions.
Definition in file lwip_snmpv3_dummy.c.
Function Documentation
u32_t snmpv3_get_engine_boots | ( | void | ) |
Get engine boots from persistence.
Must be increased on each boot.
- Returns:
Definition at line 111 of file lwip_snmpv3_dummy.c.
void snmpv3_get_engine_id | ( | const char ** | id, |
u8_t * | len | ||
) |
Get engine ID from persistence.
- Parameters:
-
id len
Definition at line 87 of file lwip_snmpv3_dummy.c.
u32_t snmpv3_get_engine_time | ( | void | ) |
RFC3414 2.2.2.
Once the timer reaches 2147483647 it gets reset to zero and the engine boot ups get incremented.
Definition at line 132 of file lwip_snmpv3_dummy.c.
err_t snmpv3_get_user | ( | const char * | username, |
u8_t * | auth_algo, | ||
u8_t * | auth_key, | ||
u8_t * | priv_algo, | ||
u8_t * | priv_key | ||
) |
- Parameters:
-
username is a pointer to a string. auth_algo is a pointer to u8_t. The implementation has to set this if user was found. auth_key is a pointer to a pointer to a string. Implementation has to set this if user was found. priv_algo is a pointer to u8_t. The implementation has to set this if user was found. priv_key is a pointer to a pointer to a string. Implementation has to set this if user was found.
Definition at line 51 of file lwip_snmpv3_dummy.c.
void snmpv3_reset_engine_time | ( | void | ) |
Reset current engine time to 0.
Definition at line 141 of file lwip_snmpv3_dummy.c.
void snmpv3_set_engine_boots | ( | u32_t | boots ) |
Store engine boots in persistence.
- Parameters:
-
boots
Definition at line 121 of file lwip_snmpv3_dummy.c.
err_t snmpv3_set_engine_id | ( | const char * | id, |
u8_t | len | ||
) |
Store engine ID in persistence.
- Parameters:
-
id len
Definition at line 99 of file lwip_snmpv3_dummy.c.
Generated on Tue Jul 12 2022 12:22:31 by
