Symbol: tpi
drivers/infiniband/ulp/srp/ib_srp.c
806
char *ipi, *tpi;
drivers/infiniband/ulp/srp/ib_srp.c
854
tpi = req->rdma_req.target_port_id;
drivers/infiniband/ulp/srp/ib_srp.c
873
tpi = req->ib_req.target_port_id;
drivers/infiniband/ulp/srp/ib_srp.c
888
memcpy(tpi, &target->ioc_guid, 8);
drivers/infiniband/ulp/srp/ib_srp.c
889
memcpy(tpi + 8, &target->id_ext, 8);
drivers/infiniband/ulp/srp/ib_srp.c
893
memcpy(tpi, &target->id_ext, 8);
drivers/infiniband/ulp/srp/ib_srp.c
894
memcpy(tpi + 8, &target->ioc_guid, 8);
drivers/s390/cio/ioasm.h
21
int tpi(struct tpi_info *addr);
include/net/gre.h
37
int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
include/net/ip6_tunnel.h
141
const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
include/net/ip_tunnels.h
425
const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
net/ipv4/gre_demux.c
102
tpi->key = 0;
net/ipv4/gre_demux.c
105
tpi->seq = *options;
net/ipv4/gre_demux.c
108
tpi->seq = 0;
net/ipv4/gre_demux.c
114
if (greh->flags == 0 && tpi->proto == htons(ETH_P_WCCP)) {
net/ipv4/gre_demux.c
121
tpi->proto = proto;
net/ipv4/gre_demux.c
125
tpi->hdr_len = hdr_len;
net/ipv4/gre_demux.c
139
tpi->key = cpu_to_be32(get_session_id(ershdr));
net/ipv4/gre_demux.c
62
int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
net/ipv4/gre_demux.c
76
gre_flags_to_tnl_flags(tpi->flags, greh->flags);
net/ipv4/gre_demux.c
77
hdr_len = gre_calc_hlen(tpi->flags);
net/ipv4/gre_demux.c
83
tpi->proto = greh->protocol;
net/ipv4/gre_demux.c
99
tpi->key = *options;
net/ipv4/ip_gre.c
123
const struct tnl_ptk_info *tpi)
net/ipv4/ip_gre.c
146
if (tpi->proto == htons(ETH_P_TEB))
net/ipv4/ip_gre.c
148
else if (tpi->proto == htons(ETH_P_ERSPAN) ||
net/ipv4/ip_gre.c
149
tpi->proto == htons(ETH_P_ERSPAN2))
net/ipv4/ip_gre.c
155
t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags,
net/ipv4/ip_gre.c
156
iph->daddr, iph->saddr, tpi->key);
net/ipv4/ip_gre.c
191
if (tpi->proto == htons(ETH_P_IPV6)) {
net/ipv4/ip_gre.c
197
if (!ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len,
net/ipv4/ip_gre.c
238
struct tnl_ptk_info tpi;
net/ipv4/ip_gre.c
240
if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IP),
net/ipv4/ip_gre.c
255
ipgre_err(skb, info, &tpi);
net/ipv4/ip_gre.c
267
static int erspan_rcv(struct sk_buff *skb, struct tnl_ptk_info *tpi,
net/ipv4/ip_gre.c
281
ip_tunnel_flags_copy(flags, tpi->flags);
net/ipv4/ip_gre.c
300
iph->saddr, iph->daddr, tpi->key);
net/ipv4/ip_gre.c
324
__set_bit(IP_TUNNEL_KEY_BIT, tpi->flags);
net/ipv4/ip_gre.c
325
ip_tunnel_flags_copy(flags, tpi->flags);
net/ipv4/ip_gre.c
326
tun_id = key32_to_tunnel_id(tpi->key);
net/ipv4/ip_gre.c
356
ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error);
net/ipv4/ip_gre.c
366
static int __ipgre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
net/ipv4/ip_gre.c
374
tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags,
net/ipv4/ip_gre.c
375
iph->saddr, iph->daddr, tpi->key);
net/ipv4/ip_gre.c
380
if (__iptunnel_pull_header(skb, hdr_len, tpi->proto,
net/ipv4/ip_gre.c
399
ip_tunnel_flags_and(flags, tpi->flags, flags);
net/ipv4/ip_gre.c
401
tun_id = key32_to_tunnel_id(tpi->key);
net/ipv4/ip_gre.c
407
ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error);
net/ipv4/ip_gre.c
417
static int ipgre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi,
net/ipv4/ip_gre.c
424
if (tpi->proto == htons(ETH_P_TEB))
net/ipv4/ip_gre.c
429
res = __ipgre_rcv(skb, tpi, itn, hdr_len, false);
net/ipv4/ip_gre.c
430
if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) {
net/ipv4/ip_gre.c
435
res = __ipgre_rcv(skb, tpi, itn, hdr_len, true);
net/ipv4/ip_gre.c
442
struct tnl_ptk_info tpi;
net/ipv4/ip_gre.c
454
hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IP), 0);
net/ipv4/ip_gre.c
458
if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) ||
net/ipv4/ip_gre.c
459
tpi.proto == htons(ETH_P_ERSPAN2))) {
net/ipv4/ip_gre.c
460
if (erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD)
net/ipv4/ip_gre.c
465
if (ipgre_rcv(skb, &tpi, hdr_len) == PACKET_RCVD)
net/ipv4/ip_tunnel.c
378
const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
net/ipv4/ip_tunnel.c
392
test_bit(IP_TUNNEL_CSUM_BIT, tpi->flags)) {
net/ipv4/ip_tunnel.c
399
if (!test_bit(IP_TUNNEL_SEQ_BIT, tpi->flags) ||
net/ipv4/ip_tunnel.c
400
(tunnel->i_seqno && (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) {
net/ipv4/ip_tunnel.c
405
tunnel->i_seqno = ntohl(tpi->seq) + 1;
net/ipv4/ipip.c
230
const struct tnl_ptk_info *tpi;
net/ipv4/ipip.c
240
tpi = &mplsip_tpi;
net/ipv4/ipip.c
243
tpi = &ipip_tpi;
net/ipv4/ipip.c
244
if (iptunnel_pull_header(skb, 0, tpi->proto, false))
net/ipv4/ipip.c
256
return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error);
net/ipv6/ip6_gre.c
392
struct tnl_ptk_info tpi;
net/ipv6/ip6_gre.c
395
if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6),
net/ipv6/ip6_gre.c
401
tpi.key, tpi.proto);
net/ipv6/ip6_gre.c
457
static int ip6gre_rcv(struct sk_buff *skb, const struct tnl_ptk_info *tpi)
net/ipv6/ip6_gre.c
464
&ipv6h->saddr, &ipv6h->daddr, tpi->key,
net/ipv6/ip6_gre.c
465
tpi->proto);
net/ipv6/ip6_gre.c
472
ip_tunnel_flags_copy(flags, tpi->flags);
net/ipv6/ip6_gre.c
473
tun_id = key32_to_tunnel_id(tpi->key);
net/ipv6/ip6_gre.c
479
ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error);
net/ipv6/ip6_gre.c
481
ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error);
net/ipv6/ip6_gre.c
491
struct tnl_ptk_info *tpi,
net/ipv6/ip6_gre.c
508
&ipv6h->saddr, &ipv6h->daddr, tpi->key,
net/ipv6/ip6_gre.c
509
tpi->proto);
net/ipv6/ip6_gre.c
529
__set_bit(IP_TUNNEL_KEY_BIT, tpi->flags);
net/ipv6/ip6_gre.c
530
ip_tunnel_flags_copy(flags, tpi->flags);
net/ipv6/ip6_gre.c
531
tun_id = key32_to_tunnel_id(tpi->key);
net/ipv6/ip6_gre.c
558
ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error);
net/ipv6/ip6_gre.c
561
ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error);
net/ipv6/ip6_gre.c
572
struct tnl_ptk_info tpi;
net/ipv6/ip6_gre.c
576
hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IPV6), 0);
net/ipv6/ip6_gre.c
580
if (iptunnel_pull_header(skb, hdr_len, tpi.proto, false))
net/ipv6/ip6_gre.c
583
if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) ||
net/ipv6/ip6_gre.c
584
tpi.proto == htons(ETH_P_ERSPAN2))) {
net/ipv6/ip6_gre.c
585
if (ip6erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD)
net/ipv6/ip6_gre.c
590
if (ip6gre_rcv(skb, &tpi) == PACKET_RCVD)
net/ipv6/ip6_tunnel.c
799
const struct tnl_ptk_info *tpi,
net/ipv6/ip6_tunnel.c
810
test_bit(IP_TUNNEL_CSUM_BIT, tpi->flags)) {
net/ipv6/ip6_tunnel.c
817
if (!test_bit(IP_TUNNEL_SEQ_BIT, tpi->flags) ||
net/ipv6/ip6_tunnel.c
819
(s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) {
net/ipv6/ip6_tunnel.c
824
tunnel->i_seqno = ntohl(tpi->seq) + 1;
net/ipv6/ip6_tunnel.c
827
skb->protocol = tpi->proto;
net/ipv6/ip6_tunnel.c
896
const struct tnl_ptk_info *tpi,
net/ipv6/ip6_tunnel.c
905
if (tpi->proto == htons(ETH_P_IP))
net/ipv6/ip6_tunnel.c
908
return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate,
net/ipv6/ip6_tunnel.c
929
const struct tnl_ptk_info *tpi,
net/ipv6/ip6_tunnel.c
952
if (iptunnel_pull_header(skb, 0, tpi->proto, false))
net/ipv6/ip6_tunnel.c
961
ret = __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate,
net/ipv6/sit.c
764
const struct tnl_ptk_info *tpi;
net/ipv6/sit.c
774
tpi = &mplsip_tpi;
net/ipv6/sit.c
777
tpi = &ipip_tpi;
net/ipv6/sit.c
778
if (iptunnel_pull_header(skb, 0, tpi->proto, false))
net/ipv6/sit.c
782
return ip_tunnel_rcv(tunnel, skb, tpi, NULL, log_ecn_error);