Lines Matching refs:sctp
364 if (net->sctp.default_auto_asconf) { in sctp_auto_asconf_init()
365 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
366 list_add_tail(&sp->auto_asconf_list, &net->sctp.auto_asconf_splist); in sctp_auto_asconf_init()
367 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
1545 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1555 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2281 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()
2282 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
3854 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
3860 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf()
3863 spin_unlock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
4241 if (!sock_net(sk)->sctp.intl_enable || !sp->frag_interleave) { in sctp_setsockopt_interleaving_supported()
4869 sp->max_burst = net->sctp.max_burst; in sctp_init_sock()
4871 sp->sctp_hmac_alg = net->sctp.sctp_hmac_alg; in sctp_init_sock()
4879 sp->initmsg.sinit_max_attempts = net->sctp.max_retrans_init; in sctp_init_sock()
4880 sp->initmsg.sinit_max_init_timeo = net->sctp.rto_max; in sctp_init_sock()
4885 sp->rtoinfo.srto_initial = net->sctp.rto_initial; in sctp_init_sock()
4886 sp->rtoinfo.srto_max = net->sctp.rto_max; in sctp_init_sock()
4887 sp->rtoinfo.srto_min = net->sctp.rto_min; in sctp_init_sock()
4892 sp->assocparams.sasoc_asocmaxrxt = net->sctp.max_retrans_association; in sctp_init_sock()
4896 sp->assocparams.sasoc_cookie_life = net->sctp.valid_cookie_life; in sctp_init_sock()
4906 sp->hbinterval = net->sctp.hb_interval; in sctp_init_sock()
4907 sp->pathmaxrxt = net->sctp.max_retrans_path; in sctp_init_sock()
4908 sp->pf_retrans = net->sctp.pf_retrans; in sctp_init_sock()
4909 sp->ps_retrans = net->sctp.ps_retrans; in sctp_init_sock()
4910 sp->pf_expose = net->sctp.pf_expose; in sctp_init_sock()
4912 sp->sackdelay = net->sctp.sack_timeout; in sctp_init_sock()
6081 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_laddrs()
9477 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
9478 .usersize = offsetof(struct sctp6_sock, sctp.initmsg) -
9479 offsetof(struct sctp6_sock, sctp.subscribe) +
9480 sizeof_field(struct sctp6_sock, sctp.initmsg),