Lines Matching refs:nlattr
24 struct nlattr;
86 extern int nla_type(const struct nlattr *);
87 extern void * nla_data(const struct nlattr *);
88 extern int nla_len(const struct nlattr *);
89 extern int nla_ok(const struct nlattr *, int);
90 extern struct nlattr * nla_next(const struct nlattr *, int *);
91 extern int nla_parse(struct nlattr **, int, struct nlattr *,
93 extern int nla_validate(const struct nlattr *, int, int,
95 extern struct nlattr * nla_find(const struct nlattr *, int, int);
98 extern int nla_memcpy(void *, const struct nlattr *, int);
99 extern size_t nla_strlcpy(char *, const struct nlattr *, size_t);
100 extern int nla_memcmp(const struct nlattr *, const void *, size_t);
101 extern int nla_strcmp(const struct nlattr *, const char *);
104 extern struct nlattr * nla_reserve(struct nl_msg *, int, int);
111 extern int8_t nla_get_s8(const struct nlattr *);
113 extern uint8_t nla_get_u8(const struct nlattr *);
115 extern int16_t nla_get_s16(const struct nlattr *);
117 extern uint16_t nla_get_u16(const struct nlattr *);
119 extern int32_t nla_get_s32(const struct nlattr *);
121 extern uint32_t nla_get_u32(const struct nlattr *);
123 extern int64_t nla_get_s64(const struct nlattr *);
125 extern uint64_t nla_get_u64(const struct nlattr *);
129 extern char * nla_get_string(const struct nlattr *);
130 extern char * nla_strdup(const struct nlattr *);
134 extern int nla_get_flag(const struct nlattr *);
138 extern unsigned long nla_get_msecs(const struct nlattr *);
144 extern struct nlattr * nla_nest_start(struct nl_msg *, int);
145 extern int nla_nest_end(struct nl_msg *, struct nlattr *);
146 extern int nla_nest_end_keep_empty(struct nl_msg *, struct nlattr *);
147 extern void nla_nest_cancel(struct nl_msg *, const struct nlattr *);
148 extern int nla_parse_nested(struct nlattr **, int, struct nlattr *,
150 extern int nla_is_nested(const struct nlattr *);
331 for (pos = (struct nlattr *) nla_data(nla), rem = nla_len(nla); \