Lines Matching refs:local
143 static struct ip_tunnel * ipip_tunnel_lookup(u32 remote, u32 local) in ipip_tunnel_lookup() argument
146 unsigned h1 = HASH(local); in ipip_tunnel_lookup()
150 if (local == t->parms.iph.saddr && in ipip_tunnel_lookup()
159 if (local == t->parms.iph.saddr && (t->dev->flags&IFF_UP)) in ipip_tunnel_lookup()
170 u32 local = t->parms.iph.saddr; in ipip_bucket() local
178 if (local) { in ipip_bucket()
180 h ^= HASH(local); in ipip_bucket()
213 u32 local = parms->iph.saddr; in ipip_tunnel_locate() local
223 if (local) { in ipip_tunnel_locate()
225 h ^= HASH(local); in ipip_tunnel_locate()
228 if (local == t->parms.iph.saddr && remote == t->parms.iph.daddr) in ipip_tunnel_locate()