Searched refs:octets_needed (Results 1 – 2 of 2) sorted by relevance
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/ |
H A D | snmp_asn1.c | 159 octets_needed--; in snmp_asn1_enc_u32t() 163 octets_needed--; in snmp_asn1_enc_u32t() 186 octets_needed--; in snmp_asn1_enc_s32t() 256 *octets_needed = 1; in snmp_asn1_enc_length_cnt() 258 *octets_needed = 2; in snmp_asn1_enc_length_cnt() 260 *octets_needed = 3; in snmp_asn1_enc_length_cnt() 278 *octets_needed = 1; in snmp_asn1_enc_u32t_cnt() 327 *octets_needed = 0; in snmp_asn1_enc_oid_cnt() 627 *octets_needed = *octets_needed + 4; /* add the 4 bytes of low u32 */ in snmp_asn1_enc_u64t_cnt() 689 octets_needed--; in snmp_asn1_enc_u64t() [all …]
|
H A D | snmp_asn1.h | 92 void snmp_asn1_enc_length_cnt(u16_t length, u8_t *octets_needed); 93 void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed); 94 void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed); 95 void snmp_asn1_enc_oid_cnt(const u32_t *oid, u16_t oid_len, u16_t *octets_needed); 97 err_t snmp_asn1_enc_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, s32_t value); 98 err_t snmp_asn1_enc_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u32_t value); 103 void snmp_asn1_enc_u64t_cnt(u64_t value, u16_t *octets_needed); 104 err_t snmp_asn1_enc_u64t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u64_t value);
|