Lines Matching refs:tel
440 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_parse_tlv_enc_lim() local
443 if (i + sizeof(*tel) > optlen) in ip6_tnl_parse_tlv_enc_lim()
446 tel = (struct ipv6_tlv_tnl_enc_lim *)(skb->data + off + i); in ip6_tnl_parse_tlv_enc_lim()
448 if (tel->type == IPV6_TLV_TNL_ENCAP_LIMIT && in ip6_tnl_parse_tlv_enc_lim()
449 tel->length == 1) in ip6_tnl_parse_tlv_enc_lim()
452 if (tel->type) in ip6_tnl_parse_tlv_enc_lim()
453 i += tel->length + 2; in ip6_tnl_parse_tlv_enc_lim()
504 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_err() local
524 tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli]; in ip6_tnl_err()
525 if (tel->encap_limit == 0) { in ip6_tnl_err()
1352 struct ipv6_tlv_tnl_enc_lim *tel; in ip6ip6_tnl_xmit() local
1354 tel = (void *)&skb_network_header(skb)[offset]; in ip6ip6_tnl_xmit()
1355 if (tel->encap_limit == 0) { in ip6ip6_tnl_xmit()
1360 encap_limit = tel->encap_limit - 1; in ip6ip6_tnl_xmit()