00001 #ifndef _FLOW_HASH_H 00002 #define _FLOW_HASH_H 00003 00004 #include "sfhashfcn.h" 00005 #include "flow.h" 00006 00007 /** 00008 * @file flow_hash.h 00009 * @author Chris Green <cmg@sourcefire.com> 00010 * @date Thu Jun 19 11:42:49 2003 00011 * 00012 * @brief hash function for FLOW keys 00013 * 00014 * We can save a bit of work in the hash stage by having a hash 00015 * function that understands FLOWS better than hash(sizeof(FLOWKEY)) 00016 */ 00017 00018 unsigned flowkey_hashfcn1( SFHASHFCN * p, unsigned char * d, int n); 00019 unsigned flowkey_hashfcn2( SFHASHFCN * p, unsigned char * d, int n); 00020 00021 #endif /* _FLOW_HASH_H */