• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/package/shortcut-fe/src/

Lines Matching refs:hash

296 					/* Pointer to the next entry in a hash chain */
298 /* Pointer to the previous entry in a hash chain */
325 * IPv6 connections and hash table size information.
440 /* Connection hash table */
442 /* Connection match hash table */
458 /* Number of IPv6 connection create requests that collided with existing hash table entries */
462 /* Number of IPv6 connection destroy requests that missed our hash table */
464 /* Number of IPv6 connection match hash hits */
466 /* Number of IPv6 connection match hash reorders */
478 /* Number of IPv6 connection create requests that collided with existing hash table entries */
482 /* Number of IPv6 connection destroy requests that missed our hash table */
484 /* Number of IPv6 connection match hash hits */
486 /* Number of IPv6 connection match hash reorders */
584 * Generate the hash used in connection match lookups.
590 uint32_t idx, hash = 0;
594 hash ^= src_ip->addr[idx] ^ dest_ip->addr[idx];
596 hash = ((uint32_t)dev_addr) ^ hash ^ protocol ^ ntohs(src_port ^ dest_port);
597 return ((hash >> SFE_IPV6_CONNECTION_HASH_SHIFT) ^ hash) & SFE_IPV6_CONNECTION_HASH_MASK;
604 * On entry we must be holding the lock that protects the hash table.
644 * move that entry to the top of the hash chain when we get to it. We
829 * Insert a connection match into the hash.
831 * On entry we must be holding the lock that protects the hash table.
886 * Remove a connection match object from the hash.
888 * On entry we must be holding the lock that protects the hash table.
923 * Unlink the connection match entry from the hash.
959 * Generate the hash used in connection lookups.
964 uint32_t idx, hash = 0;
967 hash ^= src_ip->addr[idx] ^ dest_ip->addr[idx];
969 hash = hash ^ protocol ^ ntohs(src_port ^ dest_port);
970 return ((hash >> SFE_IPV6_CONNECTION_HASH_SHIFT) ^ hash) & SFE_IPV6_CONNECTION_HASH_MASK;
977 * On entry we must be holding the lock that protects the hash table.
1007 * move that entry to the top of the hash chain when we get to it. We
1029 * Will take hash lock upon entry
1052 * Insert a connection into the hash.
1054 * On entry we must be holding the lock that protects the hash table.
1063 * Insert entry into the connection hash.
1101 * Remove a sfe_ipv6_connection object from the hash.
1103 * On entry we must be holding the lock that protects the hash table.
1212 * the connection hash lock and release it again. In general we're actually called
2749 * Remove our connection details from the hash tables.