Home
last modified time | relevance | path

Searched refs:tlv_value (Results 1 – 5 of 5) sorted by relevance

/external/tcpdump/
Dprint-vtp.c124 int type, len, tlv_len, tlv_value; in vtp_print() local
283 tlv_value = EXTRACT_16BITS(tptr+2); in vtp_print()
287 ND_PRINT((ndo, ", %u", tlv_value)); in vtp_print()
292 tlv_value == 1 ? "Enabled" : "Disabled", in vtp_print()
293 tlv_value)); in vtp_print()
298 tok2str(vtp_stp_type_values, "Unknown", tlv_value), in vtp_print()
299 tlv_value)); in vtp_print()
304 tlv_value == 1 ? "SRB" : "SRT", in vtp_print()
305 tlv_value)); in vtp_print()
310 tlv_value == 1 ? "Backup" : "Not backup", in vtp_print()
[all …]
Dprint-juniper.c1096 int tlv_value; in juniper_read_tlv_value() local
1102 tlv_value = *p; in juniper_read_tlv_value()
1105 tlv_value = EXTRACT_LE_16BITS(p); in juniper_read_tlv_value()
1108 tlv_value = EXTRACT_LE_24BITS(p); in juniper_read_tlv_value()
1111 tlv_value = EXTRACT_LE_32BITS(p); in juniper_read_tlv_value()
1114 tlv_value = -1; in juniper_read_tlv_value()
1121 tlv_value = *p; in juniper_read_tlv_value()
1124 tlv_value = EXTRACT_16BITS(p); in juniper_read_tlv_value()
1127 tlv_value = EXTRACT_24BITS(p); in juniper_read_tlv_value()
1130 tlv_value = EXTRACT_32BITS(p); in juniper_read_tlv_value()
[all …]
/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c654 p_t2t->tlv_value[2 - p_t2t->bytes_count] = p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
658 … p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset = (p_t2t->tlv_value[0] >> 4) & 0x0F; in rw_t2t_handle_tlv_detect_rsp()
659 … p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset *= (UINT8) tags_pow (2, p_t2t->tlv_value[2] & 0x0F); in rw_t2t_handle_tlv_detect_rsp()
660 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset += p_t2t->tlv_value[0] & 0x0F; in rw_t2t_handle_tlv_detect_rsp()
661 …2t->num_lock_tlvs].bytes_locked_per_bit = (UINT8) tags_pow (2, ((p_t2t->tlv_value[2] & 0xF0) >> 4)… in rw_t2t_handle_tlv_detect_rsp()
662 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].num_bits = p_t2t->tlv_value[1]; in rw_t2t_handle_tlv_detect_rsp()
663 count = p_t2t->tlv_value[1] / 8 + ((p_t2t->tlv_value[1]%8 != 0)? 1:0); in rw_t2t_handle_tlv_detect_rsp()
696 p_t2t->tlv_value[2 - p_t2t->bytes_count] = p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
707 … p_t2t->mem_tlv[p_t2t->num_mem_tlvs].offset = (p_t2t->tlv_value[0] >> 4) & 0x0F; in rw_t2t_handle_tlv_detect_rsp()
708 … p_t2t->mem_tlv[p_t2t->num_mem_tlvs].offset *= (UINT8) tags_pow (2, p_t2t->tlv_value[2] & 0x0F); in rw_t2t_handle_tlv_detect_rsp()
[all …]
Drw_t1t_ndef.c911 UINT8 tlv_value[T1T_DEFAULT_TLV_LEN]; in rw_t1t_handle_tlv_detect_rsp() local
1108 tlv_value[2 - bytes_count] = p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
1113 … p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset = (tlv_value[0] >> 4) & 0x0F; in rw_t1t_handle_tlv_detect_rsp()
1114 … p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset *= (UINT8) tags_pow (2, tlv_value[2] & 0x0F); in rw_t1t_handle_tlv_detect_rsp()
1115 p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset += tlv_value[0] & 0x0F; in rw_t1t_handle_tlv_detect_rsp()
1116 …tlv[p_t1t->num_lock_tlvs].bytes_locked_per_bit = (UINT8) tags_pow (2, ((tlv_value[2] & 0xF0) >> 4)… in rw_t1t_handle_tlv_detect_rsp()
1117 p_t1t->lock_tlv[p_t1t->num_lock_tlvs].num_bits = tlv_value[1]; in rw_t1t_handle_tlv_detect_rsp()
1118 count = tlv_value[1] / 8 + ((tlv_value[1] % 8 != 0)? 1:0); in rw_t1t_handle_tlv_detect_rsp()
1156 tlv_value[2 - bytes_count] = p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
1167 … p_t1t->mem_tlv[p_t1t->num_mem_tlvs].offset = (tlv_value[0] >> 4) & 0x0F; in rw_t1t_handle_tlv_detect_rsp()
[all …]
/external/libnfc-nci/src/nfc/int/
Drw_int.h328 …UINT8 tlv_value[3]; /* Read value field of TLV … member