taglinefilesource code
logmask169net/ipv4/route.cstatic __inline__ __u32 rt_mask(int logmask)
logmask171net/ipv4/route.cif (logmask >= 32)
logmask173net/ipv4/route.creturn htonl(~((1<<logmask)-1));
logmask176net/ipv4/route.cstatic __inline__ unsigned fz_hash_code(__u32 dst, int logmask)
logmask178net/ipv4/route.creturn ip_rt_hash_code(ntohl(dst)>>logmask);
logmask521net/ipv4/route.cint logmask;
logmask586net/ipv4/route.clogmask = rt_logmask(mask);
logmask587net/ipv4/route.cfz = fib_zones[logmask];
logmask600net/ipv4/route.cfz->fz_logmask = logmask;
logmask602net/ipv4/route.cfor (i=logmask-1; i>=0; i--)
logmask616net/ipv4/route.cfib_zones[logmask] = fz;
logmask624net/ipv4/route.cif (fz->fz_nent >= RTZ_HASHING_LIMIT && !fz->fz_hash_table && logmask<32)
logmask628net/ipv4/route.cprintk("fib_add_1: hashing for zone %d started\n", logmask);
logmask640net/ipv4/route.cunsigned hash = fz_hash_code(f1->fib_dst, logmask);
logmask653net/ipv4/route.cfp = &fz->fz_hash_table[fz_hash_code(dst, logmask)];