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 …]
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()
743 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_does_stcb_own_this_addr()936 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_tcb_special_locate()982 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) { in sctp_tcb_special_locate()1177 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_findassociation_ep_addr()1178 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_findassociation_ep_addr()1204 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findassociation_ep_addr()1308 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findassociation_ep_addr()1434 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_findasoc_ep_asocid_locked()1523 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_endpoint_probe()1527 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) && in sctp_endpoint_probe()[all …]
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()432 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_sysctl_handle_assoclist()438 xinpcb.flags = inp->sctp_flags; in sctp_sysctl_handle_assoclist()448 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { in sctp_sysctl_handle_assoclist()
479 #define SCTP_IS_LISTENING(inp) ((inp->sctp_flags & SCTP_PCB_FLAGS_ACCEPTING) != 0)
384 uint32_t sctp_flags; /* INP state flag set */ member
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()
2068 pd->sctp_flags |= PFDESC_SCTP_INIT; in pf_scan_sctp()2070 pd->sctp_flags |= PFDESC_SCTP_INIT_ACK; in pf_scan_sctp()2080 pd->sctp_flags |= PFDESC_SCTP_ABORT; in pf_scan_sctp()2084 pd->sctp_flags |= PFDESC_SCTP_SHUTDOWN; in pf_scan_sctp()2087 pd->sctp_flags |= PFDESC_SCTP_SHUTDOWN_COMPLETE; in pf_scan_sctp()2090 pd->sctp_flags |= PFDESC_SCTP_COOKIE; in pf_scan_sctp()2093 pd->sctp_flags |= PFDESC_SCTP_COOKIE_ACK; in pf_scan_sctp()2096 pd->sctp_flags |= PFDESC_SCTP_DATA; in pf_scan_sctp()2099 pd->sctp_flags |= PFDESC_SCTP_HEARTBEAT; in pf_scan_sctp()2102 pd->sctp_flags |= PFDESC_SCTP_HEARTBEAT_ACK; in pf_scan_sctp()[all …]
6792 if (! (pd->sctp_flags & (PFDESC_SCTP_INIT | PFDESC_SCTP_ADD_IP))) in pf_create_state()7918 pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state()7929 if (pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state()7935 if (pd->sctp_flags & PFDESC_SCTP_INIT_ACK) { in pf_test_state()7950 if (pd->sctp_flags & (PFDESC_SCTP_COOKIE | PFDESC_SCTP_HEARTBEAT_ACK)) { in pf_test_state()7956 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN | in pf_test_state()7963 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN_COMPLETE | PFDESC_SCTP_ABORT)) { in pf_test_state()8201 MPASS(! (pd->sctp_flags & PFDESC_SCTP_ADD_IP)); in pf_sctp_multihome_delayed()8224 j->pd.sctp_flags |= PFDESC_SCTP_ADD_IP; in pf_sctp_multihome_delayed()
463 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUND_V6; /* I'm v6! */ in sctp6_attach()621 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) && in sctp6_send()795 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == in sctp6_connect()807 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp6_connect()808 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp6_connect()843 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp6_connect()909 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp6_getaddr()911 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp6_getaddr()999 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) == 0)) { in sctp6_peeraddr()
2009 u_int16_t sctp_flags; member