Searched refs:tlv_len (Results 1 – 4 of 4) sorted by relevance
247 __be16 tlv_len; /* TLV length (descriptor + value) */ member270 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()282 int tlv_len; in TLV_SET() local284 tlv_len = TLV_LENGTH(len); in TLV_SET()287 tlv_ptr->tlv_len = htons(tlv_len); in TLV_SET()289 memcpy(TLV_DATA(tlv_ptr), data, tlv_len); in TLV_SET()327 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
1525 u32 tlv_len; in iwlagn_load_firmware() local1569 tlv_len = le32_to_cpu(tlv->length); in iwlagn_load_firmware()1574 if (len < tlv_len) { in iwlagn_load_firmware()1576 len, tlv_len); in iwlagn_load_firmware()1579 len -= ALIGN(tlv_len, 4); in iwlagn_load_firmware()1580 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwlagn_load_firmware()1593 pieces->inst_size = tlv_len; in iwlagn_load_firmware()1597 pieces->data_size = tlv_len; in iwlagn_load_firmware()1601 pieces->init_size = tlv_len; in iwlagn_load_firmware()1605 pieces->init_data_size = tlv_len; in iwlagn_load_firmware()[all …]
71 tlv->tlv_len = htons(TLV_LENGTH(tlv_data_size)); in tipc_cfg_append_tlv()
406 size_t tlv_len; in lbs_add_wpa_tlv() local420 tlv_len = *tlv++ = *ie++; in lbs_add_wpa_tlv()422 while (tlv_len--) in lbs_add_wpa_tlv()