Lines Matching defs:ctl

46 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
48 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
50 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, void *buffer,
52 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, void *buffer,
54 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
56 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
58 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
387 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
390 struct net *net = container_of(ctl->data, struct net,
422 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
425 struct net *net = container_of(ctl->data, struct net, sctp.rto_min);
426 unsigned int min = *(unsigned int *) ctl->extra1;
427 unsigned int max = *(unsigned int *) ctl->extra2;
450 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write,
453 struct net *net = container_of(ctl->data, struct net, sctp.rto_max);
454 unsigned int min = *(unsigned int *) ctl->extra1;
455 unsigned int max = *(unsigned int *) ctl->extra2;
478 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
485 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos);
488 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
491 struct net *net = container_of(ctl->data, struct net, sctp.auth_enable);
519 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write,
522 struct net *net = container_of(ctl->data, struct net, sctp.udp_port);
523 unsigned int min = *(unsigned int *)ctl->extra1;
524 unsigned int max = *(unsigned int *)ctl->extra2;
562 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
565 struct net *net = container_of(ctl->data, struct net,