Lines Matching defs:hash
842 u_long hash;
866 hash = MFCHASH(mfccp->mfcc_origin.s_addr, mfccp->mfcc_mcastgrp.s_addr);
867 for (rt = mfctable[hash], nstl = 0; rt; rt = rt->mfc_next) {
898 nexpire[hash]--;
922 hash, (u_long)ntohl(mfccp->mfcc_origin.s_addr),
926 for (rt = mfctable[hash]; rt != NULL; rt = rt->mfc_next) {
942 nexpire[hash]--;
953 /* insert new entry at head of hash chain */
968 rt->mfc_next = mfctable[hash];
969 mfctable[hash] = rt;
1011 u_long hash;
1015 hash = MFCHASH(origin.s_addr, mcastgrp.s_addr);
1021 nptr = &mfctable[hash];
1156 u_long hash;
1188 hash = MFCHASH(ip->ip_src.s_addr, ip->ip_dst.s_addr);
1189 for (rt = mfctable[hash]; rt; rt = rt->mfc_next) {
1237 /* insert new entry at head of hash chain */
1241 nexpire[hash]++;
1247 rt->mfc_next = mfctable[hash];
1248 mfctable[hash] = rt;