Home
last modified time | relevance | path

Searched refs:tcp_state (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4if.h97 lm_tcp_state_t * tcp_state);
334 IN lm_tcp_state_t * tcp_state /* L4 state */
342 __inline static u8_t lm_tcp_rx_is_remote_disconnect_pending(lm_tcp_state_t * tcp_state) in lm_tcp_rx_is_remote_disconnect_pending() argument
344 lm_tcp_con_t * rx_con = tcp_state->rx_con; in lm_tcp_rx_is_remote_disconnect_pending()
390 lm_tcp_state_t * tcp_state);
395 lm_tcp_state_t * tcp_state);
438 lm_tcp_state_t * tcp_state);
485 void lm_tcp_rx_clear_isles(struct _lm_device_t * pdev, lm_tcp_state_t * tcp_state, d_list_t * isles…
H A Dlm_l4st.h413 struct _lm_tcp_state_t * tcp_state; /* The tcp state associated with this connection */ member
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c364 lm_tcp_tx_graceful_disconnect_complete(pdev, con->tcp_state); in lm_tcp_tx_complete_tcp_fp()
568 tcp = con->tcp_state; in lm_toe_service_tx_intr()
571 lm_tcp_tx_complete_tcp_fp(pdev, con->tcp_state, con); in lm_toe_service_tx_intr()
574 tcp = con->tcp_state; in lm_toe_service_tx_intr()
580 tcp = con->tcp_state; in lm_toe_service_tx_intr()
589 tcp = con->tcp_state; in lm_toe_service_tx_intr()
596 IN lm_tcp_state_t * tcp_state in lm_tcp_graceful_disconnect() argument
600 lm_tcp_con_t *tcp_con = tcp_state->tx_con; in lm_tcp_graceful_disconnect()
639 if (!tcp_state->tcp_state_calc.fin_request_time) { in lm_tcp_graceful_disconnect()
640 tcp_state->tcp_state_calc.fin_request_time = mm_get_current_time(pdev); in lm_tcp_graceful_disconnect()
[all …]
H A Dlm_l4sp.c1769 tcp->tx_con->tcp_state = tcp; in lm_tcp_init_tcp_resc()
1777 tcp->rx_con->tcp_state = tcp; in lm_tcp_init_tcp_resc()
1804 lm_tcp_state_t * tcp_state) in lm_tcp_get_virt_size() argument
1814 if (tcp_state) in lm_tcp_get_virt_size()
1816 virt_size += lm_tcp_rx_con_get_virt_size(pdev,tcp_state); in lm_tcp_get_virt_size()
4002 lm_tcp_rx_complete_tcp_fp(pdev, con->tcp_state, con); in lm_tcp_service_deferred_cqes()
4004 lm_tcp_tx_complete_tcp_fp(pdev, con->tcp_state, con); in lm_tcp_service_deferred_cqes()
5651 lm_tcp_state_t * tcp_state) in lm_tcp_get_next_path_dependent() argument
5653 if (tcp_state == NULL) { in lm_tcp_get_next_path_dependent()
5654 tcp_state = (lm_tcp_state_t *) d_list_peek_head(&pdev->toe_info.state_blk.tcp_list); in lm_tcp_get_next_path_dependent()
[all …]
H A Dlm_l4rx.c1684 tcp = con->tcp_state; in lm_toe_service_rx_intr()
1687 lm_tcp_rx_complete_tcp_fp(pdev, con->tcp_state, con); in lm_toe_service_rx_intr()
1690 tcp = con->tcp_state; in lm_toe_service_rx_intr()
1696 tcp = con->tcp_state; in lm_toe_service_rx_intr()
1705 tcp = con->tcp_state; in lm_toe_service_rx_intr()
2600 void lm_tcp_rx_clear_isles(struct _lm_device_t * pdev, lm_tcp_state_t * tcp_state, d_list_t * isles… in lm_tcp_rx_clear_isles() argument
2605 DbgBreakIf(!(tcp_state && tcp_state->rx_con)); in lm_tcp_rx_clear_isles()
2606 gen_info = &tcp_state->rx_con->u.rx.gen_info; in lm_tcp_rx_clear_isles()
2610 _lm_tcp_isle_remove(pdev, tcp_state, NON_EXISTENT_SB_IDX, isle_cnt, &aux_isles_list); in lm_tcp_rx_clear_isles()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp.c797 if (tcp->tcp_state > TCPS_BOUND) in tcp_clean_death_wrapper()
851 tcp->tcp_state = TCPS_BOUND; in tcp_clean_death()
877 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clean_death()
878 tcp->tcp_state < TCPS_TIME_WAIT) { in tcp_clean_death()
895 if ((tcp->tcp_state >= TCPS_SYN_SENT) && err) { in tcp_clean_death()
896 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clean_death()
926 if (tcp->tcp_state <= TCPS_SYN_RCVD) { in tcp_clean_death()
929 } else if (tcp->tcp_state <= TCPS_CLOSE_WAIT) { in tcp_clean_death()
943 tcp->tcp_state = TCPS_BOUND; in tcp_clean_death()
969 if (tcp->tcp_state > TCPS_LISTEN) { in tcp_stop_lingering()
[all …]
H A Dtcp_misc.c127 (acp)->ac_start <= (tcp)->tcp_state && \
128 (acp)->ac_end >= (tcp)->tcp_state) : \
139 (acp)->ac_start <= (tcp)->tcp_state && \
140 (acp)->ac_end >= (tcp)->tcp_state))
253 if (tcp->tcp_state == TCPS_CLOSED || in tcp_ioctl_abort_handler()
254 tcp->tcp_state == TCPS_BOUND) { in tcp_ioctl_abort_handler()
260 if (tcp->tcp_state <= acp->ac_end) { in tcp_ioctl_abort_handler()
270 TCP_AC_GET_ERRCODE(tcp->tcp_state, errcode); in tcp_ioctl_abort_handler()
699 switch (tcp->tcp_state) { in tcp_display()
740 (void) mi_sprintf(buf1, "TCPUnkState(%d)", tcp->tcp_state); in tcp_display()
H A Dtcp_bind.c539 if (tcp->tcp_state == TCPS_BOUND) { in tcp_bind_check()
541 } else if (tcp->tcp_state > TCPS_BOUND) { in tcp_bind_check()
544 "tcp_bind: bad state, %d", tcp->tcp_state); in tcp_bind_check()
796 ltcp->tcp_state <= TCPS_ESTABLISHED))) { in tcp_bindi()
828 (ltcp->tcp_state > TCPS_LISTEN) && in tcp_bindi()
851 if (ltcp->tcp_state >= TCPS_BOUND) { in tcp_bindi()
876 (ltcp->tcp_state == TCPS_LISTEN || in tcp_bindi()
877 ltcp->tcp_state == TCPS_BOUND)) in tcp_bindi()
890 tcp->tcp_state = TCPS_BOUND; in tcp_bindi()
H A Dtcp_output.c239 tcpstate = tcp->tcp_state; in tcp_wput_data()
415 tcp->tcp_state < TCPS_ESTABLISHED); in tcp_wput_data()
647 if (TCP_IS_DETACHED(tcp) || (tcp->tcp_state == TCPS_CLOSED)) { in tcp_wput_nondata()
805 if (tcp->tcp_state < TCPS_SYN_RCVD) { in tcp_wput_iocdata()
1073 if (tcp->tcp_state < TCPS_SYN_RCVD) in tcp_wput_cmdblk()
1169 tcp->tcp_state != TCPS_ESTABLISHED || in tcp_output()
1492 switch (tcp->tcp_state) { in tcp_close_output()
1579 tcp->tcp_state >= TCPS_ESTABLISHED) { in tcp_close_output()
1602 if (tcp->tcp_state <= TCPS_LISTEN) in tcp_close_output()
1631 if (tcp->tcp_state == TCPS_TIME_WAIT) { in tcp_close_output()
[all …]
H A Dtcp_input.c111 (tcp)->tcp_state = TCPS_TIME_WAIT; \
1131 if (econnp->conn_fanout != NULL && eager->tcp_state > TCPS_LISTEN) { in tcp_eager_kill()
1154 if (eager->tcp_state != TCPS_CLOSED) in tcp_eager_kill()
1480 if (listener->tcp_state != TCPS_LISTEN) in tcp_input_listener()
1889 eager->tcp_state = TCPS_SYN_RCVD; in tcp_input_listener()
2063 connp->conn_tcp->tcp_state != TCPS_LISTEN) { in tcp_input_listener_unbound()
2231 } else if (tcp->tcp_state == TCPS_SYN_RCVD) { in tcp_ack_mp()
2577 if (tcp->tcp_state == TCPS_TIME_WAIT) { in tcp_input_data()
2644 switch (tcp->tcp_state) { in tcp_input_data()
2755 tcp->tcp_state = TCPS_ESTABLISHED; in tcp_input_data()
[all …]
H A Dtcp_timers.c215 if (tcp->tcp_state != TCPS_CLOSED) { in tcp_timer_handler()
440 if (tcp->tcp_state > TCPS_CLOSE_WAIT) { in tcp_keepalive_timer()
444 if (tcp->tcp_state < TCPS_ESTABLISHED) { in tcp_keepalive_timer()
661 switch (tcp->tcp_state) { in tcp_timer()
878 tcp->tcp_state, tcp_display(tcp, NULL, in tcp_timer()
930 if (tcp->tcp_state == TCPS_SYN_RCVD) { in tcp_timer()
H A Dtcp_opt_data.c400 *i1 = (tcp->tcp_state == TCPS_LISTEN); in tcp_opt_get()
505 if (tcp->tcp_state < TCPS_ESTABLISHED) in tcp_opt_get()
712 if (tcp->tcp_state > TCPS_LISTEN) { in tcp_opt_set()
745 if (tcp->tcp_state == TCPS_ESTABLISHED && in tcp_opt_set()
975 if (tcp->tcp_state >= TCPS_SYN_SENT) in tcp_opt_set()
1059 if (tcp->tcp_state == TCPS_LISTEN) { in tcp_opt_set()
1125 if (tcp->tcp_state == TCPS_LISTEN) { in tcp_opt_set()
H A Dtcp_socket.c151 ASSERT(listener->tcp_state == TCPS_LISTEN); in tcp_accept()
195 return ((eager->tcp_state < TCPS_ESTABLISHED) ? ECONNABORTED : 0); in tcp_accept()
217 if (connp->conn_tcp->tcp_state < TCPS_LISTEN) in tcp_bind()
307 switch (connp->conn_tcp->tcp_state) { in tcp_connect()
359 if (tcp->tcp_state < TCPS_SYN_RCVD) in tcp_getpeername()
512 tcpstate = tcp->tcp_state; in tcp_sendmsg()
584 if (tcp->tcp_state < TCPS_SYN_SENT) in tcp_shutdown()
647 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clr_flowctrl()
H A Dtcp_tpi.c750 switch (tcp->tcp_state) { in tcp_tpistate()
798 tcp->tcp_state, tcp_display(tcp, NULL, in tcp_tpistate()
931 if (tcp->tcp_state >= TCPS_BOUND) { in tcp_addr_req()
941 if (tcp->tcp_state >= TCPS_SYN_RCVD) { in tcp_addr_req()
1078 if (tcp->tcp_state <= TCPS_BOUND || tcp->tcp_accept_error) { in tcp_accept_finish()
1167 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_accept_finish()
1394 switch (acceptor->tcp_state) { in tcp_tli_accept()
1408 if (listener->tcp_state != TCPS_LISTEN) { in tcp_tli_accept()
1888 if (listener->tcp_state != TCPS_LISTEN) { in tcp_send_pending()
1937 if (listener->tcp_state != TCPS_LISTEN) { in tcp_send_conn_ind()
H A Dtcp_time_wait.c82 ASSERT(tcp->tcp_state == TCPS_TIME_WAIT); in tcp_time_wait_remove()
147 ASSERT(tcp->tcp_state == TCPS_TIME_WAIT); in tcp_time_wait_append()
275 if (tcp->tcp_state == TCPS_CLOSED) { in tcp_timewait_close()
H A Dtcp_cluster.c121 cl_tcpi.cl_tcpi_state = tcp->tcp_state; in cl_tcp_walk_list_stack()
H A Dtcp_stats.c66 switch (tcp->tcp_state) { in tcp_snmp_state()
134 tcei->ce_state = tcp->tcp_state; in tcp_set_conninfo()
348 (tcp->tcp_state <= TCPS_LISTEN && in tcp_snmp_get()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c595 if (tcp->tcp_state == TCPS_CLOSE_WAIT) { in tcp_input()
847 DEBUG_1("tcp_shutdown: tcp_state %x\n", tcp->tcp_state); in tcp_shutdown()
848 switch (tcp->tcp_state) { in tcp_shutdown()
912 switch (tcp->tcp_state) { in tcp_close()
947 if (tcp->tcp_state <= TCPS_LISTEN) in tcp_close()
967 tcp->tcp_state >= TCPS_ESTABLISHED) { in tcp_close()
974 tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_close()
1000 if (tcp->tcp_state == TCPS_ESTABLISHED || in tcp_close()
1001 tcp->tcp_state == TCPS_CLOSE_WAIT) in tcp_close()
1003 if (tcp->tcp_state == TCPS_SYN_SENT || in tcp_close()
[all …]
H A Dtcp_inet.h137 int32_t tcp_state; member
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l4.c249 lm_tcp_state_t * tcp_state, in mm_tcp_copy_to_tcp_buf() argument
264 lm_tcp_state_t *tcp_state, in mm_tcp_indicate_retrieve_indication() argument
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A Dtcp_ctx.h121 u8_t tcp_state; // 0x9 TCP state machine member
178 u8_t tcp_state; // 0xa TCP state machine member
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h294 lm_tcp_state_t * tcp_state,
304 lm_tcp_state_t *tcp_state,
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp.h161 int32_t tcp_state; member
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c172 return (tcp->tcp_state >= TCPS_ESTABLISHED); in net_tcp_active()
180 (tcp->tcp_state <= TCPS_LISTEN))); in net_tcp_ipv4()
618 mdb_printf("%0?p %2i ", tcp_kaddr, tcp->tcp_state); in netstat_tcp_cb()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipclassifier.c2411 tconnp->conn_tcp->tcp_state == TCPS_ESTABLISHED && in ipcl_conn_tcp_lookup_reversed_ipv4()
2465 tconnp->conn_tcp->tcp_state == TCPS_ESTABLISHED && in ipcl_conn_tcp_lookup_reversed_ipv6()
2505 tconnp->conn_tcp->tcp_state >= min_state) { in ipcl_tcp_lookup_reversed_ipv4()
2546 tcp->tcp_state >= min_state && in ipcl_tcp_lookup_reversed_ipv6()

12