use hash for TCP