Home
last modified time | relevance | path

Searched refs:tel (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/
Dip6_tunnel.c435 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_parse_tlv_enc_lim() local
438 if (i + sizeof(*tel) > optlen) in ip6_tnl_parse_tlv_enc_lim()
441 tel = (struct ipv6_tlv_tnl_enc_lim *)(skb->data + off + i); in ip6_tnl_parse_tlv_enc_lim()
443 if (tel->type == IPV6_TLV_TNL_ENCAP_LIMIT && in ip6_tnl_parse_tlv_enc_lim()
444 tel->length == 1) in ip6_tnl_parse_tlv_enc_lim()
447 if (tel->type) in ip6_tnl_parse_tlv_enc_lim()
448 i += tel->length + 2; in ip6_tnl_parse_tlv_enc_lim()
499 struct ipv6_tlv_tnl_enc_lim *tel; in ip6_tnl_err() local
519 tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli]; in ip6_tnl_err()
520 if (tel->encap_limit == 0) { in ip6_tnl_err()
[all …]
Dip6_gre.c440 struct ipv6_tlv_tnl_enc_lim *tel; in ip6gre_err() local
461 tel = (struct ipv6_tlv_tnl_enc_lim *) &skb->data[teli]; in ip6gre_err()
462 if (tel->encap_limit == 0) { in ip6gre_err()
672 struct ipv6_tlv_tnl_enc_lim *tel; in prepare_ip6gre_xmit_ipv6() local
674 tel = (struct ipv6_tlv_tnl_enc_lim *)&skb_network_header(skb)[offset]; in prepare_ip6gre_xmit_ipv6()
675 if (tel->encap_limit == 0) { in prepare_ip6gre_xmit_ipv6()
680 *encap_limit = tel->encap_limit - 1; in prepare_ip6gre_xmit_ipv6()