Lines Matching refs:object_value
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()
1118 valuelen = asn1_size_integer(packet->object_value.integer); in asn1_encode_snmp()
1122 valuelen = packet->object_value.string.num_bytes; in asn1_encode_snmp()
1126 valuelen = asn1_size_oid(packet->object_value.oid); in asn1_encode_snmp()
1197 asn1_set_integer(&bufptr, packet->object_value.boolean); in asn1_encode_snmp()
1201 asn1_set_integer(&bufptr, packet->object_value.integer); in asn1_encode_snmp()
1207 memcpy(bufptr, packet->object_value.string.bytes, valuelen); in asn1_encode_snmp()
1212 asn1_set_oid(&bufptr, packet->object_value.oid); in asn1_encode_snmp()