Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c120 const struct tnl_ptk_info *tpi) in ipgre_err() argument
144 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err()
146 else if (tpi->proto == htons(ETH_P_ERSPAN) || in ipgre_err()
147 tpi->proto == htons(ETH_P_ERSPAN2)) in ipgre_err()
153 t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_err()
154 iph->daddr, iph->saddr, tpi->key); in ipgre_err()
190 if (tpi->proto == htons(ETH_P_IPV6) && in ipgre_err()
191 !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, in ipgre_err()
231 struct tnl_ptk_info tpi; in gre_err() local
233 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()
245 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()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_gre.c428 struct tnl_ptk_info tpi; in ip6gre_err() local
431 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6), in ip6gre_err()
437 tpi.key, tpi.proto); in ip6gre_err()
493 static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) in ip6gre_rcv() argument
500 &ipv6h->saddr, &ipv6h->daddr, tpi->key, in ip6gre_rcv()
501 tpi->proto); in ip6gre_rcv()
508 flags = tpi->flags; in ip6gre_rcv()
509 tun_id = key32_to_tunnel_id(tpi->key); in ip6gre_rcv()
515 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv()
517 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6gre_rcv()
[all …]
Dip6_tunnel.c825 const struct tnl_ptk_info *tpi, in __ip6_tnl_rcv() argument
836 if ((!(tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv()
838 ((tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv()
846 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
848 (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in __ip6_tnl_rcv()
853 tunnel->i_seqno = ntohl(tpi->seq) + 1; in __ip6_tnl_rcv()
856 skb->protocol = tpi->proto; in __ip6_tnl_rcv()
913 const struct tnl_ptk_info *tpi, in ip6_tnl_rcv() argument
922 if (tpi->proto == htons(ETH_P_IP)) in ip6_tnl_rcv()
925 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate, in ip6_tnl_rcv()
[all …]
Dsit.c762 const struct tnl_ptk_info *tpi; in sit_tunnel_rcv() local
772 tpi = &mplsip_tpi; in sit_tunnel_rcv()
775 tpi = &ipip_tpi; in sit_tunnel_rcv()
776 if (iptunnel_pull_header(skb, 0, tpi->proto, false)) in sit_tunnel_rcv()
778 return ip_tunnel_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in sit_tunnel_rcv()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dioasm.h21 int tpi(struct tpi_info *addr);
Dioasm.c150 int tpi(struct tpi_info *addr) in tpi() function
/kernel/linux/linux-5.10/include/net/
Dgre.h37 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
Dip6_tunnel.h140 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
Dip_tunnels.h285 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dvexpress-v2m-rs1.dtsi310 compatible = "sil,sii9022-tpi", "sil,sii9022";
Dvexpress-v2m.dtsi228 compatible = "sil,sii9022-tpi", "sil,sii9022";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/arm/
Dvexpress-v2m-rs1.dtsi310 compatible = "sil,sii9022-tpi", "sil,sii9022";
/kernel/linux/linux-5.10/arch/s390/kernel/
Dentry.S795 tpi 0
/kernel/linux/linux-5.10/arch/s390/tools/
Dopcodes.txt231 b236 tpi S_RD