Searched refs:bit_value (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/apps/snmp/ |
D | snmp_core.c | 1215 snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value) in snmp_decode_bits() argument 1219 *bit_value = 0; in snmp_decode_bits() 1232 *bit_value |= (1 << bits_processed); in snmp_decode_bits() 1288 snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count) in snmp_encode_bits() argument 1293 while ((buf_len > 0) && (bit_value != 0x00)) { in snmp_encode_bits() 1297 if (bit_value & 0x01) { in snmp_encode_bits() 1305 bit_value >>= 1; in snmp_encode_bits()
|
/third_party/lwip/src/include/lwip/apps/ |
D | snmp_core.h | 325 err_t snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value); 327 u8_t snmp_encode_bits(u8_t *buf, u32_t buf_len, u32_t bit_value, u8_t bit_count);
|