Lines Matching refs:sctp_sstate
243 if (!sctp_sstate(sk, ESTABLISHED) && !sctp_sstate(sk, CLOSING)) in sctp_id2assoc()
1179 if (sctp_sstate(sk, ESTABLISHED) || sctp_sstate(sk, CLOSING) || in __sctp_connect()
1180 (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING))) in __sctp_connect()
1603 if (sctp_sstate(sk, LISTENING) && sctp_style(sk, TCP)) in sctp_sendmsg_parse()
1674 if (sctp_style(sk, TCP) && (sctp_sstate(sk, ESTABLISHED) || in sctp_sendmsg_new_asoc()
1675 sctp_sstate(sk, CLOSING))) in sctp_sendmsg_new_asoc()
2112 if (sctp_style(sk, TCP) && !sctp_sstate(sk, ESTABLISHED) && in sctp_recvmsg()
2113 !sctp_sstate(sk, CLOSING) && !sctp_sstate(sk, CLOSED)) { in sctp_recvmsg()
4873 if (!sctp_sstate(sk, LISTENING) || in sctp_accept()
4922 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_ioctl()
8615 if (!sctp_sstate(sk, LISTENING) && !sctp_sstate(sk, CLOSED)) in sctp_inet_listen()
8620 if (sctp_sstate(sk, CLOSED)) in sctp_inet_listen()
8632 if (sctp_sstate(sk, LISTENING)) in sctp_inet_listen()
8672 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_poll()
8692 if (!sctp_style(sk, UDP) && sctp_sstate(sk, CLOSED)) in sctp_poll()
8999 if (list_empty(&sctp_sk(sk)->ep->asocs) && !sctp_sstate(sk, LISTENING)) in sctp_wait_for_packet()
9411 if (!sctp_sstate(sk, LISTENING) || in sctp_wait_for_accept()