Searched refs:tlv_desc (Results 1 – 1 of 1) sorted by relevance
242 struct tlv_desc { struct250 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) argument266 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()272 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()275 static inline int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN()280 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN()285 static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE()290 static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE()297 struct tlv_desc *tlv_ptr; in TLV_SET()301 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()[all …]