Home
last modified time | relevance | path

Searched refs:ip6_tnl (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dip6_tunnel.h46 struct ip6_tnl { struct
47 struct ip6_tnl __rcu *next; /* next tunnel in list */
85 int ip6_tnl_encap_setup(struct ip6_tnl *t,
108 static inline int ip6_tnl_encap(struct sk_buff *skb, struct ip6_tnl *t, in ip6_tnl_encap()
137 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
139 int ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb,
142 int ip6_tnl_xmit_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
147 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, const struct in6_addr *laddr,
H A Dxfrm.h601 struct ip6_tnl *ip6;
1624 struct ip6_tnl *t);
1628 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
/kernel/linux/linux-6.6/include/net/
H A Dip6_tunnel.h46 struct ip6_tnl { struct
47 struct ip6_tnl __rcu *next; /* next tunnel in list */
86 int ip6_tnl_encap_setup(struct ip6_tnl *t,
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.h619 struct ip6_tnl *ip6;
1694 struct ip6_tnl *t);
1698 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
/kernel/linux/linux-5.10/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()
136 static struct ip6_tnl __rcu **
152 vti6_tnl_link(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_link()
154 struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms); in vti6_tnl_link()
161 vti6_tnl_unlink(struct vti6_net *ip6n, struct ip6_tnl *t) in vti6_tnl_unlink()
163 struct ip6_tnl __rc 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 *
[all...]
H A 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;
143 static struct ip6_tnl *
148 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
216 static struct ip6_tnl __rcu **
237 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
239 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
253 ip6_tnl_unlink(struct ip6_tnl_net *ip6n, struct ip6_tnl *
[all...]
H A Dxfrm6_input.c21 struct ip6_tnl *t) in xfrm6_rcv_spi()
166 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t) in xfrm6_rcv_tnl()
/kernel/linux/linux-6.6/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 __rc 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 *
[all...]
H A 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 *
[all...]
H A Dxfrm6_input.c21 struct ip6_tnl *t) in xfrm6_rcv_spi()
166 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t) in xfrm6_rcv_tnl()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
598 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
H A Dspectrum_span.c523 struct ip6_tnl *t = netdev_priv(to_dev); in mlxsw_sp_span_gretap6_route()

Completed in 25 milliseconds