Search Linux Wireless

RE: [RFC] cfg80211/mac80211: Add support for Proxy ARP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ben,

> > +#define STA_IPV4_HASH_SIZE 32
> > +#define STA_IPV4_HASH(ipv4) (((u8 *)&ipv4)[3] & 0x1F)
> 
> This should be a better hash I think.  Use an existing hash
> method or at least mix in the higher bits manually?

I assume that there is an existing IP address hash function
somewhere in the TCP/IP stack. I have a hard time finding
an externally available API that does this for me. Could you
point me to it?

Thanks!

Kyeyoon
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux