aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tcp.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
committerTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
commitea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch)
treea15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/uapi/linux/tcp.h
parentce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff)
parent496f3347d834aec91c38b45d6249ed00f58ad233 (diff)
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/uapi/linux/tcp.h')
-rw-r--r--include/uapi/linux/tcp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/uapi/linux/tcp.h b/include/uapi/linux/tcp.h
index e3f6ed8a7064..e02d31986ff9 100644
--- a/include/uapi/linux/tcp.h
+++ b/include/uapi/linux/tcp.h
@@ -235,6 +235,11 @@ struct tcp_info {
235 235
236 __u32 tcpi_delivered; 236 __u32 tcpi_delivered;
237 __u32 tcpi_delivered_ce; 237 __u32 tcpi_delivered_ce;
238
239 __u64 tcpi_bytes_sent; /* RFC4898 tcpEStatsPerfHCDataOctetsOut */
240 __u64 tcpi_bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans */
241 __u32 tcpi_dsack_dups; /* RFC4898 tcpEStatsStackDSACKDups */
242 __u32 tcpi_reord_seen; /* reordering events seen */
238}; 243};
239 244
240/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */ 245/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */
@@ -257,7 +262,10 @@ enum {
257 TCP_NLA_SND_SSTHRESH, /* Slow start size threshold */ 262 TCP_NLA_SND_SSTHRESH, /* Slow start size threshold */
258 TCP_NLA_DELIVERED, /* Data pkts delivered incl. out-of-order */ 263 TCP_NLA_DELIVERED, /* Data pkts delivered incl. out-of-order */
259 TCP_NLA_DELIVERED_CE, /* Like above but only ones w/ CE marks */ 264 TCP_NLA_DELIVERED_CE, /* Like above but only ones w/ CE marks */
260 265 TCP_NLA_BYTES_SENT, /* Data bytes sent including retransmission */
266 TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */
267 TCP_NLA_DSACK_DUPS, /* DSACK blocks received */
268 TCP_NLA_REORD_SEEN, /* reordering events seen */
261}; 269};
262 270
263/* for TCP_MD5SIG socket option */ 271/* for TCP_MD5SIG socket option */