Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dip_gre.c123 const struct tnl_ptk_info *tpi) in ipgre_err() argument
146 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err()
148 else if (tpi->proto == htons(ETH_P_ERSPAN) || in ipgre_err()
149 tpi->proto == htons(ETH_P_ERSPAN2)) in ipgre_err()
155 t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_err()
156 iph->daddr, iph->saddr, tpi->key); in ipgre_err()
191 if (tpi->proto == htons(ETH_P_IPV6)) { in ipgre_err()
197 if (!ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, in ipgre_err()
238 struct tnl_ptk_info tpi; in gre_err() local
240 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IP), in gre_err()
[all …]
H A Dipip.c230 const struct tnl_ptk_info *tpi; in ipip_tunnel_rcv() local
240 tpi = &mplsip_tpi; in ipip_tunnel_rcv()
243 tpi = &ipip_tpi; in ipip_tunnel_rcv()
244 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in ipip_tunnel_rcv()
256 return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipip_tunnel_rcv()
H A Dip_tunnel.c378 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument
392 test_bit(IP_TUNNEL_CSUM_BIT, tpi->flags)) { in ip_tunnel_rcv()
399 if (!test_bit(IP_TUNNEL_SEQ_BIT, tpi->flags) || in ip_tunnel_rcv()
400 (tunnel->i_seqno && (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in ip_tunnel_rcv()
405 tunnel->i_seqno = ntohl(tpi->seq) + 1; in ip_tunnel_rcv()
/linux/net/ipv6/
H A Dip6_gre.c392 struct tnl_ptk_info tpi; in ip6gre_err() local
395 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6), in ip6gre_err()
401 tpi.key, tpi.proto); in ip6gre_err()
457 static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) in ip6gre_rcv() argument
464 &ipv6h->saddr, &ipv6h->daddr, tpi->key, in ip6gre_rcv()
465 tpi->proto); in ip6gre_rcv()
472 ip_tunnel_flags_copy(flags, tpi->flags); in ip6gre_rcv()
473 tun_id = key32_to_tunnel_id(tpi->key); in ip6gre_rcv()
479 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv()
481 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6gre_rcv()
[all …]
H A Dip6_tunnel.c809 const struct tnl_ptk_info *tpi, in __ip6_tnl_rcv() argument
820 test_bit(IP_TUNNEL_CSUM_BIT, tpi->flags)) { in __ip6_tnl_rcv()
827 if (!test_bit(IP_TUNNEL_SEQ_BIT, tpi->flags) || in __ip6_tnl_rcv()
829 (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in __ip6_tnl_rcv()
834 tunnel->i_seqno = ntohl(tpi->seq) + 1; in __ip6_tnl_rcv()
837 skb->protocol = tpi->proto; in __ip6_tnl_rcv()
906 const struct tnl_ptk_info *tpi, in ip6_tnl_rcv() argument
915 if (tpi->proto == htons(ETH_P_IP)) in ip6_tnl_rcv()
918 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate, in ip6_tnl_rcv()
939 const struct tnl_ptk_info *tpi, in ipxip6_rcv() argument
[all …]
H A Dsit.c765 const struct tnl_ptk_info *tpi; in sit_tunnel_rcv() local
775 tpi = &mplsip_tpi; in sit_tunnel_rcv()
778 tpi = &ipip_tpi; in sit_tunnel_rcv()
779 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in sit_tunnel_rcv()
783 return ip_tunnel_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in sit_tunnel_rcv()
/linux/drivers/s390/cio/
H A Dioasm.h21 int tpi(struct tpi_info *addr);
H A Dioasm.c159 int tpi(struct tpi_info *addr) in tpi() function
/linux/include/net/
H A Dgre.h35 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
H A Dip6_tunnel.h141 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
H A Dip_tunnels.h424 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
/linux/arch/arm/boot/dts/arm/
H A Dvexpress-v2m.dtsi283 compatible = "sil,sii9022-tpi", "sil,sii9022";
/linux/arch/s390/tools/
H A Dopcodes.txt233 b236 tpi S_RD