1 #include <linux/sysctl.h>
2 #include <linux/slab.h>
10 net->xfrm.sysctl_larval_drop = 1;
11 net->xfrm.sysctl_acq_expires = 30;
18 .maxlen =
sizeof(
u32),
23 .procname =
"xfrm_aevent_rseqth",
24 .maxlen =
sizeof(
u32),
29 .procname =
"xfrm_larval_drop",
30 .maxlen =
sizeof(
int),
35 .procname =
"xfrm_acq_expires",
36 .maxlen =
sizeof(
int),
47 __xfrm_sysctl_init(net);
52 table[0].
data = &net->xfrm.sysctl_aevent_etime;
53 table[1].
data = &net->xfrm.sysctl_aevent_rseqth;
54 table[2].
data = &net->xfrm.sysctl_larval_drop;
55 table[3].
data = &net->xfrm.sysctl_acq_expires;
58 if (!net->xfrm.sysctl_hdr)
68 void __net_exit xfrm_sysctl_fini(
struct net *net)
72 table = net->xfrm.sysctl_hdr->ctl_table_arg;
79 __xfrm_sysctl_init(net);