Searched refs:tlv_desc (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | tipc_config.h | 246 struct tlv_desc { struct 254 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) argument 270 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK() 276 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK() 279 static __inline__ int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN() 284 static __inline__ void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN() 289 static __inline__ int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE() 294 static __inline__ void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE() 301 struct tlv_desc *tlv_ptr; in TLV_SET() 305 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | tipc_config.h | 246 struct tlv_desc { struct 254 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) argument 270 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK() 276 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK() 279 static __inline__ int TLV_GET_LEN(struct tlv_desc *tlv) in TLV_GET_LEN() 284 static __inline__ void TLV_SET_LEN(struct tlv_desc *tlv, __u16 len) in TLV_SET_LEN() 289 static __inline__ int TLV_CHECK_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_CHECK_TYPE() 294 static __inline__ void TLV_SET_TYPE(struct tlv_desc *tlv, __u16 type) in TLV_SET_TYPE() 301 struct tlv_desc *tlv_ptr; in TLV_SET() 305 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET() [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | tipc_config.h | 248 struct tlv_desc { struct 256 #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) argument 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 *)tlv; in TLV_SET() [all …]
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | netlink_compat.c | 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() 127 struct tlv_desc *tlv; in tipc_tlv_sprintf() 132 tlv = (struct tlv_desc *)skb->data; in tipc_tlv_sprintf()
|