Searched refs:ip_tunnel (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/net/ipv6/ |
| D | sit.c | 71 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]; 89 static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net, in ipip6_tunnel_lookup() 96 struct ip_tunnel *t; in ipip6_tunnel_lookup() 128 static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn, in __ipip6_bucket() 147 static inline struct ip_tunnel __rcu **ipip6_bucket(struct sit_net *sitn, in ipip6_bucket() [all …]
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_tunnel.c | 83 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, in ip_tunnel_lookup() 89 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() 195 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add() 204 static void ip_tunnel_del(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_del() 211 static struct ip_tunnel *ip_tunnel_find(struct ip_tunnel_net *itn, in ip_tunnel_find() 220 struct ip_tunnel *t = NULL; in ip_tunnel_find() 239 struct ip_tunnel *tunnel; in __ip_tunnel_create() 284 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() 330 static struct ip_tunnel *ip_tunnel_create(struct net *net, in ip_tunnel_create() 334 struct ip_tunnel *nt; in ip_tunnel_create() [all …]
|
| D | ip_gre.c | 142 struct ip_tunnel *t; in ipgre_err() 258 struct ip_tunnel *tunnel; in erspan_rcv() 336 struct ip_tunnel *tunnel; in __ipgre_rcv() 434 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() 455 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() 493 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() 594 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() 640 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() 691 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() 718 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() [all …]
|
| D | ip_vti.c | 50 struct ip_tunnel *tunnel; in vti_input() 106 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() 181 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() 255 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() 292 struct ip_tunnel *tunnel; in vti4_err() 404 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() 420 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() 537 struct ip_tunnel *t = netdev_priv(dev); in vti_changelink() 565 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info() 592 .priv_size = sizeof(struct ip_tunnel),
|
| D | ipip.c | 135 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() 390 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() 498 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink() 518 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink() 576 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() 629 .priv_size = sizeof(struct ip_tunnel),
|
| D | Makefile | 21 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
|
| /Linux-v5.4/include/net/ |
| D | ip_tunnels.h | 104 struct ip_tunnel { struct 105 struct ip_tunnel __rcu *next; argument 166 struct ip_tunnel __rcu *collect_md_tun; argument 278 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, 283 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, 309 int ip_tunnel_encap_setup(struct ip_tunnel *t, 352 static inline int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t, in ip_tunnel_encap()
|
| D | xfrm.h | 596 struct ip_tunnel *ip4;
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_ipip.c | 12 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4() 235 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4()
|
| D | spectrum_span.c | 297 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route()
|
| D | spectrum_router.c | 984 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
|