Home
last modified time | relevance | path

Searched refs:ynl_attr_data (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/net/ynl/lib/
Dynl-priv.h192 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data() function
199 return (char *)ynl_attr_data(attr) + ynl_attr_data_len(attr); in ynl_attr_data_end()
293 memcpy(ynl_attr_data(attr), value, size); in ynl_attr_put()
311 strcpy((char *)ynl_attr_data(attr), str); in ynl_attr_put_str()
319 return (const char *)ynl_attr_data(attr); in ynl_attr_get_str()
324 return *(__s8 *)ynl_attr_data(attr); in ynl_attr_get_s8()
329 return *(__s16 *)ynl_attr_data(attr); in ynl_attr_get_s16()
334 return *(__s32 *)ynl_attr_data(attr); in ynl_attr_get_s32()
347 return *(__u8 *)ynl_attr_data(attr); in ynl_attr_get_u8()
352 return *(__u16 *)ynl_attr_data(attr); in ynl_attr_get_u16()
[all …]
Dynl.c128 start = ynl_attr_data(attr); in ynl_err_walk()
303 data = ynl_attr_data(attr); in ynl_attr_validate()