Lines Matching refs:sctp_sstate
220 if (!sctp_sstate(sk, ESTABLISHED)) in sctp_id2assoc()
1082 if (sctp_sstate(sk, ESTABLISHED) || in __sctp_connect()
1083 (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING))) { in __sctp_connect()
1627 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) { in sctp_sendmsg()
1713 sctp_sstate(sk, ESTABLISHED)) || in sctp_sendmsg()
2071 if (sctp_style(sk, TCP) && !sctp_sstate(sk, ESTABLISHED)) { in sctp_recvmsg()
3741 if (!sctp_sstate(sk, LISTENING)) { in sctp_accept()
3785 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_ioctl()
5953 if (sctp_sstate(sk, CLOSED)) in sctp_inet_listen()
5965 if (sctp_sstate(sk, LISTENING)) in sctp_inet_listen()
6003 if (sctp_style(sk, TCP) && sctp_sstate(sk, LISTENING)) in sctp_poll()
6022 if (!sctp_style(sk, UDP) && sctp_sstate(sk, CLOSED)) in sctp_poll()
6258 if (list_empty(&sctp_sk(sk)->ep->asocs) && !sctp_sstate(sk, LISTENING)) in sctp_wait_for_packet()
6655 if (!sctp_sstate(sk, LISTENING)) in sctp_wait_for_accept()