Lines Matching refs:nlsize
2245 int nlsize; in encap_size_flavors() local
2247 nlsize = nla_total_size(0) + /* nest SEG6_LOCAL_FLAVORS */ in encap_size_flavors()
2251 nlsize += nla_total_size(1) + /* SEG6_LOCAL_FLV_LCBLOCK_BITS */ in encap_size_flavors()
2254 return nlsize; in encap_size_flavors()
2585 int nlsize; in seg6_local_get_encap_size() local
2587 nlsize = nla_total_size(4); /* action */ in seg6_local_get_encap_size()
2592 nlsize += nla_total_size((slwt->srh->hdrlen + 1) << 3); in seg6_local_get_encap_size()
2595 nlsize += nla_total_size(4); in seg6_local_get_encap_size()
2598 nlsize += nla_total_size(4); in seg6_local_get_encap_size()
2601 nlsize += nla_total_size(16); in seg6_local_get_encap_size()
2604 nlsize += nla_total_size(4); in seg6_local_get_encap_size()
2607 nlsize += nla_total_size(4); in seg6_local_get_encap_size()
2610 nlsize += nla_total_size(sizeof(struct nlattr)) + in seg6_local_get_encap_size()
2615 nlsize += nla_total_size(4); in seg6_local_get_encap_size()
2618 nlsize += nla_total_size(0) + /* nest SEG6_LOCAL_COUNTERS */ in seg6_local_get_encap_size()
2627 nlsize += encap_size_flavors(slwt); in seg6_local_get_encap_size()
2629 return nlsize; in seg6_local_get_encap_size()