|
|
|
|
@ -84,12 +84,12 @@ err_t snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_
|
|
|
|
|
void snmp_asn1_enc_length_cnt(u16_t length, u8_t *octets_needed); |
|
|
|
|
void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed); |
|
|
|
|
void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed); |
|
|
|
|
void snmp_asn1_enc_oid_cnt(u8_t ident_len, s32_t *ident, u16_t *octets_needed); |
|
|
|
|
void snmp_asn1_enc_oid_cnt(u8_t ident_len, const s32_t *ident, u16_t *octets_needed); |
|
|
|
|
err_t snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type); |
|
|
|
|
err_t snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length); |
|
|
|
|
err_t snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value); |
|
|
|
|
err_t snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value); |
|
|
|
|
err_t snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, s32_t *ident); |
|
|
|
|
err_t snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, const s32_t *ident); |
|
|
|
|
err_t snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw); |
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|