toeplitz: Hash function renaming
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 21 Mar 2009 04:19:27 +0000 (12:19 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 21 Mar 2009 04:19:27 +0000 (12:19 +0800)
commitb73d4152a14e6ef0be4bc94bd35ec819cee6bb1b
tree41bf54bf6bfd59e703b634a9d0da8016607726be
parent5d8c0649dc1f57be1693838f6686dc4109e07730
toeplitz: Hash function renaming

toeplitz_hash     -> toeplitz_rawhash_addr
toeplitz_hash_tcp -> toeplitz_rawhash_addrport

Add toeplitz_hash() which mask the raw Toeplitz hash value with
ncpus2_mask.  This function will be used by device drivers too.
sys/net/toeplitz.c
sys/net/toeplitz2.h
sys/netinet/ip_demux.c