Lines Matching refs:new_value
422 int ret, new_value; in proc_sctp_do_rto_min() local
428 tbl.data = &new_value; in proc_sctp_do_rto_min()
434 if (new_value > max || new_value < min) in proc_sctp_do_rto_min()
437 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min()
450 int ret, new_value; in proc_sctp_do_rto_max() local
456 tbl.data = &new_value; in proc_sctp_do_rto_max()
462 if (new_value > max || new_value < min) in proc_sctp_do_rto_max()
465 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()
486 int new_value, ret; in proc_sctp_do_auth() local
492 tbl.data = &new_value; in proc_sctp_do_auth()
500 net->sctp.auth_enable = new_value; in proc_sctp_do_auth()
503 sctp_sk(sk)->ep->auth_enable = new_value; in proc_sctp_do_auth()
517 int ret, new_value; in proc_sctp_do_udp_port() local
523 tbl.data = &new_value; in proc_sctp_do_udp_port()
531 if (new_value > max || new_value < min) in proc_sctp_do_udp_port()
534 net->sctp.udp_port = new_value; in proc_sctp_do_udp_port()
536 if (new_value) { in proc_sctp_do_udp_port()
556 int ret, new_value; in proc_sctp_do_probe_interval() local
562 tbl.data = &new_value; in proc_sctp_do_probe_interval()
568 if (new_value && new_value < SCTP_PROBE_TIMER_MIN) in proc_sctp_do_probe_interval()
571 net->sctp.probe_interval = new_value; in proc_sctp_do_probe_interval()