Searched refs:SEG6_IPTUN_ENCAP_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/uapi/linux/
H A Dseg6_iptunnel.h32 #define SEG6_IPTUN_ENCAP_SIZE(x) ((sizeof(*x)) + (((x)->srh->hdrlen + 1) << 3)) macro
/linux-master/net/ipv6/
H A Dseg6_iptunnel.c77 len = SEG6_IPTUN_ENCAP_SIZE(tuninfo);
710 return nla_total_size(SEG6_IPTUN_ENCAP_SIZE(tuninfo));
717 int len = SEG6_IPTUN_ENCAP_SIZE(a_hdr);
719 if (len != SEG6_IPTUN_ENCAP_SIZE(b_hdr))

Completed in 143 milliseconds