Lines Matching refs:sctp_style

253 	if (!sctp_style(sk, UDP)) {  in sctp_id2assoc()
1115 (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING))) { in __sctp_connect()
1539 if (sctp_style(sk, TCP)) { in sctp_close()
1564 if (sctp_style(sk, TCP) && timeout) in sctp_close()
1635 if (sctp_sstate(sk, LISTENING) && sctp_style(sk, TCP)) in sctp_sendmsg_parse()
1676 if (sctp_style(sk, TCP) && (sflags & (SCTP_EOF | SCTP_ABORT))) in sctp_sendmsg_parse()
1708 if (sctp_style(sk, TCP) && (sctp_sstate(sk, ESTABLISHED) || in sctp_sendmsg_new_asoc()
1864 if (sctp_state(asoc, CLOSED) && sctp_style(sk, TCP)) in sctp_sendmsg_check_sflags()
1867 if ((sflags & SCTP_SENDALL) && sctp_style(sk, UDP) && in sctp_sendmsg_check_sflags()
2001 if (!sctp_style(sk, UDP_HIGH_BANDWIDTH) && msg->msg_name) { in sctp_sendmsg_get_daddr()
2073 if ((sflags & SCTP_SENDALL) && sctp_style(sk, UDP)) { in sctp_sendmsg()
2113 if (!sctp_style(sk, TCP) && !(sflags & SCTP_ADDR_OVER)) in sctp_sendmsg()
2206 if (sctp_style(sk, TCP) && !sctp_sstate(sk, ESTABLISHED) && in sctp_recvmsg()
2372 if (sctp_style(sk, TCP)) in sctp_setsockopt_autoclose()
2765 if (!asoc && params.spp_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_peer_addr_params()
2882 if (!asoc && params.sack_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_delayed_ack()
3007 if (!asoc && info.sinfo_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_default_send_param()
3047 if (!asoc && info.snd_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_default_sndinfo()
3154 if (!asoc && rtoinfo.srto_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_rtoinfo()
3216 if (!asoc && assocparams.sasoc_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_associnfo()
3357 if (params.assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_maxseg()
3736 if (!asoc && authkey->sca_assoc_id && sctp_style(sk, UDP)) { in sctp_setsockopt_auth_key()
3770 if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_active_key()
3798 if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_del_key()
3826 if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) in sctp_setsockopt_deactivate_key()
4281 if (!sctp_style(sk, TCP)) in sctp_setsockopt_reuse_port()
4597 if (!sctp_style(sk, TCP)) { in sctp_accept()
4646 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_ioctl()
4886 if (!sctp_style(sk, TCP)) in sctp_shutdown()
5313 if (sctp_style(sk, TCP)) in sctp_getsockopt_autoclose()
5343 if (!sctp_style(sk, UDP)) in sctp_do_peeloff()
5644 if (!asoc && params.spp_assoc_id && sctp_style(sk, UDP)) { in sctp_getsockopt_peer_addr_params()
5778 if (!asoc && params.sack_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_delayed_ack()
6138 if (!asoc && info.sinfo_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_default_send_param()
6182 if (!asoc && info.snd_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_default_sndinfo()
6259 if (!asoc && rtoinfo.srto_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_rtoinfo()
6316 if (!asoc && assocparams.sasoc_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_associnfo()
6469 if (!asoc && params.assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_maxseg()
6639 if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_active_key()
6722 if (!asoc && val.gauth_assoc_id && sctp_style(sk, UDP)) in sctp_getsockopt_local_auth_chunks()
6761 if (sctp_style(sk, TCP)) in sctp_getsockopt_assoc_number()
6818 if (sctp_style(sk, TCP)) in sctp_getsockopt_assoc_ids()
7901 if (sctp_style(sk, UDP_HIGH_BANDWIDTH)) in sctp_inet_listen()
7964 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_poll()
7984 if (!sctp_style(sk, UDP) && sctp_sstate(sk, CLOSED)) in sctp_poll()
8959 if (sctp_state(assoc, CLOSED) && sctp_style(newsk, TCP)) { in sctp_sock_migrate()