Searched refs:sctp_state (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/net/sctp/ |
D | sm_sideeffect.c | 813 if (sctp_state(asoc, ESTABLISHED) && sctp_sstate(sk, CLOSED)) in sctp_cmd_new_state() 817 if (sctp_state(asoc, SHUTDOWN_RECEIVED) && in sctp_cmd_new_state() 822 if (sctp_state(asoc, COOKIE_WAIT)) { in sctp_cmd_new_state() 832 if (sctp_state(asoc, ESTABLISHED) || in sctp_cmd_new_state() 833 sctp_state(asoc, CLOSED) || in sctp_cmd_new_state() 834 sctp_state(asoc, SHUTDOWN_RECEIVED)) { in sctp_cmd_new_state()
|
D | output.c | 582 if (sctp_state(asoc, ESTABLISHED) && in sctp_packet_transmit() 702 if (!sctp_state(asoc, ESTABLISHED)) in sctp_packet_can_append_data()
|
D | socket.c | 533 if (!sctp_state(asoc, ESTABLISHED)) in sctp_send_asconf_add_ip() 738 if (!sctp_state(asoc, ESTABLISHED)) in sctp_send_asconf_del_ip() 1506 if (sctp_state(asoc, CLOSED)) { in sctp_close() 1737 if (sctp_state(asoc, CLOSED) && sctp_style(sk, TCP)) { in sctp_sendmsg() 1939 if (sctp_state(asoc, CLOSED)) { in sctp_sendmsg() 3160 if (!sctp_state(asoc, ESTABLISHED)) in sctp_setsockopt_peer_primary_addr() 7057 if (sctp_state(asoc, ESTABLISHED)) in sctp_wait_for_connect() 7352 if (sctp_state(assoc, CLOSED) && sctp_style(newsk, TCP)) in sctp_sock_migrate()
|
D | sm_statefuns.c | 1493 if (!sctp_state(asoc, COOKIE_WAIT)) { in sctp_sf_do_unexpected_init() 1734 if (sctp_state(asoc, SHUTDOWN_ACK_SENT)) { in sctp_sf_do_dupcook_a() 1781 if (sctp_state(asoc, SHUTDOWN_PENDING) && in sctp_sf_do_dupcook_a()
|
/linux-4.4.14/include/net/sctp/ |
D | sctp.h | 552 #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) macro
|