aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-03-20 22:18:52 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:18:52 -0500
commita70fcb0ba337956d91476e2e7c3e71d9df940a82 (patch)
tree500eb6a2296f4aae0581936e8832504f153f984e /net/xfrm
parentee857a7d672859cf4eb735d32bce22c8b7ad0bd2 (diff)
[XFRM]: Add some missing exports.
To fix the case of modular xfrm_user. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c1
-rw-r--r--net/xfrm/xfrm_state.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 453551ec87a1..b46079263e8b 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -621,6 +621,7 @@ int xfrm_policy_delete(struct xfrm_policy *pol, int dir)
621 } 621 }
622 return -ENOENT; 622 return -ENOENT;
623} 623}
624EXPORT_SYMBOL(xfrm_policy_delete);
624 625
625int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol) 626int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol)
626{ 627{
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 037bc8e4d667..a8e14dc1b04e 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -24,7 +24,11 @@ struct sock *xfrm_nl;
24EXPORT_SYMBOL(xfrm_nl); 24EXPORT_SYMBOL(xfrm_nl);
25 25
26u32 sysctl_xfrm_aevent_etime = XFRM_AE_ETIME; 26u32 sysctl_xfrm_aevent_etime = XFRM_AE_ETIME;
27EXPORT_SYMBOL(sysctl_xfrm_aevent_etime);
28
27u32 sysctl_xfrm_aevent_rseqth = XFRM_AE_SEQT_SIZE; 29u32 sysctl_xfrm_aevent_rseqth = XFRM_AE_SEQT_SIZE;
30EXPORT_SYMBOL(sysctl_xfrm_aevent_rseqth);
31
28/* Each xfrm_state may be linked to two tables: 32/* Each xfrm_state may be linked to two tables:
29 33
30 1. Hash table by (spi,daddr,ah/esp) to find SA by SPI. (input,ctl) 34 1. Hash table by (spi,daddr,ah/esp) to find SA by SPI. (input,ctl)
@@ -824,6 +828,7 @@ void xfrm_replay_notify(struct xfrm_state *x, int event)
824 !mod_timer(&x->rtimer, jiffies + x->replay_maxage)) 828 !mod_timer(&x->rtimer, jiffies + x->replay_maxage))
825 xfrm_state_hold(x); 829 xfrm_state_hold(x);
826} 830}
831EXPORT_SYMBOL(xfrm_replay_notify);
827 832
828static void xfrm_replay_timer_handler(unsigned long data) 833static void xfrm_replay_timer_handler(unsigned long data)
829{ 834{
@@ -976,6 +981,7 @@ void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid)
976 if (hard) 981 if (hard)
977 wake_up(&km_waitq); 982 wake_up(&km_waitq);
978} 983}
984EXPORT_SYMBOL(km_policy_expired);
979 985
980int xfrm_user_policy(struct sock *sk, int optname, u8 __user *optval, int optlen) 986int xfrm_user_policy(struct sock *sk, int optname, u8 __user *optval, int optlen)
981{ 987{