MCPcopy Create free account
hub / github.com/F-Stack/f-stack / m_ether_tcpip_hash_init

Function m_ether_tcpip_hash_init

freebsd/kern/uipc_mbufhash.c:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59uint32_t
60m_ether_tcpip_hash_init(void)
61{
62 uint32_t seed;
63
64 seed = arc4random();
65 return (fnv_32_buf(&seed, sizeof(seed), FNV1_32_INIT));
66}
67
68uint32_t
69m_infiniband_tcpip_hash_init(void)

Callers 2

lacp_attachFunction · 0.85
lagg_lb_attachFunction · 0.85

Calls 2

fnv_32_bufFunction · 0.85
arc4randomFunction · 0.50

Tested by

no test coverage detected