Home
last modified time | relevance | path

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

/Linux-v6.6/net/mpls/
Dmpls_iptunnel.c252 int nlsize; in mpls_encap_nlsize() local
256 nlsize = nla_total_size(tun_encap_info->labels * 4); in mpls_encap_nlsize()
259 nlsize += nla_total_size(1); in mpls_encap_nlsize()
261 return nlsize; in mpls_encap_nlsize()
/Linux-v6.6/net/ipv6/
Dseg6_local.c2245 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()
[all …]
Dioam6_iptunnel.c431 int nlsize; in ioam6_encap_nlsize() local
433 nlsize = nla_total_size(sizeof(ilwt->freq.k)) + in ioam6_encap_nlsize()
439 nlsize += nla_total_size(sizeof(ilwt->tundst)); in ioam6_encap_nlsize()
441 return nlsize; in ioam6_encap_nlsize()