Home
last modified time | relevance | path

Searched refs:maxtype (Results 1 – 5 of 5) sorted by relevance

/external/libnl/lib/
Dattr.c188 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla() argument
195 if (type < 0 || type > maxtype) in validate_nla()
242 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len, in nla_parse() argument
248 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse()
253 if (type > maxtype) in nla_parse()
257 err = validate_nla(nla, maxtype, policy); in nla_parse()
294 int nla_validate(struct nlattr *head, int len, int maxtype, in nla_validate() argument
301 err = validate_nla(nla, maxtype, policy); in nla_validate()
891 int nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in nla_parse_nested() argument
894 return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy); in nla_parse_nested()
Dmsg.c214 int maxtype, struct nla_policy *policy) in nlmsg_parse() argument
219 return nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), in nlmsg_parse()
244 int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in nlmsg_validate() argument
251 nlmsg_attrlen(nlh, hdrlen), maxtype, policy); in nlmsg_validate()
/external/libnl/lib/genl/
Dgenl.c151 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate() argument
161 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy); in genlmsg_validate()
192 int maxtype, struct nla_policy *policy) in genlmsg_parse() argument
200 return nla_parse(tb, maxtype, genlmsg_attrdata(ghdr, hdrlen), in genlmsg_parse()
/external/dhcpcd-6.8.2/
Dif-linux.c989 gnl_parse(struct nlmsghdr *nlm, struct nlattr *tb[], int maxtype) in gnl_parse() argument
996 memset(tb, 0, sizeof(*tb) * ((unsigned int)maxtype + 1)); in gnl_parse()
1002 if (type > maxtype) in gnl_parse()
/external/libnl/doc/
Dcore.txt1399 int maxtype, struct nla_policy *policy);
1837 int nla_validate(struct nlattr *head, int len, int maxtype, struct nla_policy *policy);
1850 . If attribute type is 0 or exceeds +maxtype+ attribute is
1869 int nla_parse(struct nlattr **attrs, int maxtype, struct nlattr *head,