#define pr_fmt(fmt) …
#include <net/sctp/structs.h>
#include <net/sctp/sctp.h>
#include <linux/sysctl.h>
static int timer_max = …;
static int sack_timer_min = …;
static int sack_timer_max = …;
static int addr_scope_max = …;
static int rwnd_scale_max = …;
static int rto_alpha_min = …;
static int rto_beta_min = …;
static int rto_alpha_max = …;
static int rto_beta_max = …;
static int pf_expose_max = …;
static int ps_retrans_max = …;
static int udp_port_max = …;
static unsigned long max_autoclose_min = …;
static unsigned long max_autoclose_max = …;
static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos);
static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos);
static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, void *buffer,
size_t *lenp, loff_t *ppos);
static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, void *buffer,
size_t *lenp, loff_t *ppos);
static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos);
static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos);
static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos);
static struct ctl_table sctp_table[] = …;
#define SCTP_RTO_MIN_IDX …
#define SCTP_RTO_MAX_IDX …
#define SCTP_PF_RETRANS_IDX …
#define SCTP_PS_RETRANS_IDX …
static struct ctl_table sctp_net_table[] = …;
static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
int sctp_sysctl_net_register(struct net *net)
{ … }
void sctp_sysctl_net_unregister(struct net *net)
{ … }
static struct ctl_table_header *sctp_sysctl_header;
void sctp_sysctl_register(void)
{ … }
void sctp_sysctl_unregister(void)
{ … }