Home
last modified time | relevance | path

Searched refs:ip_tunnel (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/net/ipv6/
Dsit.c71 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
77 struct ip_tunnel __rcu *tunnels_r_l[IP6_SIT_HASH_SIZE];
78 struct ip_tunnel __rcu *tunnels_r[IP6_SIT_HASH_SIZE];
79 struct ip_tunnel __rcu *tunnels_l[IP6_SIT_HASH_SIZE];
80 struct ip_tunnel __rcu *tunnels_wc[1];
81 struct ip_tunnel __rcu **tunnels[4];
88 struct ip_tunnel *t = netdev_priv(dev); in dev_to_sit_net()
96 static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net, in ipip6_tunnel_lookup()
103 struct ip_tunnel *t; in ipip6_tunnel_lookup()
135 static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn, in __ipip6_bucket()
[all …]
/Linux-v5.10/net/ipv4/
Dip_tunnel.c83 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, in ip_tunnel_lookup()
88 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup()
193 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add()
202 static void ip_tunnel_del(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_del()
209 static struct ip_tunnel *ip_tunnel_find(struct ip_tunnel_net *itn, in ip_tunnel_find()
218 struct ip_tunnel *t = NULL; in ip_tunnel_find()
237 struct ip_tunnel *tunnel; in __ip_tunnel_create()
282 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev()
328 static struct ip_tunnel *ip_tunnel_create(struct net *net, in ip_tunnel_create()
332 struct ip_tunnel *nt; in ip_tunnel_create()
[all …]
Dip_gre.c142 struct ip_tunnel *t; in ipgre_err()
267 struct ip_tunnel *tunnel; in erspan_rcv()
354 struct ip_tunnel *tunnel; in __ipgre_rcv()
456 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit()
477 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit()
515 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit()
616 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit()
660 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit()
714 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit()
741 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update()
[all …]
Dip_vti.c50 struct ip_tunnel *tunnel; in vti_input()
100 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb()
169 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit()
278 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit()
315 struct ip_tunnel *tunnel; in vti4_err()
422 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init()
438 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init()
575 struct ip_tunnel *t = netdev_priv(dev); in vti_changelink()
603 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info()
630 .priv_size = sizeof(struct ip_tunnel),
Dipip.c135 struct ip_tunnel *t; in ipip_err()
217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv()
274 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit()
379 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init()
487 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink()
507 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink()
565 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info()
618 .priv_size = sizeof(struct ip_tunnel),
DMakefile21 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
/Linux-v5.10/include/net/
Dip_tunnels.h104 struct ip_tunnel { struct
105 struct ip_tunnel __rcu *next; argument
166 struct ip_tunnel __rcu *collect_md_tun; argument
279 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn,
284 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
313 int ip_tunnel_encap_setup(struct ip_tunnel *t,
356 static inline int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t, in ip_tunnel_encap()
Dxfrm.h595 struct ip_tunnel *ip4;
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c14 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4()
237 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4()
Dspectrum_span.c412 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route()
Dspectrum_router.c964 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()