Searched refs:ip_tunnel (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/net/ipv6/ |
D | sit.c | 75 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, 81 struct ip_tunnel __rcu *tunnels_r_l[IP6_SIT_HASH_SIZE]; 82 struct ip_tunnel __rcu *tunnels_r[IP6_SIT_HASH_SIZE]; 83 struct ip_tunnel __rcu *tunnels_l[IP6_SIT_HASH_SIZE]; 84 struct ip_tunnel __rcu *tunnels_wc[1]; 85 struct ip_tunnel __rcu **tunnels[4]; 93 static struct ip_tunnel *ipip6_tunnel_lookup(struct net *net, in ipip6_tunnel_lookup() 100 struct ip_tunnel *t; in ipip6_tunnel_lookup() 132 static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn, in __ipip6_bucket() 151 static inline struct ip_tunnel __rcu **ipip6_bucket(struct sit_net *sitn, in ipip6_bucket() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | ip_tunnel.c | 96 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, in ip_tunnel_lookup() 102 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() 208 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add() 217 static void ip_tunnel_del(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_del() 224 static struct ip_tunnel *ip_tunnel_find(struct ip_tunnel_net *itn, in ip_tunnel_find() 233 struct ip_tunnel *t = NULL; in ip_tunnel_find() 252 struct ip_tunnel *tunnel; in __ip_tunnel_create() 297 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() 343 static struct ip_tunnel *ip_tunnel_create(struct net *net, in ip_tunnel_create() 347 struct ip_tunnel *nt; in ip_tunnel_create() [all …]
|
D | ip_gre.c | 147 struct ip_tunnel *t; in ipgre_err() 265 struct ip_tunnel *tunnel; in erspan_rcv() 346 struct ip_tunnel *tunnel; in __ipgre_rcv() 444 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() 530 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() 576 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() 677 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() 720 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() 764 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() 788 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() [all …]
|
D | ip_vti.c | 55 struct ip_tunnel *tunnel; in vti_input() 92 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() 167 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() 241 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() 272 struct ip_tunnel *tunnel; in vti4_err() 384 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() 400 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() 511 struct ip_tunnel *t = netdev_priv(dev); in vti_changelink() 539 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info() 566 .priv_size = sizeof(struct ip_tunnel),
|
D | ipip.c | 140 struct ip_tunnel *t; in ipip_err() 223 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() 280 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() 393 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() 501 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink() 521 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink() 579 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() 632 .priv_size = sizeof(struct ip_tunnel),
|
D | Makefile | 21 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
|
/Linux-v4.19/include/net/ |
D | ip_tunnels.h | 104 struct ip_tunnel { struct 105 struct ip_tunnel __rcu *next; argument 185 struct ip_tunnel __rcu *collect_md_tun; 296 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, 301 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, 326 int ip_tunnel_encap_setup(struct ip_tunnel *t, 349 static inline int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t, in ip_tunnel_encap()
|
D | xfrm.h | 666 struct ip_tunnel *ip4;
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 12 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4() 233 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 | 960 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
|