Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A 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 …]
H A 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 …]
H A Dip6_tunnel.c87 struct ip6_tnl __rcu *tnls_r_l[IP6_TUNNEL_HASH_SIZE];
88 struct ip6_tnl __rcu *tnls_wc[1];
89 struct ip6_tnl __rcu **tnls[2];
90 struct ip6_tnl __rcu *collect_md_tun;
114 static struct ip6_tnl *
119 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
188 static struct ip6_tnl __rcu **
210 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
212 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
227 ip6_tnl_unlink(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_unlink()
[all …]
H A Dxfrm6_input.c23 struct ip6_tnl *t) in xfrm6_rcv_spi()
218 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t) in xfrm6_rcv_tnl()
/linux/include/net/
H A 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,
H A Dxfrm.h663 struct ip6_tnl *ip6;
1737 struct ip6_tnl *t);
1741 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
630 struct ip6_tnl *tun6; in mlxsw_sp_ipip_netdev_ul_dev_get()
H A Dspectrum_span.c526 struct ip6_tnl *t = netdev_priv(to_dev); in mlxsw_sp_span_gretap6_route()