Searched refs:TLV_SET_LEN (Results 1 – 2 of 2) sorted by relevance
280 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN() function
390 #define TLV_SET_LEN(len) (F_ALN_LEN(TLV_HDRL) + (len)) macro391 #define TLV_ALN_LEN(len) F_ALN_LEN(TLV_SET_LEN(len))392 #define TLV_RDAT_LEN(tlv) ((int)(EXTRACT_16BITS(&(tlv)->length) - TLV_SET_LEN(0))393 #define TLV_DATA(tlvp) ((const void*)(((const char*)(tlvp)) + TLV_SET_LEN(0)))