Searched refs:encap_limit (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/net/ipv6/ |
D | ip6_gre.c | 462 if (tel->encap_limit == 0) { in ip6gre_err() 635 int *encap_limit) in prepare_ip6gre_xmit_ipv4() argument 641 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv4() 661 int *encap_limit) in prepare_ip6gre_xmit_ipv6() argument 675 if (tel->encap_limit == 0) { in prepare_ip6gre_xmit_ipv6() 680 *encap_limit = tel->encap_limit - 1; in prepare_ip6gre_xmit_ipv6() 682 *encap_limit = t->parms.encap_limit; in prepare_ip6gre_xmit_ipv6() 707 struct flowi6 *fl6, int encap_limit, in __gre6_xmit() argument 765 return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, in __gre6_xmit() 772 int encap_limit = -1; in ip6gre_xmit_ipv4() local [all …]
|
D | ip6_tunnel.c | 520 if (tel->encap_limit == 0) { in ip6_tnl_err() 940 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument 946 opt->dst_opt[4] = encap_limit; in init_tel_txopt() 1033 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, in ip6_tnl_xmit() argument 1128 if (encap_limit >= 0) { in ip6_tnl_xmit() 1204 if (encap_limit >= 0) { in ip6_tnl_xmit() 1205 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit() 1234 int encap_limit = -1; in ip4ip6_tnl_xmit() local 1265 encap_limit = t->parms.encap_limit; in ip4ip6_tnl_xmit() 1288 err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, in ip4ip6_tnl_xmit() [all …]
|
/Linux-v5.4/include/uapi/linux/ |
D | ip6_tunnel.h | 31 __u8 encap_limit; /* encapsulation limit for tunnel */ member 43 __u8 encap_limit; /* encapsulation limit for tunnel */ member
|
/Linux-v5.4/include/net/ |
D | ip6_tunnel.h | 25 __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);
|