Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dip6_gre.c466 if (tel->encap_limit == 0) { in ip6gre_err()
640 int *encap_limit) in prepare_ip6gre_xmit_ipv4() argument
646 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv4()
666 int *encap_limit) in prepare_ip6gre_xmit_ipv6() argument
680 if (tel->encap_limit == 0) { in prepare_ip6gre_xmit_ipv6()
685 *encap_limit = tel->encap_limit - 1; in prepare_ip6gre_xmit_ipv6()
687 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv6()
723 struct flowi6 *fl6, int encap_limit, in __gre6_xmit() argument
780 return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, in __gre6_xmit()
787 int encap_limit = -1; in ip6gre_xmit_ipv4() local
[all …]
Dip6_tunnel.c549 if (tel->encap_limit == 0) { in ip6_tnl_err()
1014 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
1020 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
1107 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, in ip6_tnl_xmit() argument
1202 if (encap_limit >= 0) { in ip6_tnl_xmit()
1280 if (encap_limit >= 0) { in ip6_tnl_xmit()
1281 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit()
1312 int encap_limit = -1; in ipxip6_tnl_xmit() local
1354 encap_limit = t->parms.encap_limit; in ipxip6_tnl_xmit()
1365 if (tel->encap_limit == 0) { in ipxip6_tnl_xmit()
[all …]
/Linux-v5.10/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.10/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);