Searched refs:object_value (Results 1 – 4 of 4) sorted by relevance
138 packet->object_value.boolean ? "TRUE" : "FALSE"); in print_packet()142 printf("INTEGER %d\n", packet->object_value.integer); in print_packet()147 (char *)packet->object_value.string.bytes); in print_packet()152 (char *)packet->object_value.string.bytes); in print_packet()160 printf("OID %s\n", _cupsSNMPOIDToString(packet->object_value.oid, in print_packet()166 for (i = 0; i < packet->object_value.string.num_bytes; i ++) in print_packet()167 printf(" %02X", packet->object_value.string.bytes[i]); in print_packet()172 printf("Counter %d\n", packet->object_value.counter); in print_packet()176 printf("Gauge %u\n", packet->object_value.gauge); in print_packet()181 packet->object_value.timeticks / 8640000, in print_packet()[all …]
1024 packet->object_value.boolean = in asn1_decode_snmp()1029 packet->object_value.integer = in asn1_decode_snmp()1039 packet->object_value.string.num_bytes = length; in asn1_decode_snmp()1041 (char *)packet->object_value.string.bytes, in asn1_decode_snmp()1042 sizeof(packet->object_value.string.bytes)); in asn1_decode_snmp()1047 packet->object_value.oid, CUPS_SNMP_MAX_OID); in asn1_decode_snmp()1051 packet->object_value.counter = in asn1_decode_snmp()1056 packet->object_value.gauge = in asn1_decode_snmp()1061 packet->object_value.timeticks = in asn1_decode_snmp()1114 valuelen = asn1_size_integer(packet->object_value.boolean); in asn1_encode_snmp()[all …]
96 object_value; /* object-value value */ member
446 def encode_json_string(object_value): argument453 return json.dumps(object_value)