Lines Matching refs:i
94 int i; in BuildKeyCache() local
96 for (i = 0; i < cache_len; i++, idx++) { in BuildKeyCache()
100 cache[i] = result; in BuildKeyCache()
115 int i; in GetRSSHash() local
124 for (i = 0; i < 32; i++) { in GetRSSHash()
126 res ^= key_cache[i]; in GetRSSHash()
129 for (i = 0; i < 32; i++) { in GetRSSHash()
131 res ^= key_cache[32+i]; in GetRSSHash()
134 for (i = 0; i < 16; i++) { in GetRSSHash()
136 res ^= key_cache[64+i]; in GetRSSHash()
139 for (i = 0; i < 16; i++) { in GetRSSHash()
141 res ^= key_cache[80+i]; in GetRSSHash()
194 int i; in VerifyRSSHash() local
201 for (i = 0; i < 5; i++) { in VerifyRSSHash()
204 if (inet_aton(src[i], &addr) == 0) { in VerifyRSSHash()
210 if (inet_aton(dest[i], &addr) == 0) { in VerifyRSSHash()
216 fport = src_port[i]; in VerifyRSSHash()
217 lport = dest_port[i]; in VerifyRSSHash()
220 src[i], dest[i], src_port[i], dest_port[i], in VerifyRSSHash()
221 GetRSSHash(faddr, laddr, fport, lport), correct_hash[i]); in VerifyRSSHash()
242 int i; in CheckRSSHash() local
243 for( i = 0; i < num_queue; i++) in CheckRSSHash()
245 queue_cnt[i] = 0; in CheckRSSHash()
250 for( i =0; i < cnt; i++){ in CheckRSSHash()
289 for( i = 0; i < num_queue; i++) in CheckRSSHash()
291 printf("%ld\n", queue_cnt[i]); in CheckRSSHash()