[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)
commit77d8d7a6848c81084f413e1ec4982123a56e2ccb
tree37a160b0b5fcb8a079bcafec5091fd331e14d54c
parent140e26fcd559f6988e5a9056385eecade19d9b49
[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