/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/ |
H A D | nlattr.c | 26 static int validate_nla(struct nlattr *nla, int maxtype, argument 32 if (type <= 0 || type > maxtype) 109 * @maxtype: maximum attribute type to be expected 113 * specified policy. Attributes with a type exceeding maxtype will be 118 int nla_validate(struct nlattr *head, int len, int maxtype, argument 125 err = validate_nla(nla, maxtype, policy); 163 * @tb: destination array with maxtype+1 elements 164 * @maxtype: maximum attribute type to be expected 171 * exceeding maxtype will be silently ignored for backwards compatibility 176 int nla_parse(struct nlattr *tb[], int maxtype, struc argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | netlink.h | 228 extern int nla_validate(struct nlattr *head, int len, int maxtype, 230 extern int nla_parse(struct nlattr *tb[], int maxtype, 362 * @tb: destination array with maxtype+1 elements 363 * @maxtype: maximum attribute type to be expected 369 struct nlattr *tb[], int maxtype, 375 return nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), 398 * @maxtype: maximum attribute type to be expected 401 static inline int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, argument 408 nlmsg_attrlen(nlh, hdrlen), maxtype, policy); 703 * @tb: destination array with maxtype 368 nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], int maxtype, const struct nla_policy *policy) argument 710 nla_parse_nested(struct nlattr *tb[], int maxtype, const struct nlattr *nla, const struct nla_policy *policy) argument 1001 nla_validate_nested(struct nlattr *start, int maxtype, const struct nla_policy *policy) argument [all...] |
H A D | rtnetlink.h | 30 * @maxtype: Highest device specific netlink attribute number 53 int maxtype; member in struct:rtnl_link_ops
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/ |
H A D | sch_netem.c | 379 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, argument 387 return nla_parse(tb, maxtype, nla_data(nla) + NLA_ALIGN(len), 389 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/8021q/ |
H A D | vlan_netlink.c | 237 .maxtype = IFLA_VLAN_MAX,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | veth.c | 466 .maxtype = VETH_INFO_MAX,
|
H A D | macvlan.c | 748 ops->maxtype = IFLA_MACVLAN_MAX;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/caif/ |
H A D | chnl_net.c | 484 .maxtype = IFLA_CAIF_MAX,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/ |
H A D | rtnetlink.c | 1486 struct nlattr *attr[ops ? ops->maxtype + 1 : 0], **data = NULL; 1490 if (ops->maxtype && linkinfo[IFLA_INFO_DATA]) { 1491 err = nla_parse_nested(attr, ops->maxtype,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/ |
H A D | dev.c | 715 .maxtype = IFLA_CAN_MAX,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | ip_gre.c | 1628 .maxtype = IFLA_GRE_MAX, 1641 .maxtype = IFLA_GRE_MAX,
|