Searched refs:nhsize (Results 1 – 2 of 2) sorted by relevance
2248 size_t nhsize = 0; in lfib_nlmsg_size() local2253 nhsize += nla_total_size(sizeof(struct rtnexthop)); in lfib_nlmsg_size()2256 nhsize += nla_total_size(2 + nh->nh_via_alen); in lfib_nlmsg_size()2258 nhsize += nla_total_size(nh->nh_labels * 4); in lfib_nlmsg_size()2261 payload += nla_total_size(nhsize); in lfib_nlmsg_size()
485 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in fib_nlmsg_size() local489 nhsize += 2 * nla_total_size(4); in fib_nlmsg_size()505 payload += nla_total_size((nhs * nhsize) + nh_encapsize); in fib_nlmsg_size()