Lines Matching defs:hash
22 #include <net/netns/hash.h>
801 unsigned int hash, mix = net_hash_mix(net);
804 hash = jhash_1word(0, mix);
806 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix);
808 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix);
810 return hash ^ port;
963 u32 hash;
976 hash = skb_get_hash_flowi6(skb, fl6);
978 /* Since this is being sent on the wire obfuscate hash a bit
982 hash = rol32(hash, 16);
984 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK;