Lines Matching refs:sctp_style

235 	if (!sctp_style(sk, UDP)) {  in sctp_id2assoc()
1177 (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING))) in __sctp_connect()
1504 if (sctp_style(sk, TCP)) { in sctp_close()
1529 if (sctp_style(sk, TCP) && timeout) in sctp_close()
1600 if (sctp_sstate(sk, LISTENING) && sctp_style(sk, TCP)) in sctp_sendmsg_parse()
1641 if (sctp_style(sk, TCP) && (sflags & (SCTP_EOF | SCTP_ABORT))) in sctp_sendmsg_parse()
1671 if (sctp_style(sk, TCP) && (sctp_sstate(sk, ESTABLISHED) || in sctp_sendmsg_new_asoc()
1756 if (sctp_state(asoc, CLOSED) && sctp_style(sk, TCP)) in sctp_sendmsg_check_sflags()
1759 if ((sflags & SCTP_SENDALL) && sctp_style(sk, UDP) && in sctp_sendmsg_check_sflags()
1897 if (!sctp_style(sk, UDP_HIGH_BANDWIDTH) && msg->msg_name) { in sctp_sendmsg_get_daddr()
1969 if ((sflags & SCTP_SENDALL) && sctp_style(sk, UDP)) { in sctp_sendmsg()
2009 if (!sctp_style(sk, TCP) && !(sflags & SCTP_ADDR_OVER)) in sctp_sendmsg()
2102 if (sctp_style(sk, TCP) && !sctp_sstate(sk, ESTABLISHED) && in sctp_recvmsg()
2266 if (sctp_style(sk, TCP)) in sctp_setsockopt_autoclose()
2653 sctp_style(sk, UDP)) in sctp_setsockopt_peer_addr_params()
2783 sctp_style(sk, UDP)) in __sctp_setsockopt_delayed_ack()
2792 if (sctp_style(sk, TCP)) in __sctp_setsockopt_delayed_ack()
2908 sctp_style(sk, UDP)) in sctp_setsockopt_default_send_param()
2921 if (sctp_style(sk, TCP)) in sctp_setsockopt_default_send_param()
2966 sctp_style(sk, UDP)) in sctp_setsockopt_default_sndinfo()
2978 if (sctp_style(sk, TCP)) in sctp_setsockopt_default_sndinfo()
3082 sctp_style(sk, UDP)) in sctp_setsockopt_rtoinfo()
3144 sctp_style(sk, UDP)) in sctp_setsockopt_associnfo()
3267 sctp_style(sk, UDP)) in sctp_setsockopt_maxseg()
3400 sctp_style(sk, UDP)) in sctp_setsockopt_context()
3409 if (sctp_style(sk, TCP)) in sctp_setsockopt_context()
3531 if (!asoc && assoc_id > SCTP_ALL_ASSOC && sctp_style(sk, UDP)) in sctp_setsockopt_maxburst()
3540 if (sctp_style(sk, TCP)) in sctp_setsockopt_maxburst()
3639 sctp_style(sk, UDP)) in sctp_setsockopt_auth_key()
3647 if (sctp_style(sk, TCP)) in sctp_setsockopt_auth_key()
3693 sctp_style(sk, UDP)) in sctp_setsockopt_active_key()
3699 if (sctp_style(sk, TCP)) in sctp_setsockopt_active_key()
3741 sctp_style(sk, UDP)) in sctp_setsockopt_del_key()
3747 if (sctp_style(sk, TCP)) in sctp_setsockopt_del_key()
3789 sctp_style(sk, UDP)) in sctp_setsockopt_deactivate_key()
3795 if (sctp_style(sk, TCP)) in sctp_setsockopt_deactivate_key()
3897 sctp_style(sk, UDP)) in sctp_setsockopt_paddr_thresholds()
3961 sctp_style(sk, UDP)) in sctp_setsockopt_pr_supported()
3988 sctp_style(sk, UDP)) in sctp_setsockopt_default_prinfo()
3999 if (sctp_style(sk, TCP)) in sctp_setsockopt_default_prinfo()
4033 sctp_style(sk, UDP)) in sctp_setsockopt_reconfig_supported()
4060 sctp_style(sk, UDP)) in sctp_setsockopt_enable_strreset()
4070 if (sctp_style(sk, TCP)) in sctp_setsockopt_enable_strreset()
4156 sctp_style(sk, UDP)) in sctp_setsockopt_scheduler()
4162 if (sctp_style(sk, TCP)) in sctp_setsockopt_scheduler()
4195 sctp_style(sk, UDP)) in sctp_setsockopt_scheduler_value()
4229 if (!asoc && p->assoc_id != SCTP_FUTURE_ASSOC && sctp_style(sk, UDP)) in sctp_setsockopt_interleaving_supported()
4243 if (!sctp_style(sk, TCP)) in sctp_setsockopt_reuse_port()
4294 sctp_style(sk, UDP)) in sctp_setsockopt_event()
4300 if (sctp_style(sk, TCP)) in sctp_setsockopt_event()
4334 sctp_style(sk, UDP)) in sctp_setsockopt_asconf_supported()
4364 sctp_style(sk, UDP)) in sctp_setsockopt_auth_supported()
4397 sctp_style(sk, UDP)) in sctp_setsockopt_ecn_supported()
4422 sctp_style(sk, UDP)) in sctp_setsockopt_pf_expose()
4466 sctp_style(sk, UDP)) in sctp_setsockopt_encap_port()
4520 sctp_style(sk, UDP)) in sctp_setsockopt_probe_interval()
4853 if (!sctp_style(sk, TCP)) { in sctp_accept()
4906 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_ioctl()
5140 if (!sctp_style(sk, TCP)) in sctp_shutdown()
5600 if (sctp_style(sk, TCP)) in sctp_getsockopt_autoclose()
5630 if (!sctp_style(sk, UDP)) in sctp_do_peeloff()
5937 sctp_style(sk, UDP)) { in sctp_getsockopt_peer_addr_params()
6072 sctp_style(sk, UDP)) in sctp_getsockopt_delayed_ack()
6432 sctp_style(sk, UDP)) in sctp_getsockopt_default_send_param()
6478 sctp_style(sk, UDP)) in sctp_getsockopt_default_sndinfo()
6557 sctp_style(sk, UDP)) in sctp_getsockopt_rtoinfo()
6615 sctp_style(sk, UDP)) in sctp_getsockopt_associnfo()
6702 sctp_style(sk, UDP)) in sctp_getsockopt_context()
6765 sctp_style(sk, UDP)) in sctp_getsockopt_maxseg()
6860 sctp_style(sk, UDP)) in sctp_getsockopt_maxburst()
6928 if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_active_key()
7013 sctp_style(sk, UDP)) in sctp_getsockopt_local_auth_chunks()
7056 if (sctp_style(sk, TCP)) in sctp_getsockopt_assoc_number()
7113 if (sctp_style(sk, TCP)) in sctp_getsockopt_assoc_ids()
7185 sctp_style(sk, UDP)) in sctp_getsockopt_paddr_thresholds()
7330 sctp_style(sk, UDP)) { in sctp_getsockopt_pr_supported()
7369 sctp_style(sk, UDP)) { in sctp_getsockopt_default_prinfo()
7538 sctp_style(sk, UDP)) { in sctp_getsockopt_reconfig_supported()
7577 sctp_style(sk, UDP)) { in sctp_getsockopt_enable_strreset()
7616 sctp_style(sk, UDP)) { in sctp_getsockopt_scheduler()
7697 sctp_style(sk, UDP)) { in sctp_getsockopt_interleaving_supported()
7757 sctp_style(sk, UDP)) in sctp_getsockopt_event()
7791 sctp_style(sk, UDP)) { in sctp_getsockopt_asconf_supported()
7830 sctp_style(sk, UDP)) { in sctp_getsockopt_auth_supported()
7869 sctp_style(sk, UDP)) { in sctp_getsockopt_ecn_supported()
7908 sctp_style(sk, UDP)) { in sctp_getsockopt_pf_expose()
7964 sctp_style(sk, UDP)) { in sctp_getsockopt_encap_port()
8024 sctp_style(sk, UDP)) { in sctp_getsockopt_probe_interval()
8563 if (sctp_style(sk, UDP_HIGH_BANDWIDTH)) in sctp_inet_listen()
8626 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_poll()
8646 if (!sctp_style(sk, UDP) && sctp_sstate(sk, CLOSED)) in sctp_poll()
9623 if (sctp_state(assoc, CLOSED) && sctp_style(newsk, TCP)) { in sctp_sock_migrate()