Lines Matching refs:ip_tunnel

75 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()
146 struct ip_tunnel *t) in ipip6_bucket()
151 static void ipip6_tunnel_unlink(struct sit_net *sitn, struct ip_tunnel *t) in ipip6_tunnel_unlink()
153 struct ip_tunnel __rcu **tp; in ipip6_tunnel_unlink()
154 struct ip_tunnel *iter; in ipip6_tunnel_unlink()
166 static void ipip6_tunnel_link(struct sit_net *sitn, struct ip_tunnel *t) in ipip6_tunnel_link()
168 struct ip_tunnel __rcu **tp = ipip6_bucket(sitn, t); in ipip6_tunnel_link()
177 struct ip_tunnel *t = netdev_priv(dev); in ipip6_tunnel_clone_6rd()
185 struct ip_tunnel *t0 = netdev_priv(sitn->fb_tunnel_dev); in ipip6_tunnel_clone_6rd()
193 struct ip_tunnel *t = netdev_priv(dev); in ipip6_tunnel_create()
221 static struct ip_tunnel *ipip6_tunnel_locate(struct net *net, in ipip6_tunnel_locate()
226 struct ip_tunnel *t, *nt; in ipip6_tunnel_locate()
227 struct ip_tunnel __rcu **tp; in ipip6_tunnel_locate()
279 __ipip6_tunnel_locate_prl(struct ip_tunnel *t, __be32 addr) in __ipip6_tunnel_locate_prl()
290 static int ipip6_tunnel_get_prl(struct ip_tunnel *t, in ipip6_tunnel_get_prl()
354 ipip6_tunnel_add_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a, int chg) in ipip6_tunnel_add_prl()
408 ipip6_tunnel_del_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a) in ipip6_tunnel_del_prl()
441 isatap_chksrc(struct sk_buff *skb, const struct iphdr *iph, struct ip_tunnel *t) in isatap_chksrc()
469 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit()
523 struct ip_tunnel *t; in ipip6_err()
593 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
614 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
631 struct ip_tunnel *tunnel) in packet_is_spoofed()
669 struct ip_tunnel *tunnel; in ipip6_rcv()
731 struct ip_tunnel *tunnel; in ipip_rcv()
759 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
793 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
809 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit()
1003 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit()
1045 struct ip_tunnel *tunnel; in ipip6_tunnel_bind_dev()
1081 static void ipip6_tunnel_update(struct ip_tunnel *t, struct ip_tunnel_parm *p) in ipip6_tunnel_update()
1104 static int ipip6_tunnel_update_6rd(struct ip_tunnel *t, in ipip6_tunnel_update_6rd()
1142 struct ip_tunnel *t = netdev_priv(dev); in ipip6_tunnel_ioctl()
1322 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_change_mtu()
1343 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_dev_free()
1358 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_setup()
1377 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_init()
1399 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_fb_tunnel_init()
1546 struct ip_tunnel *nt; in ipip6_newlink()
1581 struct ip_tunnel *t = netdev_priv(dev); in ipip6_changelink()
1666 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_fill_info()
1742 .priv_size = sizeof(struct ip_tunnel),
1779 struct ip_tunnel *t; in sit_destroy_tunnels()
1798 struct ip_tunnel *t; in sit_init_net()
1806 sitn->fb_tunnel_dev = alloc_netdev(sizeof(struct ip_tunnel), "sit0", in sit_init_net()