diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-03-20 22:15:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:15:11 -0500 |
commit | f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 (patch) | |
tree | 7850e8ebebf1f8543c96acdd7c197003b3b4d54c /net/core | |
parent | f5539eb8caa52a9198079df767cc1bb5494e69e3 (diff) |
[IPSEC]: Sync series - core changes
This patch provides the core functionality needed for sync events
for ipsec. Derived work of Krisztian KOVACS <hidden@balabit.hu>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/sysctl_net_core.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 2f278c8e4743..710453656721 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c | |||
@@ -26,6 +26,11 @@ extern int sysctl_core_destroy_delay; | |||
26 | extern char sysctl_divert_version[]; | 26 | extern char sysctl_divert_version[]; |
27 | #endif /* CONFIG_NET_DIVERT */ | 27 | #endif /* CONFIG_NET_DIVERT */ |
28 | 28 | ||
29 | #ifdef CONFIG_XFRM | ||
30 | extern u32 sysctl_xfrm_aevent_etime; | ||
31 | extern u32 sysctl_xfrm_aevent_rseqth; | ||
32 | #endif | ||
33 | |||
29 | ctl_table core_table[] = { | 34 | ctl_table core_table[] = { |
30 | #ifdef CONFIG_NET | 35 | #ifdef CONFIG_NET |
31 | { | 36 | { |
@@ -111,6 +116,24 @@ ctl_table core_table[] = { | |||
111 | .proc_handler = &proc_dostring | 116 | .proc_handler = &proc_dostring |
112 | }, | 117 | }, |
113 | #endif /* CONFIG_NET_DIVERT */ | 118 | #endif /* CONFIG_NET_DIVERT */ |
119 | #ifdef CONFIG_XFRM | ||
120 | { | ||
121 | .ctl_name = NET_CORE_AEVENT_ETIME, | ||
122 | .procname = "xfrm_aevent_etime", | ||
123 | .data = &sysctl_xfrm_aevent_etime, | ||
124 | .maxlen = sizeof(u32), | ||
125 | .mode = 0644, | ||
126 | .proc_handler = &proc_dointvec | ||
127 | }, | ||
128 | { | ||
129 | .ctl_name = NET_CORE_AEVENT_RSEQTH, | ||
130 | .procname = "xfrm_aevent_rseqth", | ||
131 | .data = &sysctl_xfrm_aevent_rseqth, | ||
132 | .maxlen = sizeof(u32), | ||
133 | .mode = 0644, | ||
134 | .proc_handler = &proc_dointvec | ||
135 | }, | ||
136 | #endif /* CONFIG_XFRM */ | ||
114 | #endif /* CONFIG_NET */ | 137 | #endif /* CONFIG_NET */ |
115 | { | 138 | { |
116 | .ctl_name = NET_CORE_SOMAXCONN, | 139 | .ctl_name = NET_CORE_SOMAXCONN, |