taglinefilesource code
logmask174net/ipv4/route.cstatic __inline__ __u32 rt_mask(int logmask)
logmask176net/ipv4/route.cif (logmask >= 32)
logmask178net/ipv4/route.creturn htonl(~((1<<logmask)-1));
logmask181net/ipv4/route.cstatic __inline__ unsigned fz_hash_code(__u32 dst, int logmask)
logmask183net/ipv4/route.creturn ip_rt_hash_code(ntohl(dst)>>logmask);
logmask526net/ipv4/route.cint logmask;
logmask592net/ipv4/route.clogmask = rt_logmask(mask);
logmask593net/ipv4/route.cfz = fib_zones[logmask];
logmask606net/ipv4/route.cfz->fz_logmask = logmask;
logmask608net/ipv4/route.cfor (i=logmask-1; i>=0; i--)
logmask622net/ipv4/route.cfib_zones[logmask] = fz;
logmask630net/ipv4/route.cif (fz->fz_nent >= RTZ_HASHING_LIMIT && !fz->fz_hash_table && logmask<32)
logmask634net/ipv4/route.cprintk("fib_add_1: hashing for zone %d started\n", logmask);
logmask646net/ipv4/route.cunsigned hash = fz_hash_code(f1->fib_dst, logmask);
logmask659net/ipv4/route.cfp = &fz->fz_hash_table[fz_hash_code(dst, logmask)];