Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dseg6_iptunnel.c615 int tuninfo_len, min_size; in seg6_build_state() local
632 tuninfo_len = nla_len(tb[SEG6_IPTUNNEL_SRH]); in seg6_build_state()
639 if (tuninfo_len < min_size) in seg6_build_state()
661 if (!seg6_validate_srh(tuninfo->srh, tuninfo_len - sizeof(*tuninfo), false)) in seg6_build_state()
664 newts = lwtunnel_state_alloc(tuninfo_len + sizeof(*slwt)); in seg6_build_state()
676 memcpy(&slwt->tuninfo, tuninfo, tuninfo_len); in seg6_build_state()