Changeset View
Changeset View
Standalone View
Standalone View
sys/net/toeplitz.c
- This file was moved from sys/netinet/toeplitz.c.
Show All 23 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD: head/sys/netinet/toeplitz.c 263198 2014-03-15 00:57:50Z rwatson $"); | __FBSDID("$FreeBSD: head/sys/netinet/toeplitz.c 263198 2014-03-15 00:57:50Z rwatson $"); | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <netinet/in_rss.h> | #include <net/rss_config.h> | ||||
#include <netinet/toeplitz.h> | #include <net/toeplitz.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
uint32_t | uint32_t | ||||
toeplitz_hash(u_int keylen, const uint8_t *key, u_int datalen, | toeplitz_hash(u_int keylen, const uint8_t *key, u_int datalen, | ||||
const uint8_t *data) | const uint8_t *data) | ||||
{ | { | ||||
uint32_t hash = 0, v; | uint32_t hash = 0, v; | ||||
Show All 17 Lines |