Home
last modified time | relevance | path

Searched refs:sctp_flags (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/sys/netinet/
H A Dsctp_usrreq.c585 (inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE))) { in sctp_sendm()
665 inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL, in sctp_disconnect()
803 if (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) { in sctp_flush()
1042 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_fill_up_addresses_vrf()
1066 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_fill_up_addresses_vrf()
1267 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_max_size_addresses_vrf()
1353 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_do_connect_x()
1414 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) { in sctp_do_connect_x()
7255 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7260 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
[all …]
H A Dsctp_peeloff.c63 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()
H A Dsctp_pcb.c1751 inp->sctp_flags &= ~SCTP_PCB_FLAGS_IN_TCPPOOL; in sctp_swap_inpcb_for_listen()
2325 inp->sctp_flags = (SCTP_PCB_FLAGS_UDPTYPE | in sctp_inpcb_alloc()
2331 inp->sctp_flags = (SCTP_PCB_FLAGS_TCPTYPE | in sctp_inpcb_alloc()
2960 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUNDALL; in sctp_inpcb_bind_locked()
3060 inp->sctp_flags &= ~SCTP_PCB_FLAGS_BOUNDALL; in sctp_inpcb_bind_locked()
3090 inp->sctp_flags &= ~SCTP_PCB_FLAGS_UNBOUND; in sctp_inpcb_bind_locked()
3218 inp->sctp_flags &= ~SCTP_PCB_FLAGS_CLOSE_IP; in sctp_inpcb_free()
3220 inp->sctp_flags |= SCTP_PCB_FLAGS_DONT_WAKE; in sctp_inpcb_free()
3382 inp->sctp_flags |= SCTP_PCB_FLAGS_UNBOUND; in sctp_inpcb_free()
4303 inp->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED; in sctp_aloc_assoc_connected()
[all …]
H A Dsctputil.h245 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))) { \
H A Dsctputil.c99 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()
1235 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_init_asoc()
3247 if (((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_notify_assoc_change()
3271 if (((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_notify_assoc_change()
5639 ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_sorecvmsg()
6268 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) in sctp_sorecvmsg()
6786 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_bindx_add_address()
6833 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_bindx_add_address()
6850 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) { in sctp_bindx_add_address()
6894 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_bindx_delete_address()
[all …]
H A Dsctp_constants.h969 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) { \
H A Dsctp_asconf.c1355 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()
2575 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_compose_asconf()
[all …]
H A Dsctp_input.c125 ((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()
2584 if ((*inp_p)->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) { in sctp_handle_cookie_echo()
2638 inp->sctp_flags = (SCTP_PCB_FLAGS_TCPTYPE | in sctp_handle_cookie_echo()
2642 (SCTP_PCB_COPY_FLAGS & (*inp_p)->sctp_flags) | in sctp_handle_cookie_echo()
2701 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_handle_cookie_echo()
4617 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_process_control()
4848 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_process_control()
4879 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_process_control()
4970 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_process_control()
[all …]
H A Dsctp_sysctl.c148 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()
H A Dsctp_os_bsd.h486 #define SCTP_IS_LISTENING(inp) ((inp->sctp_flags & SCTP_PCB_FLAGS_ACCEPTING) != 0)
H A Dsctp_pcb.h384 uint32_t sctp_flags; /* INP state flag set */ member
H A Dsctp_output.c2040 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()
5640 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_send_initiate_ack()
6951 inp->sctp_flags |= SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()
6966 inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()
6981 inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()
12664 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_lower_sosend()
12701 (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE)) { in sctp_lower_sosend()
12708 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) || in sctp_lower_sosend()
12709 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_lower_sosend()
[all …]
H A Dsctp_uio.h893 uint32_t sctp_flags; member
H A Dsctp_indata.c1286 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()
/freebsd-14.2/sys/netpfil/pf/
H A Dpf_norm.c2107 pd->sctp_flags |= PFDESC_SCTP_INIT; in pf_scan_sctp()
2109 pd->sctp_flags |= PFDESC_SCTP_INIT_ACK; in pf_scan_sctp()
2119 pd->sctp_flags |= PFDESC_SCTP_ABORT; in pf_scan_sctp()
2123 pd->sctp_flags |= PFDESC_SCTP_SHUTDOWN; in pf_scan_sctp()
2129 pd->sctp_flags |= PFDESC_SCTP_COOKIE; in pf_scan_sctp()
2135 pd->sctp_flags |= PFDESC_SCTP_DATA; in pf_scan_sctp()
2144 pd->sctp_flags |= PFDESC_SCTP_ASCONF; in pf_scan_sctp()
2152 pd->sctp_flags |= PFDESC_SCTP_OTHER; in pf_scan_sctp()
2166 (pd->sctp_flags & ~PFDESC_SCTP_INIT)) in pf_scan_sctp()
2244 if (pd->sctp_flags & PFDESC_SCTP_INIT) in pf_normalize_sctp()
[all …]
H A Dpf.c5219 if (! (pd->sctp_flags & (PFDESC_SCTP_INIT | PFDESC_SCTP_ADD_IP))) in pf_create_state()
6175 pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state_sctp()
6183 if (pd->sctp_flags & PFDESC_SCTP_INIT) { in pf_test_state_sctp()
6189 if (pd->sctp_flags & PFDESC_SCTP_INIT_ACK) { in pf_test_state_sctp()
6195 if (pd->sctp_flags & (PFDESC_SCTP_COOKIE | PFDESC_SCTP_HEARTBEAT_ACK)) { in pf_test_state_sctp()
6201 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN | PFDESC_SCTP_ABORT | in pf_test_state_sctp()
6208 if (pd->sctp_flags & (PFDESC_SCTP_SHUTDOWN_COMPLETE)) { in pf_test_state_sctp()
6372 MPASS(! (pd->sctp_flags & PFDESC_SCTP_ADD_IP)); in pf_sctp_multihome_delayed()
6395 j->pd.sctp_flags |= PFDESC_SCTP_ADD_IP; in pf_sctp_multihome_delayed()
/freebsd-14.2/sys/netinet6/
H A Dsctp6_usrreq.c457 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUND_V6; /* I'm v6! */ in sctp6_attach()
615 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) && in sctp6_send()
789 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == in sctp6_connect()
801 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp6_connect()
802 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp6_connect()
837 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()
1005 ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) == 0)) { in sctp6_peeraddr()
/freebsd-14.2/sys/net/
H A Dpfvar.h1593 u_int16_t sctp_flags; member