Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp_usrreq.c428 flags = inp->sctp_flags; in sctp_abort()
451 flags = inp->sctp_flags; in sctp_abort()
530 flags = inp->sctp_flags; in sctp_close()
566 flags = inp->sctp_flags; in sctp_close()
677 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_disconnect()
827 if (inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) { in sctp_flush()
1070 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_fill_up_addresses_vrf()
1270 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_count_max_addresses_vrf()
7257 inp->sctp_flags |= SCTP_PCB_FLAGS_ACCEPTING;
7259 inp->sctp_flags &= ~SCTP_PCB_FLAGS_ACCEPTING;
[all …]
H A Dsctp_peeloff.c66 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_can_peel_off()
67 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_can_peel_off()
115 n_inp->sctp_flags = (SCTP_PCB_FLAGS_UDPTYPE | in sctp_do_peeloff()
118 (SCTP_PCB_COPY_FLAGS & inp->sctp_flags)); in sctp_do_peeloff()
H A Dsctp_constants.h971 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
972 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
980 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
982 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
990 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
991 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
999 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
1000 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
H A Dsctputil.h260 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
261 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
281 if (stcb->sctp_socket && ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
282 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
296 ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || \
297 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL))) { \
H A Dsctp_pcb.c1883 inp->sctp_flags &= ~SCTP_PCB_FLAGS_IN_TCPPOOL; in sctp_swap_inpcb_for_listen()
2459 inp->sctp_flags = (SCTP_PCB_FLAGS_UDPTYPE | in sctp_inpcb_alloc()
2465 inp->sctp_flags = (SCTP_PCB_FLAGS_TCPTYPE | in sctp_inpcb_alloc()
3085 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUNDALL; in sctp_inpcb_bind()
3187 inp->sctp_flags &= ~SCTP_PCB_FLAGS_BOUNDALL; in sctp_inpcb_bind()
3206 inp->sctp_flags |= SCTP_PCB_FLAGS_IN_TCPPOOL; in sctp_inpcb_bind()
3218 inp->sctp_flags &= ~SCTP_PCB_FLAGS_UNBOUND; in sctp_inpcb_bind()
3335 inp->sctp_flags &= ~SCTP_PCB_FLAGS_CLOSE_IP; in sctp_inpcb_free()
3337 inp->sctp_flags |= SCTP_PCB_FLAGS_DONT_WAKE; in sctp_inpcb_free()
3338 inp->sctp_flags &= ~SCTP_PCB_FLAGS_WAKEINPUT; in sctp_inpcb_free()
[all …]
H A Dsctputil.c102 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()
1230 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_init_asoc()
2905 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_mtu_size_reset()
4456 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_abort_an_association()
5580 ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) || in sctp_sorecvmsg()
6209 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) in sctp_sorecvmsg()
6727 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_bindx_add_address()
6774 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_bindx_add_address()
6791 if (inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) { in sctp_bindx_add_address()
6835 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_bindx_delete_address()
[all …]
H A Dsctp_input.c167 ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_handle_init()
168 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_handle_init()
1570 stcb->sctp_ep->sctp_flags |= in sctp_process_cookie_existing()
2630 if ((*inp_p)->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) { in sctp_handle_cookie_echo()
2684 inp->sctp_flags = (SCTP_PCB_FLAGS_TCPTYPE | in sctp_handle_cookie_echo()
2688 (SCTP_PCB_COPY_FLAGS & (*inp_p)->sctp_flags) | in sctp_handle_cookie_echo()
2748 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_handle_cookie_echo()
4686 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_process_control()
4948 (!(inp->sctp_flags & SCTP_PCB_FLAGS_UDPTYPE) && in sctp_process_control()
4950 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_process_control()
[all …]
H A Dsctp_asconf.c1358 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_asconf_queue_add()
1893 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0 || in sctp_addr_mgmt_assoc()
1928 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) in sctp_addr_mgmt_assoc()
1976 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_addr_mgmt_assoc()
2038 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) { in sctp_asconf_iterator_ep()
2049 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_ep()
2128 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) == 0) { in sctp_asconf_iterator_stcb()
2163 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_stcb()
2180 if ((inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) && in sctp_asconf_iterator_stcb()
2684 if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) in sctp_compose_asconf()
[all …]
H A Dsctp_sysctl.c150 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_sysctl_number_of_addresses()
213 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_sysctl_copy_out_local_addresses()
232 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_sysctl_copy_out_local_addresses()
400 if (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_sysctl_handle_assoclist()
406 xinpcb.flags = inp->sctp_flags; in sctp_sysctl_handle_assoclist()
416 (inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE)) { in sctp_sysctl_handle_assoclist()
H A Dsctp_os_bsd.h479 #define SCTP_IS_LISTENING(inp) ((inp->sctp_flags & SCTP_PCB_FLAGS_ACCEPTING) != 0)
H A Dsctp_pcb.h387 uint32_t sctp_flags; /* INP state flag set */ member
H A Dsctp_output.c2043 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_add_addresses_to_i_ia()
3428 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp_source_address_selection()
5598 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_send_initiate_ack()
6773 ca->inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall_completes()
6828 if (inp->sctp_flags & SCTP_PCB_FLAGS_SND_ITERATOR_UP) { in sctp_sendall()
6872 inp->sctp_flags |= SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()
6879 inp->sctp_flags &= ~SCTP_PCB_FLAGS_SND_ITERATOR_UP; in sctp_sendall()
12529 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp_lower_sosend()
12605 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) || in sctp_lower_sosend()
12606 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) { in sctp_lower_sosend()
[all …]
H A Dsctp_auth.c1718 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_notify_authentication()
1719 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_notify_authentication()
H A Dsctp_uio.h892 uint32_t sctp_flags; member
H A Dsctp_indata.c1806 if (((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) || in sctp_process_a_data_chunk()
1807 (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) || in sctp_process_a_data_chunk()
/f-stack/tools/compat/include/netinet/
H A Dsctp_constants.h971 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
972 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
980 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
982 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEOUTPUT; \
990 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
991 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
999 if (inp->sctp_flags & SCTP_PCB_FLAGS_DONT_WAKE) { \
1000 inp->sctp_flags |= SCTP_PCB_FLAGS_WAKEINPUT; \
H A Dsctp_uio.h892 uint32_t sctp_flags; member
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c480 flags = inp->sctp_flags; in sctp6_abort()
502 flags = inp->sctp_flags; in sctp6_abort()
534 inp->sctp_flags |= SCTP_PCB_FLAGS_BOUND_V6; /* I'm v6! */ in sctp6_attach()
699 if ((inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) && in sctp6_send()
826 if ((inp->sctp_flags & SCTP_PCB_FLAGS_UNBOUND) == in sctp6_connect()
838 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) && in sctp6_connect()
839 (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED)) { in sctp6_connect()
873 if (inp->sctp_flags & SCTP_PCB_FLAGS_CONNECTED) { in sctp6_connect()
910 stcb->sctp_ep->sctp_flags |= SCTP_PCB_FLAGS_CONNECTED; in sctp6_connect()
950 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) { in sctp6_getaddr()
[all …]