Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dgre_demux.c62 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, in gre_parse_header() argument
76 tpi->flags = gre_flags_to_tnl_flags(greh->flags); in gre_parse_header()
77 hdr_len = gre_calc_hlen(tpi->flags); in gre_parse_header()
83 tpi->proto = greh->protocol; in gre_parse_header()
99 tpi->key = *options; in gre_parse_header()
102 tpi->key = 0; in gre_parse_header()
105 tpi->seq = *options; in gre_parse_header()
108 tpi->seq = 0; in gre_parse_header()
114 if (greh->flags == 0 && tpi->proto == htons(ETH_P_WCCP)) { in gre_parse_header()
121 tpi->proto = proto; in gre_parse_header()
[all …]
Dip_gre.c122 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()
192 if (tpi->proto == htons(ETH_P_IPV6) && in ipgre_err()
193 !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, in ipgre_err()
233 struct tnl_ptk_info tpi; in gre_err() local
235 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IP), in gre_err()
[all …]
Dipip.c224 const struct tnl_ptk_info *tpi; in ipip_tunnel_rcv() local
234 tpi = &mplsip_tpi; in ipip_tunnel_rcv()
237 tpi = &ipip_tpi; in ipip_tunnel_rcv()
238 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in ipip_tunnel_rcv()
247 return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipip_tunnel_rcv()
Dip_tunnel.c363 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument
376 if ((!(tpi->flags&TUNNEL_CSUM) && (tunnel->parms.i_flags&TUNNEL_CSUM)) || in ip_tunnel_rcv()
377 ((tpi->flags&TUNNEL_CSUM) && !(tunnel->parms.i_flags&TUNNEL_CSUM))) { in ip_tunnel_rcv()
384 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv()
385 (tunnel->i_seqno && (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in ip_tunnel_rcv()
390 tunnel->i_seqno = ntohl(tpi->seq) + 1; in ip_tunnel_rcv()
/linux-6.1.9/net/ipv6/
Dip6_gre.c423 struct tnl_ptk_info tpi; in ip6gre_err() local
426 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6), in ip6gre_err()
432 tpi.key, tpi.proto); in ip6gre_err()
488 static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) in ip6gre_rcv() argument
495 &ipv6h->saddr, &ipv6h->daddr, tpi->key, in ip6gre_rcv()
496 tpi->proto); in ip6gre_rcv()
503 flags = tpi->flags; in ip6gre_rcv()
504 tun_id = key32_to_tunnel_id(tpi->key); in ip6gre_rcv()
510 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv()
512 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6gre_rcv()
[all …]
Dip6_tunnel.c792 const struct tnl_ptk_info *tpi, in __ip6_tnl_rcv() argument
802 if ((!(tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv()
804 ((tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv()
812 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
814 (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in __ip6_tnl_rcv()
819 tunnel->i_seqno = ntohl(tpi->seq) + 1; in __ip6_tnl_rcv()
822 skb->protocol = tpi->proto; in __ip6_tnl_rcv()
876 const struct tnl_ptk_info *tpi, in ip6_tnl_rcv() argument
885 if (tpi->proto == htons(ETH_P_IP)) in ip6_tnl_rcv()
888 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate, in ip6_tnl_rcv()
[all …]
Dsit.c761 const struct tnl_ptk_info *tpi; in sit_tunnel_rcv() local
771 tpi = &mplsip_tpi; in sit_tunnel_rcv()
774 tpi = &ipip_tpi; in sit_tunnel_rcv()
775 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in sit_tunnel_rcv()
779 return ip_tunnel_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in sit_tunnel_rcv()
/linux-6.1.9/drivers/s390/cio/
Dioasm.h21 int tpi(struct tpi_info *addr);
Dioasm.c157 int tpi(struct tpi_info *addr) in tpi() function
/linux-6.1.9/include/net/
Dgre.h37 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
Dip6_tunnel.h141 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
Dip_tunnels.h297 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
/linux-6.1.9/Documentation/devicetree/bindings/display/bridge/
Dsil,sii9022.yaml18 - sil,sii9022-tpi # Transmitter Programming Interface
/linux-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.c810 char *ipi, *tpi; in srp_send_req() local
858 tpi = req->rdma_req.target_port_id; in srp_send_req()
877 tpi = req->ib_req.target_port_id; in srp_send_req()
892 memcpy(tpi, &target->ioc_guid, 8); in srp_send_req()
893 memcpy(tpi + 8, &target->id_ext, 8); in srp_send_req()
897 memcpy(tpi, &target->id_ext, 8); in srp_send_req()
898 memcpy(tpi + 8, &target->ioc_guid, 8); in srp_send_req()
/linux-6.1.9/arch/arm/boot/dts/
Dvexpress-v2m-rs1.dtsi363 compatible = "sil,sii9022-tpi", "sil,sii9022";
Dvexpress-v2m.dtsi283 compatible = "sil,sii9022-tpi", "sil,sii9022";
/linux-6.1.9/arch/arm64/boot/dts/arm/
Dvexpress-v2m-rs1.dtsi363 compatible = "sil,sii9022-tpi", "sil,sii9022";
/linux-6.1.9/arch/s390/tools/
Dopcodes.txt233 b236 tpi S_RD