Home
last modified time | relevance | path

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

/linux-6.1.9/net/mpls/
Daf_mpls.c2248 size_t nhsize = 0; in lfib_nlmsg_size() local
2253 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()
/linux-6.1.9/net/ipv4/
Dfib_semantics.c485 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in fib_nlmsg_size() local
489 nhsize += 2 * nla_total_size(4); in fib_nlmsg_size()
505 payload += nla_total_size((nhs * nhsize) + nh_encapsize); in fib_nlmsg_size()