Lines Matching refs:nlattr

74 	struct nlattr		*cookie; /* NLA to return to the userspace */
102 typedef int parse_attr_f(struct nlattr *attr, struct nl_pstate *npt,
165 void nl_get_attrs_bmask_raw(struct nlattr *nla_head, uint32_t len,
169 int nl_parse_attrs_raw(struct nlattr *nla_head, uint16_t len,
173 int nlattr_get_flag(struct nlattr *nla, struct nl_pstate *npt,
175 int nlattr_get_ip(struct nlattr *nla, struct nl_pstate *npt,
177 int nlattr_get_bool(struct nlattr *nla, struct nl_pstate *npt,
179 int nlattr_get_uint8(struct nlattr *nla, struct nl_pstate *npt,
181 int nlattr_get_uint16(struct nlattr *nla, struct nl_pstate *npt,
183 int nlattr_get_uint32(struct nlattr *nla, struct nl_pstate *npt,
185 int nlattr_get_uint64(struct nlattr *nla, struct nl_pstate *npt,
187 int nlattr_get_in_addr(struct nlattr *nla, struct nl_pstate *npt,
189 int nlattr_get_in6_addr(struct nlattr *nla, struct nl_pstate *npt,
191 int nlattr_get_ifp(struct nlattr *nla, struct nl_pstate *npt,
193 int nlattr_get_ifpz(struct nlattr *nla, struct nl_pstate *npt,
195 int nlattr_get_ipvia(struct nlattr *nla, struct nl_pstate *npt,
197 int nlattr_get_chara(struct nlattr *nla, struct nl_pstate *npt,
199 int nlattr_get_string(struct nlattr *nla, struct nl_pstate *npt,
201 int nlattr_get_stringn(struct nlattr *nla, struct nl_pstate *npt,
203 int nlattr_get_bytes(struct nlattr *nla, struct nl_pstate *npt,
205 int nlattr_get_nla(struct nlattr *nla, struct nl_pstate *npt,
207 int nlattr_get_nested(struct nlattr *nla, struct nl_pstate *npt,
209 int nlattr_get_nested_ptr(struct nlattr *nla, struct nl_pstate *npt,
222 void nlmsg_report_cookie(struct nl_pstate *npt, struct nlattr *nla);
272 (struct nlattr *)((char *)hdr + parser->nl_hdr_off), in nl_parse_header()
284 nl_parse_nested(struct nlattr *nla, const struct nlhdr_parser *parser, in nl_parse_nested()
287 return (nl_parse_attrs_raw((struct nlattr *)NLA_DATA(nla), in nl_parse_nested()
332 (struct nlattr *)((char *)(hdr + 1) + parser->nl_hdr_off), in nl_get_attrs_bmask_nlmsg()