Lines Matching defs:from

817  * To add stats from one mib2_tcp_t to another.  Static fields are not added.
821 tcp_add_mib(mib2_tcp_t *from, mib2_tcp_t *to)
823 to->tcpActiveOpens += from->tcpActiveOpens;
824 to->tcpPassiveOpens += from->tcpPassiveOpens;
825 to->tcpAttemptFails += from->tcpAttemptFails;
826 to->tcpEstabResets += from->tcpEstabResets;
827 to->tcpInSegs += from->tcpInSegs;
828 to->tcpOutSegs += from->tcpOutSegs;
829 to->tcpRetransSegs += from->tcpRetransSegs;
830 to->tcpOutRsts += from->tcpOutRsts;
832 to->tcpOutDataSegs += from->tcpOutDataSegs;
833 to->tcpOutDataBytes += from->tcpOutDataBytes;
834 to->tcpRetransBytes += from->tcpRetransBytes;
835 to->tcpOutAck += from->tcpOutAck;
836 to->tcpOutAckDelayed += from->tcpOutAckDelayed;
837 to->tcpOutUrg += from->tcpOutUrg;
838 to->tcpOutWinUpdate += from->tcpOutWinUpdate;
839 to->tcpOutWinProbe += from->tcpOutWinProbe;
840 to->tcpOutControl += from->tcpOutControl;
841 to->tcpOutFastRetrans += from->tcpOutFastRetrans;
843 to->tcpInAckBytes += from->tcpInAckBytes;
844 to->tcpInDupAck += from->tcpInDupAck;
845 to->tcpInAckUnsent += from->tcpInAckUnsent;
846 to->tcpInDataInorderSegs += from->tcpInDataInorderSegs;
847 to->tcpInDataInorderBytes += from->tcpInDataInorderBytes;
848 to->tcpInDataUnorderSegs += from->tcpInDataUnorderSegs;
849 to->tcpInDataUnorderBytes += from->tcpInDataUnorderBytes;
850 to->tcpInDataDupSegs += from->tcpInDataDupSegs;
851 to->tcpInDataDupBytes += from->tcpInDataDupBytes;
852 to->tcpInDataPartDupSegs += from->tcpInDataPartDupSegs;
853 to->tcpInDataPartDupBytes += from->tcpInDataPartDupBytes;
854 to->tcpInDataPastWinSegs += from->tcpInDataPastWinSegs;
855 to->tcpInDataPastWinBytes += from->tcpInDataPastWinBytes;
856 to->tcpInWinProbe += from->tcpInWinProbe;
857 to->tcpInWinUpdate += from->tcpInWinUpdate;
858 to->tcpInClosed += from->tcpInClosed;
860 to->tcpRttNoUpdate += from->tcpRttNoUpdate;
861 to->tcpRttUpdate += from->tcpRttUpdate;
862 to->tcpTimRetrans += from->tcpTimRetrans;
863 to->tcpTimRetransDrop += from->tcpTimRetransDrop;
864 to->tcpTimKeepalive += from->tcpTimKeepalive;
865 to->tcpTimKeepaliveProbe += from->tcpTimKeepaliveProbe;
866 to->tcpTimKeepaliveDrop += from->tcpTimKeepaliveDrop;
867 to->tcpListenDrop += from->tcpListenDrop;
868 to->tcpListenDropQ0 += from->tcpListenDropQ0;
869 to->tcpHalfOpenDrop += from->tcpHalfOpenDrop;
870 to->tcpOutSackRetransSegs += from->tcpOutSackRetransSegs;
871 to->tcpHCInSegs += from->tcpHCInSegs;
872 to->tcpHCOutSegs += from->tcpHCOutSegs;
876 * To sum up all MIB2 stats for a tcp_stack_t from all per CPU stats. The
954 * To add counters from the per CPU tcp_stat_counter_t to the stack
958 tcp_add_stats(tcp_stat_counter_t *from, tcp_stat_t *to)
961 from->tcp_time_wait_syn_success;
963 from->tcp_clean_death_nondetached;
965 from->tcp_eager_blowoff_q;
967 from->tcp_eager_blowoff_q0;
969 from->tcp_no_listener;
971 from->tcp_listendrop;
973 from->tcp_listendropq0;
975 from->tcp_wsrv_called;
977 from->tcp_flwctl_on;
979 from->tcp_timer_fire_early;
981 from->tcp_timer_fire_miss;
983 from->tcp_zcopy_on;
985 from->tcp_zcopy_off;
987 from->tcp_zcopy_backoff;
989 from->tcp_fusion_flowctl;
991 from->tcp_fusion_backenabled;
993 from->tcp_fusion_urg;
995 from->tcp_fusion_putnext;
997 from->tcp_fusion_unfusable;
999 from->tcp_fusion_aborted;
1001 from->tcp_fusion_unqualified;
1003 from->tcp_fusion_rrw_busy;
1005 from->tcp_fusion_rrw_msgcnt;
1007 from->tcp_fusion_rrw_plugged;
1009 from->tcp_in_ack_unsent_drop;
1011 from->tcp_sock_fallback;
1013 from->tcp_lso_enabled;
1015 from->tcp_lso_disabled;
1017 from->tcp_lso_times;
1019 from->tcp_lso_pkt_out;
1021 from->tcp_listen_cnt_drop;
1023 from->tcp_listen_mem_drop;
1025 from->tcp_zwin_mem_drop;
1027 from->tcp_zwin_ack_syn;
1029 from->tcp_rst_unsent;
1031 from->tcp_reclaim_cnt;
1033 from->tcp_reass_timeout;
1037 from->tcp_time_wait;
1039 from->tcp_rput_time_wait;
1041 from->tcp_detach_time_wait;
1043 from->tcp_timeout_calls;
1045 from->tcp_timeout_cached_alloc;
1047 from->tcp_timeout_cancel_reqs;
1049 from->tcp_timeout_canceled;
1051 from->tcp_timermp_freed;
1053 from->tcp_push_timer_cnt;
1055 from->tcp_ack_timer_cnt;