/linux-4.1.27/net/ipv4/ |
D | gre_demux.c | 64 void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi, in gre_build_header() argument 73 greh->flags = tnl_flags_to_gre_flags(tpi->flags); in gre_build_header() 74 greh->protocol = tpi->proto; in gre_build_header() 76 if (tpi->flags&(TUNNEL_KEY|TUNNEL_CSUM|TUNNEL_SEQ)) { in gre_build_header() 79 if (tpi->flags&TUNNEL_SEQ) { in gre_build_header() 80 *ptr = tpi->seq; in gre_build_header() 83 if (tpi->flags&TUNNEL_KEY) { in gre_build_header() 84 *ptr = tpi->key; in gre_build_header() 87 if (tpi->flags&TUNNEL_CSUM && in gre_build_header() 98 static int parse_gre_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, in parse_gre_header() argument [all …]
|
D | ip_gre.c | 125 const struct tnl_ptk_info *tpi) in ipgre_err() argument 176 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err() 182 t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_err() 183 iph->daddr, iph->saddr, tpi->key); in ipgre_err() 203 static int ipgre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi) in ipgre_rcv() argument 210 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv() 216 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_rcv() 217 iph->saddr, iph->daddr, tpi->key); in ipgre_rcv() 221 ip_tunnel_rcv(tunnel, skb, tpi, log_ecn_error); in ipgre_rcv() 232 struct tnl_ptk_info tpi; in __gre_xmit() local [all …]
|
D | ipip.c | 181 static const struct tnl_ptk_info tpi = { variable 199 if (iptunnel_pull_header(skb, 0, tpi.proto)) in ipip_rcv() 201 return ip_tunnel_rcv(tunnel, skb, &tpi, log_ecn_error); in ipip_rcv()
|
D | ip_tunnel.c | 422 const struct tnl_ptk_info *tpi, bool log_ecn_error) in ip_tunnel_rcv() argument 435 if ((!(tpi->flags&TUNNEL_CSUM) && (tunnel->parms.i_flags&TUNNEL_CSUM)) || in ip_tunnel_rcv() 436 ((tpi->flags&TUNNEL_CSUM) && !(tunnel->parms.i_flags&TUNNEL_CSUM))) { in ip_tunnel_rcv() 443 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv() 444 (tunnel->i_seqno && (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in ip_tunnel_rcv() 449 tunnel->i_seqno = ntohl(tpi->seq) + 1; in ip_tunnel_rcv()
|
/linux-4.1.27/net/openvswitch/ |
D | vport-gre.c | 69 struct tnl_ptk_info tpi; in __build_header() local 78 tpi.flags = filter_tnl_flags(tun_key->tun_flags); in __build_header() 79 tpi.proto = htons(ETH_P_TEB); in __build_header() 80 tpi.key = be64_get_low32(tun_key->tun_id); in __build_header() 81 tpi.seq = 0; in __build_header() 82 gre_build_header(skb, &tpi, tunnel_hlen); in __build_header() 98 const struct tnl_ptk_info *tpi) in gre_rcv() argument 110 key = key_to_tunnel_id(tpi->key, tpi->seq); in gre_rcv() 112 filter_tnl_flags(tpi->flags), NULL, 0); in gre_rcv() 120 const struct tnl_ptk_info *tpi) in gre_err() argument
|
/linux-4.1.27/include/net/ |
D | gre.h | 27 int (*handler)(struct sk_buff *skb, const struct tnl_ptk_info *tpi); 29 const struct tnl_ptk_info *tpi); 36 void gre_build_header(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
|
D | ip_tunnels.h | 166 const struct tnl_ptk_info *tpi, bool log_ecn_error);
|
/linux-4.1.27/drivers/s390/cio/ |
D | ioasm.h | 124 static inline int tpi(struct tpi_info *addr) in tpi() function
|
D | cio.c | 751 if (tpi(&ti)) { in __clear_io_subchannel_easy()
|
/linux-4.1.27/net/ipv6/ |
D | sit.c | 723 static const struct tnl_ptk_info tpi = { variable 743 if (iptunnel_pull_header(skb, 0, tpi.proto)) in ipip_rcv() 745 return ip_tunnel_rcv(tunnel, skb, &tpi, log_ecn_error); in ipip_rcv()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | vexpress-v2m-rs1.dtsi | 221 compatible = "sil,sii9022-tpi", "sil,sii9022";
|
D | vexpress-v2m.dtsi | 220 compatible = "sil,sii9022-tpi", "sil,sii9022";
|
/linux-4.1.27/arch/s390/kernel/ |
D | entry.S | 507 tpi 0
|