|
lwIP
2.1.1
Lightweight IP stack
|
Functions | |
| void | snmp_mib2_set_sysdescr (const u8_t *str, const u16_t *len) |
| void | snmp_mib2_set_syscontact (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| void | snmp_mib2_set_syscontact_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| void | snmp_mib2_set_sysname (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| void | snmp_mib2_set_sysname_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| void | snmp_mib2_set_syslocation (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| void | snmp_mib2_set_syslocation_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| void snmp_mib2_set_syscontact | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysContact pointers
| ocstr | if non-NULL then copy str pointer |
| ocstrlen | points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. |
| bufsize | size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only. |
| void snmp_mib2_set_syscontact_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_syscontact but set pointer to readonly memory
| void snmp_mib2_set_sysdescr | ( | const u8_t * | str, |
| const u16_t * | len | ||
| ) |
Initializes sysDescr pointers.
| str | if non-NULL then copy str pointer |
| len | points to string length, excluding zero terminator |
| void snmp_mib2_set_syslocation | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysLocation pointers
| ocstr | if non-NULL then copy str pointer |
| ocstrlen | points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. |
| bufsize | size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only. |
| void snmp_mib2_set_syslocation_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_syslocation but set pointer to readonly memory
| void snmp_mib2_set_sysname | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysName pointers
| ocstr | if non-NULL then copy str pointer |
| ocstrlen | points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. |
| bufsize | size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only. |
| void snmp_mib2_set_sysname_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_sysname but set pointer to readonly memory