Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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()
263 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add()
272 static void ip_tunnel_del(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_del()
279 static struct ip_tunnel *ip_tunnel_find(struct ip_tunnel_net *itn, in ip_tunnel_find()
288 struct ip_tunnel *t = NULL; in ip_tunnel_find()
[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()
299 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init()
385 struct ip_tunnel *t = netdev_priv(dev); in ipip_newlink()
403 struct ip_tunnel *t = netdev_priv(dev); in ipip_changelink()
447 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info()
492 .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),
Dip_gre.c268 struct ip_tunnel *t; in ipgre_err()
390 struct ip_tunnel *tunnel; in ipgre_rcv()
486 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit()
604 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit()
649 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit()
733 struct ip_tunnel *t = netdev_priv(dev); in ipgre_header()
770 struct ip_tunnel *t = netdev_priv(dev); in ipgre_open()
796 struct ip_tunnel *t = netdev_priv(dev); in ipgre_close()
836 struct ip_tunnel *tunnel; in __gre_tunnel_init()
866 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_tunnel_init()
[all …]
DMakefile17 obj-$(CONFIG_NET_IP_TUNNEL) += ip_tunnel.o
/linux-4.4.14/include/net/
Dip_tunnels.h95 struct ip_tunnel { struct
96 struct ip_tunnel __rcu *next; argument
163 struct ip_tunnel __rcu *collect_md_tun;
231 int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t,
238 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn,
243 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
251 void ip_tunnel_dst_reset_all(struct ip_tunnel *t);
252 int ip_tunnel_encap_setup(struct ip_tunnel *t,
Dxfrm.h618 struct ip_tunnel *ip4;