]> git.baikalelectronics.ru Git - kernel.git/commit
[IPSEC]: Document that policy direction is derived from the index.
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Oct 2005 19:15:12 +0000 (12:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2005 19:15:12 +0000 (12:15 -0700)
commitd0a75246eeb346e5434745123e743cd9faa2a630
tree37a160b0b5fcb8a079bcafec5091fd331e14d54c
parentf0aa826f552164ac70b5a594da82046d2f885b18
[IPSEC]: Document that policy direction is derived from the index.

Here is a patch that adds a helper called xfrm_policy_id2dir to
document the fact that the policy direction can be and is derived
from the index.

This is based on a patch by YOSHIFUJI Hideaki and 210313105@suda.edu.cn.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c