Lines Matching refs:sctp_sstate
241 if (!sctp_sstate(sk, ESTABLISHED) && !sctp_sstate(sk, CLOSING)) in sctp_id2assoc()
1177 if (sctp_sstate(sk, ESTABLISHED) || sctp_sstate(sk, CLOSING) || in __sctp_connect()
1178 (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING))) in __sctp_connect()
1601 if (sctp_sstate(sk, LISTENING) && sctp_style(sk, TCP)) in sctp_sendmsg_parse()
1672 if (sctp_style(sk, TCP) && (sctp_sstate(sk, ESTABLISHED) || in sctp_sendmsg_new_asoc()
1673 sctp_sstate(sk, CLOSING))) in sctp_sendmsg_new_asoc()
2099 if (sctp_style(sk, TCP) && !sctp_sstate(sk, ESTABLISHED) && in sctp_recvmsg()
2100 !sctp_sstate(sk, CLOSING) && !sctp_sstate(sk, CLOSED)) { in sctp_recvmsg()
4855 if (!sctp_sstate(sk, LISTENING)) { in sctp_accept()
4903 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_ioctl()
8561 if (!sctp_sstate(sk, LISTENING) && !sctp_sstate(sk, CLOSED)) in sctp_inet_listen()
8566 if (sctp_sstate(sk, CLOSED)) in sctp_inet_listen()
8578 if (sctp_sstate(sk, LISTENING)) in sctp_inet_listen()
8618 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_poll()
8638 if (!sctp_style(sk, UDP) && sctp_sstate(sk, CLOSED)) in sctp_poll()
8945 if (list_empty(&sctp_sk(sk)->ep->asocs) && !sctp_sstate(sk, LISTENING)) in sctp_wait_for_packet()
9361 if (!sctp_sstate(sk, LISTENING)) in sctp_wait_for_accept()