Lines Matching refs:tel
446 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_parse_tlv_enc_lim() local
449 if (i + sizeof (*tel) > off + optlen) in ip6_tnl_parse_tlv_enc_lim()
452 tel = (struct ipv6_tlv_tnl_enc_lim *) &raw[i]; in ip6_tnl_parse_tlv_enc_lim()
454 if (tel->type == IPV6_TLV_TNL_ENCAP_LIMIT && in ip6_tnl_parse_tlv_enc_lim()
455 tel->length == 1) in ip6_tnl_parse_tlv_enc_lim()
458 if (tel->type) in ip6_tnl_parse_tlv_enc_lim()
459 i += tel->length + 2; in ip6_tnl_parse_tlv_enc_lim()
510 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_err() local
530 tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli]; in ip6_tnl_err()
531 if (tel->encap_limit == 0) { in ip6_tnl_err()
1177 struct ipv6_tlv_tnl_enc_lim *tel; in ip6ip6_tnl_xmit() local
1178 tel = (struct ipv6_tlv_tnl_enc_lim *)&skb_network_header(skb)[offset]; in ip6ip6_tnl_xmit()
1179 if (tel->encap_limit == 0) { in ip6ip6_tnl_xmit()
1184 encap_limit = tel->encap_limit - 1; in ip6ip6_tnl_xmit()