diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2005-04-05 20:27:36 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2005-04-05 20:27:36 +0000 |
commit | 1c426f1f218090a86478e6a9ab2db1bef88b1db7 (patch) | |
tree | 654a343090c994a4bab00987c1b8510ff7725efd /sys/netinet/tcp_var.h | |
parent | a6a8b68db3ab80dbf876cb629fcb89f25ab77f2b (diff) |
add tcp sack stats, similar to freebsd; ok deraadt
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 43de48a8ec4..e91872a60f6 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_var.h,v 1.72 2005/03/09 11:14:38 markus Exp $ */ +/* $OpenBSD: tcp_var.h,v 1.73 2005/04/05 20:27:35 markus Exp $ */ /* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */ /* @@ -445,6 +445,12 @@ struct tcpstat { u_int64_t tcps_sc_retransmitted;/* # of retransmissions */ u_int64_t tcps_conndrained; /* # of connections drained */ + + u_int64_t tcps_sack_recovery_episode; /* SACK recovery episodes */ + u_int64_t tcps_sack_rexmits; /* SACK rexmit segments */ + u_int64_t tcps_sack_rexmit_bytes; /* SACK rexmit bytes */ + u_int64_t tcps_sack_rcv_opts; /* SACK options received */ + u_int64_t tcps_sack_snd_opts; /* SACK options sent */ }; /* |