Searched refs:nla_total_size (Results 1 - 16 of 16) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/
H A Dbr_netlink.c20 + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */
21 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */
22 + nla_total_size(4) /* IFLA_MASTER */
23 + nla_total_size(4) /* IFLA_MTU */
24 + nla_total_size(4) /* IFLA_LINK */
25 + nla_total_size(1) /* IFLA_OPERSTATE */
26 + nla_total_size(1); /* IFLA_PROTINFO */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dtaskstats.c395 size = nla_total_size(sizeof(u32)) +
396 nla_total_size(sizeof(struct taskstats)) + nla_total_size(0);
470 size = nla_total_size(sizeof(u32)) +
471 nla_total_size(sizeof(struct taskstats)) + nla_total_size(0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Drtnetlink.c443 + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */
444 + nla_total_size(IFNAMSIZ) /* IFLA_QDISC */
445 + nla_total_size(sizeof(struct rtnl_link_ifmap))
446 + nla_total_size(sizeof(struct rtnl_link_stats))
447 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */
448 + nla_total_size(MAX_ADDR_LEN) /* IFLA_BROADCAST */
449 + nla_total_size(4) /* IFLA_TXQLEN */
450 + nla_total_size(4) /* IFLA_WEIGHT */
451 + nla_total_size(4) /* IFLA_MTU */
452 + nla_total_size(
[all...]
H A Dfib_rules.c429 + nla_total_size(IFNAMSIZ) /* FRA_IFNAME */
430 + nla_total_size(4) /* FRA_PRIORITY */
431 + nla_total_size(4) /* FRA_TABLE */
432 + nla_total_size(4) /* FRA_FWMARK */
433 + nla_total_size(4); /* FRA_FWMASK */
H A Dneighbour.c2428 + nla_total_size(MAX_ADDR_LEN) /* NDA_DST */
2429 + nla_total_size(MAX_ADDR_LEN) /* NDA_LLADDR */
2430 + nla_total_size(sizeof(struct nda_cacheinfo))
2431 + nla_total_size(4); /* NDA_PROBES */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netlink/
H A Dattr.c282 nla = (struct nlattr *) skb_put(skb, nla_total_size(attrlen));
325 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen)))
397 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dfib_rules.c296 return nla_total_size(4) /* dst */
297 + nla_total_size(4) /* src */
298 + nla_total_size(4); /* flow */
H A Dfib_semantics.c279 + nla_total_size(4) /* RTA_TABLE */
280 + nla_total_size(4) /* RTA_DST */
281 + nla_total_size(4) /* RTA_PRIORITY */
282 + nla_total_size(4); /* RTA_PREFSRC */
285 payload += nla_total_size((RTAX_MAX * nla_total_size(4)));
291 size_t nhsize = nla_total_size(sizeof(struct rtnexthop));
294 nhsize += 2 * nla_total_size(4);
297 payload += nla_total_size(fi->fib_nhs * nhsize);
H A Ddevinet.c1130 + nla_total_size(4) /* IFA_ADDRESS */
1131 + nla_total_size(4) /* IFA_LOCAL */
1132 + nla_total_size(4) /* IFA_BROADCAST */
1133 + nla_total_size(4) /* IFA_ANYCAST */
1134 + nla_total_size(IFNAMSIZ); /* IFA_LABEL */
H A Dfib_frontend.c267 return len + nla_total_size(4);
377 mx = kzalloc(3 * nla_total_size(4), GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_table.c270 + nla_total_size(4) /* RTA_TABLE */
271 + nla_total_size(2) /* RTA_DST */
272 + nla_total_size(4); /* RTA_PRIORITY */
275 payload += nla_total_size((RTAX_MAX * nla_total_size(4)));
281 size_t nhsize = nla_total_size(sizeof(struct rtnexthop));
284 nhsize += nla_total_size(4);
287 payload += nla_total_size(fi->fib_nhs * nhsize);
H A Ddn_dev.c710 + nla_total_size(IFNAMSIZ) /* IFA_LABEL */
711 + nla_total_size(2) /* IFA_ADDRESS */
712 + nla_total_size(2); /* IFA_LOCAL */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dfib6_rules.c254 return nla_total_size(16) /* dst */
255 + nla_total_size(16); /* src */
H A Droute.c2099 + nla_total_size(16) /* RTA_SRC */
2100 + nla_total_size(16) /* RTA_DST */
2101 + nla_total_size(16) /* RTA_GATEWAY */
2102 + nla_total_size(16) /* RTA_PREFSRC */
2103 + nla_total_size(4) /* RTA_TABLE */
2104 + nla_total_size(4) /* RTA_IIF */
2105 + nla_total_size(4) /* RTA_OIF */
2106 + nla_total_size(4) /* RTA_PRIORITY */
2107 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */
2108 + nla_total_size(sizeo
[all...]
H A Daddrconf.c3194 + nla_total_size(16) /* IFA_ADDRESS */
3195 + nla_total_size(sizeof(struct ifa_cacheinfo));
3512 + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */
3513 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */
3514 + nla_total_size(4) /* IFLA_MTU */
3515 + nla_total_size(4) /* IFLA_LINK */
3516 + nla_total_size( /* IFLA_PROTINFO */
3517 nla_total_size(4) /* IFLA_INET6_FLAGS */
3518 + nla_total_size(sizeof(struct ifla_cacheinfo))
3519 + nla_total_size(DEVCONF_MA
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dnetlink.h77 * <------- nla_total_size(payload) ------->
125 * nla_total_size(payload) length of attribute w/ padding
612 * nla_total_size - total length of attribute including padding
615 static inline int nla_total_size(int payload) function
626 return nla_total_size(payload) - nla_attr_size(payload);

Completed in 183 milliseconds