Searched refs:sctp_flags (Results 1 – 18 of 18) sorted by relevance
117 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_pathmtu_adjustment()431 if (((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0)) { in sctp_abort()432 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_abort()479 inp->sctp_flags &= ~SCTP_PCB_FLAGS_BOUND_V6; /* I'm not v6! */ in sctp_attach()526 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) { in sctp_close()527 inp->sctp_flags |= SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_CLOSE_IP; in sctp_close()585 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) || in sctp_sendm()586 (inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE))) { in sctp_sendm()665 KASSERT(inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE || in sctp_disconnect()666 inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL, in sctp_disconnect()[all …]
728 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_does_stcb_own_this_addr()921 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_tcb_special_locate()967 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) { in sctp_tcb_special_locate()1162 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_findassociation_ep_addr()1163 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_findassociation_ep_addr()1189 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findassociation_ep_addr()1293 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findassociation_ep_addr()1419 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findasoc_ep_asocid_locked()1508 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_endpoint_probe()1512 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) && in sctp_endpoint_probe()[all …]
63 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_can_peel_off()64 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_can_peel_off()112 n_inp->sctp_flags = (SCTP_PCB_FLAGS_UDPTYPE | in sctp_do_peeloff()115 (SCTP_PCB_COPY_FLAGS & inp->sctp_flags)); in sctp_do_peeloff()
245 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \246 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \256 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \257 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
99 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()520 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) in sctp_wakeup_log()522 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEOUTPUT) in sctp_wakeup_log()524 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_WAKEINPUT) in sctp_wakeup_log()1235 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_init_asoc()1485 ((it->inp->sctp_flags & it->pcb_flags) != it->pcb_flags)) || in sctp_iterator_work()3247 if (((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_notify_assoc_change()3248 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_notify_assoc_change()3271 if (((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_notify_assoc_change()3272 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_notify_assoc_change()[all …]
969 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \978 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \988 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \997 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
1355 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_asconf_queue_add()1890 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0 || in sctp_addr_mgmt_assoc()1925 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) in sctp_addr_mgmt_assoc()1973 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_addr_mgmt_assoc()2035 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) { in sctp_asconf_iterator_ep()2046 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_ep()2125 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) { in sctp_asconf_iterator_stcb()2160 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_stcb()2177 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_stcb()2221 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) { in sctp_asconf_iterator_stcb()[all …]
125 ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_handle_init()126 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_handle_init()987 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_handle_shutdown_ack()988 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_handle_shutdown_ack()1495 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_process_cookie_existing()1496 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_process_cookie_existing()1689 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_process_cookie_existing()1690 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_process_cookie_existing()2164 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_process_cookie_new()2165 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) && in sctp_process_cookie_new()[all …]
148 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_sysctl_number_of_addresses()226 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_sysctl_copy_out_local_addresses()253 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_sysctl_copy_out_local_addresses()428 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_sysctl_handle_assoclist()434 xinpcb.flags = inp->sctp_flags; in sctp_sysctl_handle_assoclist()444 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { in sctp_sysctl_handle_assoclist()
384 uint32_t sctp_flags; /* INP state flag set */ member
479 #define SCTP_IS_LISTENING(inp) ((inp->sctp_flags & SCTP_PCB_FLAGS_ACCEPTING) != 0)
2040 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_add_addresses_to_i_ia()3424 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_source_address_selection()5638 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_send_initiate_ack()6295 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_get_frag_point()6859 ca->inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall_completes()6943 if ((inp->sctp_flags & SCTP_PCB_FLAGS_SND_ITERATOR_UP) != 0) { in sctp_sendall()6949 inp->sctp_flags |= SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()6964 inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()6979 inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()7322 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_move_to_outqueue()[all …]
893 uint32_t sctp_flags; member
1286 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_CANT_READ) { in sctp_add_chk_to_control()1793 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_process_a_data_chunk()1794 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_process_a_data_chunk()
2041 pd->sctp_flags |= PFDESC_SCTP_INIT; in pf_scan_sctp()2043 pd->sctp_flags |= PFDESC_SCTP_INIT_ACK; in pf_scan_sctp()2053 pd->sctp_flags |= PFDESC_SCTP_ABORT; in pf_scan_sctp()2057 pd->sctp_flags |= PFDESC_SCTP_SHUTDOWN; in pf_scan_sctp()2060 pd->sctp_flags |= PFDESC_SCTP_SHUTDOWN_COMPLETE; in pf_scan_sctp()2063 pd->sctp_flags |= PFDESC_SCTP_COOKIE; in pf_scan_sctp()2066 pd->sctp_flags |= PFDESC_SCTP_COOKIE_ACK; in pf_scan_sctp()2069 pd->sctp_flags |= PFDESC_SCTP_DATA; in pf_scan_sctp()2072 pd->sctp_flags |= PFDESC_SCTP_HEARTBEAT; in pf_scan_sctp()2075 pd->sctp_flags |= PFDESC_SCTP_HEARTBEAT_ACK; in pf_scan_sctp()[all …]
6197 if (! (pd->sctp_flags & (PFDESC_SCTP_INIT | PFDESC_SCTP_ADD_IP))) in pf_create_state()7017 pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state()7028 if (pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state()7034 if (pd->sctp_flags & PFDESC_SCTP_INIT_ACK) { in pf_test_state()7049 if (pd->sctp_flags & (PFDESC_SCTP_COOKIE | PFDESC_SCTP_HEARTBEAT_ACK)) { in pf_test_state()7055 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN | in pf_test_state()7062 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN_COMPLETE | PFDESC_SCTP_ABORT)) { in pf_test_state()7289 MPASS(! (pd->sctp_flags & PFDESC_SCTP_ADD_IP)); in pf_sctp_multihome_delayed()7312 j->pd.sctp_flags |= PFDESC_SCTP_ADD_IP; in pf_sctp_multihome_delayed()
459 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUND_V6; /* I'm v6! */ in sctp6_attach()617 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) && in sctp6_send()791 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == in sctp6_connect()803 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp6_connect()804 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp6_connect()839 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp6_connect()905 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp6_getaddr()907 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp6_getaddr()995 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) == 0)) { in sctp6_peeraddr()
1682 u_int16_t sctp_flags; member