Herbert Xu aa5d62cc87 [IPSEC]: Move type and mode map into xfrm_state.c
The type and mode maps are only used by SAs, not policies.  So it makes
sense to move them from xfrm_policy.c into xfrm_state.c.  This also allows
us to mark xfrm_get_type/xfrm_put_type/xfrm_get_mode/xfrm_put_mode as
static.

The only other change I've made in the move is to get rid of the casts
on the request_module call for types.  They're unnecessary because C
will promote them to ints anyway.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-17 21:31:12 -07:00
..
2007-10-17 14:35:15 -05:00
2007-07-10 22:16:43 -07:00
2007-10-10 17:30:18 -07:00
2007-10-10 16:53:11 -07:00
2007-07-31 02:28:27 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2005-08-29 15:32:25 -07:00
2007-07-10 22:15:41 -07:00
2005-04-16 15:20:36 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:54:48 -07:00
2005-04-16 15:20:36 -07:00
2007-10-15 12:26:42 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2007-10-07 23:44:17 -07:00
2007-07-10 22:19:04 -07:00
2007-07-17 10:23:03 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:52:13 -07:00
2007-06-07 13:40:50 -07:00
2007-10-10 16:47:46 -07:00