Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv6/
Dsit.c75 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
81 struct ip_tunnel __rcu *tunnels_r_l[HASH_SIZE];
82 struct ip_tunnel __rcu *tunnels_r[HASH_SIZE];
83 struct ip_tunnel __rcu *tunnels_l[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()
98 struct ip_tunnel *t; in ipip6_tunnel_lookup()
126 static struct ip_tunnel __rcu **__ipip6_bucket(struct sit_net *sitn, in __ipip6_bucket()
145 static inline struct ip_tunnel __rcu **ipip6_bucket(struct sit_net *sitn, in ipip6_bucket()
[all …]
/linux-4.1.27/net/ipv4/
Dip_tunnel.c83 static noinline void tunnel_dst_set(struct ip_tunnel *t, in tunnel_dst_set()
89 static void tunnel_dst_reset(struct ip_tunnel *t) in tunnel_dst_reset()
94 void ip_tunnel_dst_reset_all(struct ip_tunnel *t) in ip_tunnel_dst_reset_all()
103 static struct rtable *tunnel_rtable_get(struct ip_tunnel *t, in tunnel_rtable_get()
151 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, in ip_tunnel_lookup()
157 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup()
260 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add()
267 static void ip_tunnel_del(struct ip_tunnel *t) in ip_tunnel_del()
272 static struct ip_tunnel *ip_tunnel_find(struct ip_tunnel_net *itn, in ip_tunnel_find()
281 struct ip_tunnel *t = NULL; in ip_tunnel_find()
[all …]
Dip_gre.c146 struct ip_tunnel *t; in ipgre_err()
208 struct ip_tunnel *tunnel; in ipgre_rcv()
231 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit()
252 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit()
293 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit()
373 struct ip_tunnel *t = netdev_priv(dev); in ipgre_header()
410 struct ip_tunnel *t = netdev_priv(dev); in ipgre_open()
436 struct ip_tunnel *t = netdev_priv(dev); in ipgre_close()
476 struct ip_tunnel *tunnel; in __gre_tunnel_init()
506 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_tunnel_init()
[all …]
Dipip.c139 struct ip_tunnel *t; in ipip_err()
190 struct ip_tunnel *tunnel; in ipip_rcv()
217 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit()
301 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init()
387 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink()
405 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink()
449 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info()
494 .priv_size = sizeof(struct ip_tunnel),
Dip_vti.c56 struct ip_tunnel *tunnel; in vti_input()
92 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb()
155 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit()
219 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit()
250 struct ip_tunnel *tunnel; in vti4_err()
362 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init()
380 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init()
508 struct ip_tunnel *t = netdev_priv(dev); in vti_fill_info()
532 .priv_size = sizeof(struct ip_tunnel),
DMakefile16 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
/linux-4.1.27/include/net/
Dip_tunnels.h54 struct ip_tunnel { struct
55 struct ip_tunnel __rcu *next; argument
154 int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t,
160 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn,
165 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
172 void ip_tunnel_dst_reset_all(struct ip_tunnel *t);
173 int ip_tunnel_encap_setup(struct ip_tunnel *t,
Dxfrm.h615 struct ip_tunnel *ip4;