Home
last modified time | relevance | path

Searched refs:tlv_len (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/include/linux/
Dtipc_config.h247 __be16 tlv_len; /* TLV length (descriptor + value) */ member
270 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
282 int tlv_len; in TLV_SET() local
284 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()
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn.c1525 u32 tlv_len; in iwlagn_load_firmware() local
1569 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 …]
/linux-2.6.39/net/tipc/
Dconfig.c71 tlv->tlv_len = htons(TLV_LENGTH(tlv_data_size)); in tipc_cfg_append_tlv()
/linux-2.6.39/drivers/net/wireless/libertas/
Dcfg.c406 size_t tlv_len; in lbs_add_wpa_tlv() local
420 tlv_len = *tlv++ = *ie++; in lbs_add_wpa_tlv()
422 while (tlv_len--) in lbs_add_wpa_tlv()