Lines Matching defs:attr
182 static inline unsigned int ynl_attr_type(const struct nlattr *attr) in ynl_attr_type()
187 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) in ynl_attr_data_len()
192 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data()
197 static inline void *ynl_attr_data_end(const struct nlattr *attr) in ynl_attr_data_end()
202 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument
207 #define ynl_attr_for_each_nested(attr, outer) \ argument
212 #define ynl_attr_for_each_payload(start, len, attr) \ argument
217 ynl_attr_if_good(const void *end, struct nlattr *attr) in ynl_attr_if_good()
229 struct nlattr *attr; in ynl_attr_next() local
238 struct nlattr *attr; in ynl_attr_first() local
262 struct nlattr *attr; in ynl_attr_nest_start() local
275 ynl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *attr) in ynl_attr_nest_end()
284 struct nlattr *attr; in ynl_attr_put() local
301 struct nlattr *attr; in ynl_attr_put_str() local
317 static inline const char *ynl_attr_get_str(const struct nlattr *attr) in ynl_attr_get_str()
322 static inline __s8 ynl_attr_get_s8(const struct nlattr *attr) in ynl_attr_get_s8()
327 static inline __s16 ynl_attr_get_s16(const struct nlattr *attr) in ynl_attr_get_s16()
332 static inline __s32 ynl_attr_get_s32(const struct nlattr *attr) in ynl_attr_get_s32()
337 static inline __s64 ynl_attr_get_s64(const struct nlattr *attr) in ynl_attr_get_s64()
345 static inline __u8 ynl_attr_get_u8(const struct nlattr *attr) in ynl_attr_get_u8()
350 static inline __u16 ynl_attr_get_u16(const struct nlattr *attr) in ynl_attr_get_u16()
355 static inline __u32 ynl_attr_get_u32(const struct nlattr *attr) in ynl_attr_get_u32()
360 static inline __u64 ynl_attr_get_u64(const struct nlattr *attr) in ynl_attr_get_u64()
416 static inline __u64 ynl_attr_get_uint(const struct nlattr *attr) in ynl_attr_get_uint()
428 static inline __s64 ynl_attr_get_sint(const struct nlattr *attr) in ynl_attr_get_sint()