+struct if_lim_perf_stat {
+ u_int64_t lim_dl_max_bandwidth; /* bits per second */
+ u_int64_t lim_ul_max_bandwidth; /* bits per second */
+ u_int64_t lim_total_txpkts; /* Total transmit packets, count */
+ u_int64_t lim_total_rxpkts; /* Total receive packets, count */
+ u_int64_t lim_total_retxpkts; /* Total retransmit packets */
+ u_int64_t lim_packet_loss_percent; /* Packet loss rate */
+ u_int64_t lim_total_oopkts; /* Total out-of-order packets */
+ u_int64_t lim_packet_ooo_percent; /* Out-of-order packet rate */
+ u_int64_t lim_rtt_variance; /* RTT variance, milliseconds */
+ u_int64_t lim_rtt_average; /* RTT average, milliseconds */
+ u_int64_t lim_rtt_min; /* RTT minimum, milliseconds */
+ u_int64_t lim_conn_timeouts; /* connection timeouts */
+ u_int64_t lim_conn_attempts; /* connection attempts */
+ u_int64_t lim_conn_timeout_percent; /* Rate of connection timeouts */
+ u_int64_t lim_bk_txpkts; /* Transmit packets with BK service class, that use delay based algorithms */
+ u_int64_t lim_dl_detected:1, /* Low internet */
+ lim_ul_detected:1;
+};
+
+#define IF_VAR_H_HAS_IFNET_STATS_PER_FLOW 1
+struct ifnet_stats_per_flow {
+ u_int64_t bk_txpackets;
+ u_int64_t txpackets;
+ u_int64_t rxpackets;
+ u_int32_t txretransmitbytes;
+ u_int32_t rxoutoforderbytes;
+ u_int32_t rxmitpkts;
+ u_int32_t rcvoopack;
+ u_int32_t pawsdrop;
+ u_int32_t sack_recovery_episodes;
+ u_int32_t reordered_pkts;
+ u_int32_t dsack_sent;
+ u_int32_t dsack_recvd;
+ u_int32_t srtt;
+ u_int32_t rttupdated;
+ u_int32_t rttvar;
+ u_int32_t rttmin;
+ u_int32_t bw_sndbw_max;
+ u_int32_t bw_rcvbw_max;
+ u_int32_t ecn_recv_ece;
+ u_int32_t ecn_recv_ce;
+ u_int16_t ecn_flags;
+ u_int16_t ipv4:1,
+ local:1,
+ connreset:1,
+ conntimeout:1,
+ rxmit_drop:1,
+ ecn_fallback_synloss:1,
+ ecn_fallback_droprst:1,
+ ecn_fallback_droprxmt:1,
+ ecn_fallback_ce:1,
+ ecn_fallback_reorder:1;
+};
+