Home
last modified time | relevance | path

Searched refs:tlv_desc (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/linux/
H A Dtipc_config.h248 struct tlv_desc { struct
256 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen))
272 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
278 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
281 static inline int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN()
286 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN()
291 static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE()
296 static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE()
303 struct tlv_desc *tlv_ptr; in TLV_SET()
307 tlv_ptr = (struct tlv_desc *)tl in TLV_SET()
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dtipc_config.h244 struct tlv_desc { struct
252 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen))
268 (__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 *)tl in TLV_SET()
[all...]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dtipc_config.h114 struct tlv_desc { struct
120 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen))
127 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
132 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK()
134 static inline int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN()
138 static inline void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN()
142 static inline int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE()
146 static inline void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE()
152 struct tlv_desc *tlv_ptr; in TLV_SET()
155 tlv_ptr = (struct tlv_desc *)tl in TLV_SET()
[all...]
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dtipc_config.h125 struct tlv_desc { struct
131 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen))
135 struct tlv_desc * tlv_ptr;
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dtipc_config.h125 struct tlv_desc { struct
131 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen))
135 struct tlv_desc * tlv_ptr;
/kernel/linux/linux-5.10/net/tipc/
H A Dnetlink_compat.c61 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()
115 struct tlv_desc *tlv = (struct tlv_desc *)skb->data; in tipc_tlv_init()
119 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()
/kernel/linux/linux-6.6/net/tipc/
H A Dnetlink_compat.c62 struct tlv_desc *req;
92 static inline int TLV_GET_DATA_LEN(struct tlv_desc *tlv) in TLV_GET_DATA_LEN()
99 struct tlv_desc *tlv = (struct tlv_desc *)skb_tail_pointer(skb); in tipc_add_tlv()
116 struct tlv_desc *tlv = (struct tlv_desc *)skb->data; in tipc_tlv_init()
120 skb_put(skb, sizeof(struct tlv_desc)); in tipc_tlv_init()
130 struct tlv_desc *tlv; in tipc_tlv_sprintf()
135 tlv = (struct tlv_desc *)skb->data; in tipc_tlv_sprintf()

Completed in 7 milliseconds