Searched refs:tlv_ptr (Results 1 – 1 of 1) sorted by relevance
299 struct tlv_desc *tlv_ptr; in TLV_SET() local303 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()304 tlv_ptr->tlv_type = __cpu_to_be16(type); in TLV_SET()305 tlv_ptr->tlv_len = __cpu_to_be16(tlv_len); in TLV_SET()307 memcpy(TLV_DATA(tlv_ptr), data, len); in TLV_SET()319 struct tlv_desc *tlv_ptr; /* ptr to current TLV */ member326 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT()337 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK()342 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA()347 __u16 tlv_space = TLV_ALIGN(__be16_to_cpu(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()[all …]