Searched refs:assocparams (Results 1 – 2 of 2) sorted by relevance
2694 struct sctp_assocparams assocparams; in sctp_setsockopt_associnfo() local2699 if (copy_from_user(&assocparams, optval, optlen)) in sctp_setsockopt_associnfo()2702 asoc = sctp_id2assoc(sk, assocparams.sasoc_assoc_id); in sctp_setsockopt_associnfo()2704 if (!asoc && assocparams.sasoc_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_associnfo()2709 if (assocparams.sasoc_asocmaxrxt != 0) { in sctp_setsockopt_associnfo()2726 assocparams.sasoc_asocmaxrxt > path_sum) in sctp_setsockopt_associnfo()2729 asoc->max_retrans = assocparams.sasoc_asocmaxrxt; in sctp_setsockopt_associnfo()2732 if (assocparams.sasoc_cookie_life != 0) { in sctp_setsockopt_associnfo()2734 assocparams.sasoc_cookie_life / 1000; in sctp_setsockopt_associnfo()2736 (assocparams.sasoc_cookie_life % 1000) in sctp_setsockopt_associnfo()[all …]
111 asoc->cookie_life.tv_sec = sp->assocparams.sasoc_cookie_life / 1000; in sctp_association_init()112 asoc->cookie_life.tv_usec = (sp->assocparams.sasoc_cookie_life % 1000) in sctp_association_init()119 asoc->max_retrans = sp->assocparams.sasoc_asocmaxrxt; in sctp_association_init()