Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/mpls/
H A Daf_mpls.c2261 size_t nhsize = 0; in lfib_nlmsg_size() local
2266 nhsize += nla_total_size(sizeof(struct rtnexthop)); in lfib_nlmsg_size()
2269 nhsize += nla_total_size(2 + nh->nh_via_alen); in lfib_nlmsg_size()
2271 nhsize += nla_total_size(nh->nh_labels * 4); in lfib_nlmsg_size()
2274 payload += nla_total_size(nhsize); in lfib_nlmsg_size()
/kernel/linux/linux-6.6/net/mpls/
H A Daf_mpls.c2254 size_t nhsize = 0; in lfib_nlmsg_size() local
2259 nhsize += nla_total_size(sizeof(struct rtnexthop)); in lfib_nlmsg_size()
2262 nhsize += nla_total_size(2 + nh->nh_via_alen); in lfib_nlmsg_size()
2264 nhsize += nla_total_size(nh->nh_labels * 4); in lfib_nlmsg_size()
2267 payload += nla_total_size(nhsize); in lfib_nlmsg_size()
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_semantics.c486 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in fib_nlmsg_size() local
490 nhsize += 2 * nla_total_size(4); in fib_nlmsg_size()
506 payload += nla_total_size((nhs * nhsize) + nh_encapsize); in fib_nlmsg_size()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_semantics.c486 size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); in fib_nlmsg_size() local
490 nhsize += 2 * nla_total_size(4); in fib_nlmsg_size()
506 payload += nla_total_size((nhs * nhsize) + nh_encapsize); in fib_nlmsg_size()

Completed in 13 milliseconds