• Home
  • Raw
  • Download

Lines Matching refs:tpi

426 	struct tnl_ptk_info tpi;  in ip6gre_err()  local
429 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6), in ip6gre_err()
435 tpi.key, tpi.proto); in ip6gre_err()
489 static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) in ip6gre_rcv() argument
496 &ipv6h->saddr, &ipv6h->daddr, tpi->key, in ip6gre_rcv()
497 tpi->proto); in ip6gre_rcv()
504 flags = tpi->flags; in ip6gre_rcv()
505 tun_id = key32_to_tunnel_id(tpi->key); in ip6gre_rcv()
511 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv()
513 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6gre_rcv()
523 struct tnl_ptk_info *tpi, in ip6erspan_rcv() argument
537 &ipv6h->saddr, &ipv6h->daddr, tpi->key, in ip6erspan_rcv()
538 tpi->proto); in ip6erspan_rcv()
558 tpi->flags |= TUNNEL_KEY; in ip6erspan_rcv()
559 flags = tpi->flags; in ip6erspan_rcv()
560 tun_id = key32_to_tunnel_id(tpi->key); in ip6erspan_rcv()
584 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6erspan_rcv()
587 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6erspan_rcv()
598 struct tnl_ptk_info tpi; in gre_rcv() local
602 hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IPV6), 0); in gre_rcv()
606 if (iptunnel_pull_header(skb, hdr_len, tpi.proto, false)) in gre_rcv()
609 if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) || in gre_rcv()
610 tpi.proto == htons(ETH_P_ERSPAN2))) { in gre_rcv()
611 if (ip6erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) in gre_rcv()
616 if (ip6gre_rcv(skb, &tpi) == PACKET_RCVD) in gre_rcv()