/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/ |
H A D | lm_l4if.h | 97 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 D | lm_l4st.h | 413 struct _lm_tcp_state_t * tcp_state; /* The tcp state associated with this connection */ member
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4tx.c | 364 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 D | lm_l4sp.c | 1769 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 D | lm_l4rx.c | 1684 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()
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp.c | 802 if (tcp->tcp_state > TCPS_BOUND) in tcp_clean_death_wrapper() 856 tcp->tcp_state = TCPS_BOUND; in tcp_clean_death() 882 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clean_death() 883 tcp->tcp_state < TCPS_TIME_WAIT) { in tcp_clean_death() 900 if ((tcp->tcp_state >= TCPS_SYN_SENT) && err) { in tcp_clean_death() 901 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clean_death() 931 if (tcp->tcp_state <= TCPS_SYN_RCVD) { in tcp_clean_death() 934 } else if (tcp->tcp_state <= TCPS_CLOSE_WAIT) { in tcp_clean_death() 948 tcp->tcp_state = TCPS_BOUND; in tcp_clean_death() 974 if (tcp->tcp_state > TCPS_LISTEN) { in tcp_stop_lingering() [all …]
|
H A D | tcp_misc.c | 127 (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() 698 switch (tcp->tcp_state) { in tcp_display() 739 (void) mi_sprintf(buf1, "TCPUnkState(%d)", tcp->tcp_state); in tcp_display()
|
H A D | tcp_bind.c | 537 if (tcp->tcp_state == TCPS_BOUND) { in tcp_bind_check() 539 } else if (tcp->tcp_state > TCPS_BOUND) { in tcp_bind_check() 542 "tcp_bind: bad state, %d", tcp->tcp_state); in tcp_bind_check() 794 ltcp->tcp_state <= TCPS_ESTABLISHED))) { in tcp_bindi() 826 (ltcp->tcp_state > TCPS_LISTEN) && in tcp_bindi() 849 if (ltcp->tcp_state >= TCPS_BOUND) { in tcp_bindi() 874 (ltcp->tcp_state == TCPS_LISTEN || in tcp_bindi() 875 ltcp->tcp_state == TCPS_BOUND)) in tcp_bindi() 888 tcp->tcp_state = TCPS_BOUND; in tcp_bindi()
|
H A D | tcp_output.c | 224 tcpstate = tcp->tcp_state; in tcp_wput_data() 400 tcp->tcp_state < TCPS_ESTABLISHED); in tcp_wput_data() 630 if (TCP_IS_DETACHED(tcp) || (tcp->tcp_state == TCPS_CLOSED)) { in tcp_wput_nondata() 788 if (tcp->tcp_state < TCPS_SYN_RCVD) { in tcp_wput_iocdata() 1056 if (tcp->tcp_state < TCPS_SYN_RCVD) in tcp_wput_cmdblk() 1150 (tcp->tcp_state != TCPS_ESTABLISHED) || in tcp_output() 1472 switch (tcp->tcp_state) { in tcp_close_output() 1559 tcp->tcp_state >= TCPS_ESTABLISHED) { in tcp_close_output() 1582 if (tcp->tcp_state <= TCPS_LISTEN) in tcp_close_output() 1611 if (tcp->tcp_state == TCPS_TIME_WAIT) { in tcp_close_output() [all …]
|
H A D | tcp_input.c | 108 (tcp)->tcp_state = TCPS_TIME_WAIT; \ 955 if (econnp->conn_fanout != NULL && eager->tcp_state > TCPS_LISTEN) { in tcp_eager_kill() 978 if (eager->tcp_state != TCPS_CLOSED) in tcp_eager_kill() 1304 if (listener->tcp_state != TCPS_LISTEN) in tcp_input_listener() 1710 eager->tcp_state = TCPS_SYN_RCVD; in tcp_input_listener() 1884 connp->conn_tcp->tcp_state != TCPS_LISTEN) { in tcp_input_listener_unbound() 2052 } else if (tcp->tcp_state == TCPS_SYN_RCVD) { in tcp_ack_mp() 2398 if (tcp->tcp_state == TCPS_TIME_WAIT) { in tcp_input_data() 2465 switch (tcp->tcp_state) { in tcp_input_data() 2572 tcp->tcp_state = TCPS_ESTABLISHED; in tcp_input_data() [all …]
|
H A D | tcp_opt_data.c | 382 *i1 = (tcp->tcp_state == TCPS_LISTEN); in tcp_opt_get() 474 if (tcp->tcp_state < TCPS_ESTABLISHED) in tcp_opt_get() 681 if (tcp->tcp_state > TCPS_LISTEN) { in tcp_opt_set() 714 if (tcp->tcp_state == TCPS_ESTABLISHED && in tcp_opt_set() 878 if (tcp->tcp_state >= TCPS_SYN_SENT) in tcp_opt_set() 966 if (tcp->tcp_state == TCPS_LISTEN) { in tcp_opt_set() 1022 if (tcp->tcp_state == TCPS_LISTEN) { in tcp_opt_set()
|
H A D | tcp_socket.c | 150 ASSERT(listener->tcp_state == TCPS_LISTEN); in tcp_accept() 194 return ((eager->tcp_state < TCPS_ESTABLISHED) ? ECONNABORTED : 0); in tcp_accept() 216 if (connp->conn_tcp->tcp_state < TCPS_LISTEN) in tcp_bind() 306 switch (connp->conn_tcp->tcp_state) { in tcp_connect() 352 if (tcp->tcp_state < TCPS_SYN_RCVD) in tcp_getpeername() 505 tcpstate = tcp->tcp_state; in tcp_sendmsg() 577 if (tcp->tcp_state < TCPS_SYN_SENT) in tcp_shutdown() 640 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_clr_flowctrl()
|
H A D | tcp_timers.c | 215 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() 907 tcp->tcp_state, tcp_display(tcp, NULL, in tcp_timer() 959 if (tcp->tcp_state == TCPS_SYN_RCVD) { in tcp_timer()
|
H A D | tcp_time_wait.c | 81 ASSERT(tcp->tcp_state == TCPS_TIME_WAIT); in tcp_time_wait_remove() 190 ASSERT(tcp->tcp_state == TCPS_TIME_WAIT); in tcp_time_wait_append() 227 ASSERT(tcp_time_wait->tcp_time_wait_tail->tcp_state == in tcp_time_wait_append() 261 if (tcp->tcp_state == TCPS_CLOSED) { in tcp_timewait_close()
|
H A D | tcp_tpi.c | 744 switch (tcp->tcp_state) { in tcp_tpistate() 792 tcp->tcp_state, tcp_display(tcp, NULL, in tcp_tpistate() 925 if (tcp->tcp_state >= TCPS_BOUND) { in tcp_addr_req() 935 if (tcp->tcp_state >= TCPS_SYN_RCVD) { in tcp_addr_req() 1072 if (tcp->tcp_state <= TCPS_BOUND || tcp->tcp_accept_error) { in tcp_accept_finish() 1161 if (tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_accept_finish() 1388 switch (acceptor->tcp_state) { in tcp_tli_accept() 1402 if (listener->tcp_state != TCPS_LISTEN) { in tcp_tli_accept() 1881 if (listener->tcp_state != TCPS_LISTEN) { in tcp_send_pending() 1930 if (listener->tcp_state != TCPS_LISTEN) { in tcp_send_conn_ind()
|
H A D | tcp_cluster.c | 121 cl_tcpi.cl_tcpi_state = tcp->tcp_state; in cl_tcp_walk_list_stack()
|
H A D | tcp_stats.c | 59 switch (tcp->tcp_state) { in tcp_snmp_state() 274 tce6.tcp6ConnEntryInfo.ce_state = tcp->tcp_state; in tcp_snmp_get() 296 (tcp->tcp_state <= TCPS_LISTEN && in tcp_snmp_get() 340 tcp->tcp_state; in tcp_snmp_get()
|
/titanic_50/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 596 if (tcp->tcp_state == TCPS_CLOSE_WAIT) { in tcp_input() 848 DEBUG_1("tcp_shutdown: tcp_state %x\n", tcp->tcp_state); in tcp_shutdown() 849 switch (tcp->tcp_state) { in tcp_shutdown() 913 switch (tcp->tcp_state) { in tcp_close() 948 if (tcp->tcp_state <= TCPS_LISTEN) in tcp_close() 968 tcp->tcp_state >= TCPS_ESTABLISHED) { in tcp_close() 975 tcp->tcp_state >= TCPS_ESTABLISHED && in tcp_close() 1001 if (tcp->tcp_state == TCPS_ESTABLISHED || in tcp_close() 1002 tcp->tcp_state == TCPS_CLOSE_WAIT) in tcp_close() 1004 if (tcp->tcp_state == TCPS_SYN_SENT || in tcp_close() [all …]
|
H A D | tcp_inet.h | 137 int32_t tcp_state; member
|
/titanic_50/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm_l4.c | 249 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
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/ |
H A D | mm_l4if.h | 294 lm_tcp_state_t * tcp_state, 304 lm_tcp_state_t *tcp_state,
|
/titanic_50/usr/src/cmd/mdb/common/modules/nca/ |
H A D | nca.c | 689 if (!show_timewait && conn.tcp_state == TCPS_TIME_WAIT) in nca_conn() 694 conn.req_np, state2name(conn.tcp_state)); in nca_conn() 758 if (!show_timewait && conn.tcp_state == TCPS_TIME_WAIT) in nca_tcpconn() 766 conn.tcp_rnxt - conn.tcp_rack, state2name(conn.tcp_state)); in nca_tcpconn()
|
/titanic_50/usr/src/uts/common/inet/ |
H A D | tcp.h | 155 int32_t tcp_state; member
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 172 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()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 2408 tconnp->conn_tcp->tcp_state == TCPS_ESTABLISHED && in ipcl_conn_tcp_lookup_reversed_ipv4() 2462 tconnp->conn_tcp->tcp_state == TCPS_ESTABLISHED && in ipcl_conn_tcp_lookup_reversed_ipv6() 2502 tconnp->conn_tcp->tcp_state >= min_state) { in ipcl_tcp_lookup_reversed_ipv4() 2543 tcp->tcp_state >= min_state && in ipcl_tcp_lookup_reversed_ipv6()
|