Lines Matching defs:hash
832 u_int32_t hash;
856 hash = MFCHASH(mfccp->mfcc_origin.s_addr, mfccp->mfcc_mcastgrp.s_addr);
857 for (rt = mfctable[hash], nstl = 0; rt; rt = rt->mfc_next) {
888 nexpire[hash]--;
912 hash, (u_int32_t)ntohl(mfccp->mfcc_origin.s_addr),
916 for (rt = mfctable[hash]; rt != NULL; rt = rt->mfc_next) {
932 nexpire[hash]--;
943 /* insert new entry at head of hash chain */
958 rt->mfc_next = mfctable[hash];
959 mfctable[hash] = rt;
1001 u_int32_t hash;
1005 hash = MFCHASH(origin.s_addr, mcastgrp.s_addr);
1011 nptr = &mfctable[hash];
1151 u_int32_t hash;
1183 hash = MFCHASH(ip->ip_src.s_addr, ip->ip_dst.s_addr);
1184 for (rt = mfctable[hash]; rt; rt = rt->mfc_next) {
1232 /* insert new entry at head of hash chain */
1236 nexpire[hash]++;
1242 rt->mfc_next = mfctable[hash];
1243 mfctable[hash] = rt;