Lines Matching refs:tel
505 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_parse_tlv_enc_lim() local
508 if (i + sizeof (*tel) > off + optlen) in ip6_tnl_parse_tlv_enc_lim()
511 tel = (struct ipv6_tlv_tnl_enc_lim *) &raw[i]; in ip6_tnl_parse_tlv_enc_lim()
513 if (tel->type == IPV6_TLV_TNL_ENCAP_LIMIT && in ip6_tnl_parse_tlv_enc_lim()
514 tel->length == 1) in ip6_tnl_parse_tlv_enc_lim()
517 if (tel->type) in ip6_tnl_parse_tlv_enc_lim()
518 i += tel->length + 2; in ip6_tnl_parse_tlv_enc_lim()
569 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_err() local
589 tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli]; in ip6_tnl_err()
590 if (tel->encap_limit == 0) { in ip6_tnl_err()
1235 struct ipv6_tlv_tnl_enc_lim *tel; in ip6ip6_tnl_xmit() local
1236 tel = (struct ipv6_tlv_tnl_enc_lim *)&skb_network_header(skb)[offset]; in ip6ip6_tnl_xmit()
1237 if (tel->encap_limit == 0) { in ip6ip6_tnl_xmit()
1242 encap_limit = tel->encap_limit - 1; in ip6ip6_tnl_xmit()