summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_hash.h
Commit message (Collapse)AuthorAgeFilesLines
* [XFRM] STATE: Use destination address for src hash.Masahide NAKAMURA2006-10-041-3/+4
| | | | | | | | | | | | Src hash is introduced for Mobile IPv6 route optimization usage. On current kenrel code it is calculated with source address only. It results we uses the same hash value for outbound state (when the node has only one address for Mobile IPv6). This patch use also destination address as peer information for src hash to be dispersed. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* [XFRM]: xfrm_spi_hash() annotationsAl Viro2006-09-281-2/+2
| | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* [XFRM]: Extract common hashing code into xfrm_hash.[ch]David S. Miller2006-09-221-0/+128
Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud