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.c70 struct ip6_tnl __rcu *tnls_r_l[IP6_VTI_HASH_SIZE];
71 struct ip6_tnl __rcu *tnls_wc[1];
72 struct ip6_tnl __rcu **tnls[2];
89 static struct ip6_tnl *
94 struct ip6_tnl *t; in vti6_tnl_lookup()
138 static struct ip6_tnl __rcu **
154 vti6_tnl_link(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_link()
156 struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_link()
163 vti6_tnl_unlink(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_unlink()
165 struct ip6_tnl __rcu **tp; in vti6_tnl_unlink()
[all …]
H A Dip6_gre.c67 struct ip6_tnl __rcu *tunnels[4][IP6_GRE_HASH_SIZE];
69 struct ip6_tnl __rcu *collect_md_tun;
70 struct ip6_tnl __rcu *collect_md_tun_erspan;
79 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t);
80 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu);
81 static void ip6erspan_tnl_link_config(struct ip6_tnl *t, int set_mtu);
114 static bool ip6gre_tunnel_match(struct ip6_tnl *t, int dev_type, int link, in ip6gre_tunnel_match()
115 int *cand_score, struct ip6_tnl **ret) in ip6gre_tunnel_match()
140 static struct ip6_tnl *ip6gre_tunnel_lookup(struct net_device *dev, in ip6gre_tunnel_lookup()
148 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup()
[all …]
H A Dip6_tunnel.c88 struct ip6_tnl __rcu *tnls_r_l[IP6_TUNNEL_HASH_SIZE];
89 struct ip6_tnl __rcu *tnls_wc[1];
90 struct ip6_tnl __rcu **tnls[2];
91 struct ip6_tnl __rcu *collect_md_tun;
115 static struct ip6_tnl *
120 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
189 static struct ip6_tnl __rcu **
211 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
213 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
228 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()
223 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.h733 struct ip6_tnl *ip6;
1823 struct ip6_tnl *t);
1827 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.c525 struct ip6_tnl *t = netdev_priv(to_dev); in mlxsw_sp_span_gretap6_route()