aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_hash.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-10-04[XFRM] STATE: Use destination address for src hash.Masahide NAKAMURA1-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>
2006-09-28[XFRM]: xfrm_spi_hash() annotationsAl Viro1-2/+2
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22[XFRM]: Extract common hashing code into xfrm_hash.[ch]David S. Miller1-0/+128
Signed-off-by: David S. Miller <davem@davemloft.net>