Home
last modified time | relevance | path

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

/net/decnet/
Ddn_table.c287 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in dn_fib_nlmsg_size() local
290 nhsize += nla_total_size(4); in dn_fib_nlmsg_size()
293 payload += nla_total_size(fi->fib_nhs * nhsize); in dn_fib_nlmsg_size()
/net/mpls/
Daf_mpls.c1490 size_t nhsize = 0; in lfib_nlmsg_size() local
1493 nhsize += nla_total_size(sizeof(struct rtnexthop)); in lfib_nlmsg_size()
1496 nhsize += nla_total_size(2 + nh->nh_via_alen); in lfib_nlmsg_size()
1498 nhsize += nla_total_size(nh->nh_labels * 4); in lfib_nlmsg_size()
1501 payload += nla_total_size(nhsize); in lfib_nlmsg_size()
/net/ipv4/
Dfib_semantics.c377 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in fib_nlmsg_size() local
380 nhsize += 2 * nla_total_size(4); in fib_nlmsg_size()
394 payload += nla_total_size((fi->fib_nhs * nhsize) + in fib_nlmsg_size()