Lines Matching defs:nlh
142 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in ynl_nlmsg_put_header() local
150 static inline unsigned int ynl_nlmsg_data_len(const struct nlmsghdr *nlh) in ynl_nlmsg_data_len()
155 static inline void *ynl_nlmsg_data(const struct nlmsghdr *nlh) in ynl_nlmsg_data()
161 ynl_nlmsg_data_offset(const struct nlmsghdr *nlh, unsigned int offset) in ynl_nlmsg_data_offset()
166 static inline void *ynl_nlmsg_end_addr(const struct nlmsghdr *nlh) in ynl_nlmsg_end_addr()
172 ynl_nlmsg_put_extra_header(struct nlmsghdr *nlh, unsigned int size) in ynl_nlmsg_put_extra_header()
202 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument
245 __ynl_attr_put_overflow(struct nlmsghdr *nlh, size_t size) in __ynl_attr_put_overflow()
260 ynl_attr_nest_start(struct nlmsghdr *nlh, unsigned int attr_type) in ynl_attr_nest_start()
275 ynl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *attr) in ynl_attr_nest_end()
281 ynl_attr_put(struct nlmsghdr *nlh, unsigned int attr_type, in ynl_attr_put()
299 ynl_attr_put_str(struct nlmsghdr *nlh, unsigned int attr_type, const char *str) in ynl_attr_put_str()
369 ynl_attr_put_s8(struct nlmsghdr *nlh, unsigned int attr_type, __s8 value) in ynl_attr_put_s8()
375 ynl_attr_put_s16(struct nlmsghdr *nlh, unsigned int attr_type, __s16 value) in ynl_attr_put_s16()
381 ynl_attr_put_s32(struct nlmsghdr *nlh, unsigned int attr_type, __s32 value) in ynl_attr_put_s32()
387 ynl_attr_put_s64(struct nlmsghdr *nlh, unsigned int attr_type, __s64 value) in ynl_attr_put_s64()
393 ynl_attr_put_u8(struct nlmsghdr *nlh, unsigned int attr_type, __u8 value) in ynl_attr_put_u8()
399 ynl_attr_put_u16(struct nlmsghdr *nlh, unsigned int attr_type, __u16 value) in ynl_attr_put_u16()
405 ynl_attr_put_u32(struct nlmsghdr *nlh, unsigned int attr_type, __u32 value) in ynl_attr_put_u32()
411 ynl_attr_put_u64(struct nlmsghdr *nlh, unsigned int attr_type, __u64 value) in ynl_attr_put_u64()
441 ynl_attr_put_uint(struct nlmsghdr *nlh, __u16 type, __u64 data) in ynl_attr_put_uint()
450 ynl_attr_put_sint(struct nlmsghdr *nlh, __u16 type, __s64 data) in ynl_attr_put_sint()