/kernel/linux/linux-5.10/net/ipv6/ |
H A 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]; 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 __rc [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A 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]; 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 __rc [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_gre.c | 142 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() 475 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() 513 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() 620 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() 671 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() 725 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() 752 struct ip_tunnel *tunne in ipgre_link_update() [all...] |
H A D | ip_tunnel.c | 83 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 *n in ip_tunnel_create() [all...] |
H A D | ip_vti.c | 50 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() 280 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() 317 struct ip_tunnel *tunnel; in vti4_err() 424 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() 440 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() 577 struct ip_tunnel *t = netdev_priv(dev); in vti_changelink() 605 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info() 632 .priv_size = sizeof(struct ip_tunnel), [all...] |
H A 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() 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),
|
H A D | Makefile | 21 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_gre.c | 144 struct ip_tunnel *t; in ipgre_err() 269 struct ip_tunnel *tunnel; in erspan_rcv() 356 struct ip_tunnel *tunnel; in __ipgre_rcv() 461 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() 480 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() 518 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() 626 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() 677 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() 732 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() 759 struct ip_tunnel *tunne in ipgre_link_update() [all...] |
H A D | ip_tunnel.c | 83 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 *n in ip_tunnel_create() [all...] |
H A D | ip_vti.c | 50 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() 280 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() 317 struct ip_tunnel *tunnel; in vti4_err() 425 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() 441 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() 578 struct ip_tunnel *t = netdev_priv(dev); in vti_changelink() 606 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info() 633 .priv_size = sizeof(struct ip_tunnel), [all...] |
H A D | ipip.c | 135 struct ip_tunnel *t; in ipip_err() 217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() 277 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() 382 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() 434 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink() 454 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink() 512 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() 565 .priv_size = sizeof(struct ip_tunnel),
|
H A D | Makefile | 21 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ip_tunnels.h | 30 /* Used to memset ip_tunnel padding. */ 104 struct ip_tunnel { struct 105 struct ip_tunnel __rcu *next; 166 struct ip_tunnel __rcu *collect_md_tun; 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()
|
H A D | xfrm.h | 600 struct ip_tunnel *ip4;
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ip_tunnels.h | 30 /* Used to memset ip_tunnel padding. */ 113 struct ip_tunnel { struct 114 struct ip_tunnel __rcu *next; 178 struct ip_tunnel __rcu *collect_md_tun; 299 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, 305 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, 340 int ip_tunnel_encap_setup(struct ip_tunnel *t,
|
H A D | xfrm.h | 618 struct ip_tunnel *ip4;
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 14 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4() 240 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4() 597 struct ip_tunnel *tun4; in mlxsw_sp_ipip_netdev_ul_dev_get()
|
H A D | spectrum_span.c | 415 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 14 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()
|
H A D | spectrum_span.c | 414 struct ip_tunnel *tun = netdev_priv(to_dev); in mlxsw_sp_span_gretap4_route()
|
H A D | spectrum_router.c | 964 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
|