Lines Matching refs:ip_tunnel

130 static struct ip_tunnel ipip_fb_tunnel = {
135 static struct ip_tunnel *tunnels_r_l[HASH_SIZE];
136 static struct ip_tunnel *tunnels_r[HASH_SIZE];
137 static struct ip_tunnel *tunnels_l[HASH_SIZE];
138 static struct ip_tunnel *tunnels_wc[1];
139 static struct ip_tunnel **tunnels[4] = { tunnels_wc, tunnels_l, tunnels_r, tunnels_r_l };
143 static struct ip_tunnel * ipip_tunnel_lookup(u32 remote, u32 local) in ipip_tunnel_lookup()
147 struct ip_tunnel *t; in ipip_tunnel_lookup()
167 static struct ip_tunnel **ipip_bucket(struct ip_tunnel *t) in ipip_bucket()
186 static void ipip_tunnel_unlink(struct ip_tunnel *t) in ipip_tunnel_unlink()
188 struct ip_tunnel **tp; in ipip_tunnel_unlink()
200 static void ipip_tunnel_link(struct ip_tunnel *t) in ipip_tunnel_link()
202 struct ip_tunnel **tp = ipip_bucket(t); in ipip_tunnel_link()
210 struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int create) in ipip_tunnel_locate()
214 struct ip_tunnel *t, **tp, *nt; in ipip_tunnel_locate()
242 nt = (struct ip_tunnel*)dev->priv; in ipip_tunnel_locate()
288 ipip_tunnel_unlink((struct ip_tunnel*)dev->priv); in ipip_tunnel_uninit()
303 struct ip_tunnel *t; in ipip_err()
454 struct ip_tunnel *t = (struct ip_tunnel*)skb2->dev->priv; in ipip_err()
479 struct ip_tunnel *tunnel; in ipip_rcv()
525 struct ip_tunnel *tunnel = (struct ip_tunnel*)dev->priv; in ipip_tunnel_xmit()
663 struct ip_tunnel *t; in ipip_tunnel_ioctl()
678 t = (struct ip_tunnel*)dev->priv; in ipip_tunnel_ioctl()
716 t = (struct ip_tunnel*)dev->priv; in ipip_tunnel_ioctl()
771 return &(((struct ip_tunnel*)dev->priv)->stat); in ipip_tunnel_get_stats()
784 struct ip_tunnel *t = (struct ip_tunnel*)dev->priv; in ipip_tunnel_init_gen()
806 struct ip_tunnel *tunnel; in ipip_tunnel_init()
809 tunnel = (struct ip_tunnel*)dev->priv; in ipip_tunnel_init()