Searched refs:nhsize (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/net/mpls/
H A Daf_mpls.c1347 size_t nhsize = 0; lfib_nlmsg_size() local
1350 nhsize += nla_total_size(sizeof(struct rtnexthop)); for_nexthops()
1353 nhsize += nla_total_size(2 + nh->nh_via_alen); for_nexthops()
1355 nhsize += nla_total_size(nh->nh_labels * 4); for_nexthops()
1358 payload += nla_total_size(nhsize);
/linux-4.4.14/net/decnet/
H A Ddn_table.c287 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); dn_fib_nlmsg_size() local
290 nhsize += nla_total_size(4); dn_fib_nlmsg_size()
293 payload += nla_total_size(fi->fib_nhs * nhsize); dn_fib_nlmsg_size()
/linux-4.4.14/net/ipv4/
H A Dfib_semantics.c375 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); fib_nlmsg_size() local
378 nhsize += 2 * nla_total_size(4); fib_nlmsg_size()
392 payload += nla_total_size((fi->fib_nhs * nhsize) +

Completed in 131 milliseconds