Searched refs:tlv_desc (Results 1 – 2 of 2) sorted by relevance
244 struct tlv_desc { struct252 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) argument268 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()274 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()277 static inline int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN()282 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN()287 static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE()292 static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE()299 struct tlv_desc *tlv_ptr; in TLV_SET()303 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()[all …]
61 struct tlv_desc *req;91 static inline int TLV_GET_DATA_LEN(struct tlv_desc *tlv) in TLV_GET_DATA_LEN()98 struct tlv_desc *tlv = (struct tlv_desc *)skb_tail_pointer(skb); in tipc_add_tlv()114 struct tlv_desc *tlv = (struct tlv_desc *)skb->data; in tipc_tlv_init()118 skb_put(skb, sizeof(struct tlv_desc)); in tipc_tlv_init()128 struct tlv_desc *tlv; in tipc_tlv_sprintf()133 tlv = (struct tlv_desc *)skb->data; in tipc_tlv_sprintf()