Lines Matching refs:tpi
60 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, in gre_parse_header() argument
74 tpi->flags = gre_flags_to_tnl_flags(greh->flags); in gre_parse_header()
75 hdr_len = gre_calc_hlen(tpi->flags); in gre_parse_header()
81 tpi->proto = greh->protocol; in gre_parse_header()
97 tpi->key = *options; in gre_parse_header()
100 tpi->key = 0; in gre_parse_header()
103 tpi->seq = *options; in gre_parse_header()
106 tpi->seq = 0; in gre_parse_header()
112 if (greh->flags == 0 && tpi->proto == htons(ETH_P_WCCP)) { in gre_parse_header()
113 tpi->proto = proto; in gre_parse_header()
117 tpi->hdr_len = hdr_len; in gre_parse_header()
131 tpi->key = cpu_to_be32(get_session_id(ershdr)); in gre_parse_header()