Home
last modified time | relevance | path

Searched refs:tlv_ptr (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dtipc_config.h303 struct tlv_desc *tlv_ptr; in TLV_SET() local
307 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()
308 tlv_ptr->tlv_type = htons(type); in TLV_SET()
309 tlv_ptr->tlv_len = htons(tlv_len); in TLV_SET()
311 memcpy(TLV_DATA(tlv_ptr), data, len); in TLV_SET()
312 memset((char *)TLV_DATA(tlv_ptr) + len, 0, TLV_SPACE(len) - tlv_len); in TLV_SET()
323 struct tlv_desc *tlv_ptr; /* ptr to current TLV */ member
330 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT()
341 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK()
346 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA()
[all …]
/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 Dtipc_config.h301 struct tlv_desc *tlv_ptr; in TLV_SET() local
305 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()
306 tlv_ptr->tlv_type = htons(type); in TLV_SET()
307 tlv_ptr->tlv_len = htons(tlv_len); in TLV_SET()
309 memcpy(TLV_DATA(tlv_ptr), data, tlv_len); in TLV_SET()
319 struct tlv_desc *tlv_ptr; /* ptr to current TLV */ member
326 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT()
337 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK()
342 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA()
347 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
[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 Dtipc_config.h301 struct tlv_desc *tlv_ptr; in TLV_SET() local
305 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()
306 tlv_ptr->tlv_type = htons(type); in TLV_SET()
307 tlv_ptr->tlv_len = htons(tlv_len); in TLV_SET()
309 memcpy(TLV_DATA(tlv_ptr), data, tlv_len); in TLV_SET()
319 struct tlv_desc *tlv_ptr; /* ptr to current TLV */ member
326 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT()
337 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK()
342 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA()
347 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
[all …]