Lines Matching refs:tpi
825 const struct tnl_ptk_info *tpi,
835 if ((!(tpi->flags & TUNNEL_CSUM) &&
837 ((tpi->flags & TUNNEL_CSUM) &&
845 if (!(tpi->flags & TUNNEL_SEQ) ||
847 (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) {
852 tunnel->i_seqno = ntohl(tpi->seq) + 1;
855 skb->protocol = tpi->proto;
923 const struct tnl_ptk_info *tpi,
932 if (tpi->proto == htons(ETH_P_IP))
935 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate,
956 const struct tnl_ptk_info *tpi,
979 if (iptunnel_pull_header(skb, 0, tpi->proto, false))
986 ret = __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate,