Lines Matching defs:tpi
59 /* Fills in tpi and returns header length to be pulled.
62 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi,
76 gre_flags_to_tnl_flags(tpi->flags, greh->flags);
77 hdr_len = gre_calc_hlen(tpi->flags);
83 tpi->proto = greh->protocol;
99 tpi->key = *options;
102 tpi->key = 0;
105 tpi->seq = *options;
108 tpi->seq = 0;
114 if (greh->flags == 0 && tpi->proto == htons(ETH_P_WCCP)) {
121 tpi->proto = proto;
125 tpi->hdr_len = hdr_len;
139 tpi->key = cpu_to_be32(get_session_id(ershdr));