Home
last modified time | relevance | path

Searched refs:encap_limit (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/net/ipv6/
Dip6_gre.c465 if (tel->encap_limit == 0) { in ip6gre_err()
639 int *encap_limit) in prepare_ip6gre_xmit_ipv4() argument
645 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv4()
665 int *encap_limit) in prepare_ip6gre_xmit_ipv6() argument
679 if (tel->encap_limit == 0) { in prepare_ip6gre_xmit_ipv6()
684 *encap_limit = tel->encap_limit - 1; in prepare_ip6gre_xmit_ipv6()
686 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv6()
722 struct flowi6 *fl6, int encap_limit, in __gre6_xmit() argument
779 return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, in __gre6_xmit()
786 int encap_limit = -1; in ip6gre_xmit_ipv4() local
[all …]
Dip6_tunnel.c517 if (tel->encap_limit == 0) { in ip6_tnl_err()
983 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
989 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
1076 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, in ip6_tnl_xmit() argument
1171 if (encap_limit >= 0) { in ip6_tnl_xmit()
1247 if (encap_limit >= 0) { in ip6_tnl_xmit()
1248 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit()
1279 int encap_limit = -1; in ipxip6_tnl_xmit() local
1321 encap_limit = t->parms.encap_limit; in ipxip6_tnl_xmit()
1332 if (tel->encap_limit == 0) { in ipxip6_tnl_xmit()
[all …]
/Linux-v5.15/include/uapi/linux/
Dip6_tunnel.h31 __u8 encap_limit; /* encapsulation limit for tunnel */ member
43 __u8 encap_limit; /* encapsulation limit for tunnel */ member
/Linux-v5.15/include/net/
Dip6_tunnel.h25 __u8 encap_limit; /* encapsulation limit for tunnel */ member
134 __u8 encap_limit; /* tunnel encapsulation limit */ member
145 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __u8 proto);