Home
last modified time | relevance | path

Searched refs:ip6_tnl (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/ipv6/
Dip6_vti.c69 struct ip6_tnl __rcu *tnls_r_l[IP6_VTI_HASH_SIZE];
70 struct ip6_tnl __rcu *tnls_wc[1];
71 struct ip6_tnl __rcu **tnls[2];
88 static struct ip6_tnl *
93 struct ip6_tnl *t; in vti6_tnl_lookup()
137 static struct ip6_tnl __rcu **
153 vti6_tnl_link(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_link()
155 struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_link()
162 vti6_tnl_unlink(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_unlink()
164 struct ip6_tnl __rcu **tp; in vti6_tnl_unlink()
[all …]
Dip6_gre.c66 struct ip6_tnl __rcu *tunnels[4][IP6_GRE_HASH_SIZE];
68 struct ip6_tnl __rcu *collect_md_tun;
69 struct ip6_tnl __rcu *collect_md_tun_erspan;
78 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t);
79 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu);
80 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu);
115 static struct ip6_tnl *ip6gre_tunnel_lookup(struct net_device *dev, in ip6gre_tunnel_lookup()
123 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup()
249 static struct ip6_tnl __rcu **__ip6gre_bucket(struct ip6gre_net *ign, in __ip6gre_bucket()
267 static void ip6gre_tunnel_link_md(struct ip6gre_net *ign, struct ip6_tnl *t) in ip6gre_tunnel_link_md()
[all …]
Dip6_tunnel.c86 struct ip6_tnl __rcu *tnls_r_l[IP6_TUNNEL_HASH_SIZE];
87 struct ip6_tnl __rcu *tnls_wc[1];
88 struct ip6_tnl __rcu **tnls[2];
89 struct ip6_tnl __rcu *collect_md_tun;
113 static struct ip6_tnl *
118 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
187 static struct ip6_tnl __rcu **
209 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
211 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
226 ip6_tnl_unlink(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_unlink()
[all …]
Dxfrm6_input.c21 struct ip6_tnl *t) in xfrm6_rcv_spi()
163 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t) in xfrm6_rcv_tnl()
/linux-6.1.9/include/net/
Dip6_tunnel.h46 struct ip6_tnl { struct
47 struct ip6_tnl __rcu *next; /* next tunnel in list */ argument
86 int ip6_tnl_encap_setup(struct ip6_tnl *t, argument
109 static inline int ip6_tnl_encap(struct sk_buff *skb, struct ip6_tnl *t, in ip6_tnl_encap()
138 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
140 int ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb,
143 int ip6_tnl_xmit_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
148 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, const struct in6_addr *laddr,
Dxfrm.h604 struct ip6_tnl *ip6;
1627 struct ip6_tnl *t);
1631 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
664 struct ip6_tnl *tun6; in mlxsw_sp_ipip_netdev_ul_dev_get()
Dspectrum_span.c525 struct ip6_tnl *t = netdev_priv(to_dev); in mlxsw_sp_span_gretap6_route()