Home | History | Annotate | Download | only in linux

Lines Matching refs:tlv_ptr

299 	struct tlv_desc *tlv_ptr;
303 tlv_ptr = (struct tlv_desc *)tlv;
304 tlv_ptr->tlv_type = htons(type);
305 tlv_ptr->tlv_len = htons(tlv_len);
307 memcpy(TLV_DATA(tlv_ptr), data, tlv_len);
317 struct tlv_desc *tlv_ptr; /* ptr to current TLV */
324 list->tlv_ptr = (struct tlv_desc *)data;
335 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type);
340 return TLV_DATA(list->tlv_ptr);
345 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len));
347 list->tlv_ptr = (struct tlv_desc *)((char *)list->tlv_ptr + tlv_space);