summaryrefslogtreecommitdiff
path: root/include/uapi/linux/tcp_metrics.h
diff options
context:
space:
mode:
authorChristoph Paasch <christoph.paasch@uclouvain.be>2014-01-08 19:05:57 +0400
committerDavid S. Miller <davem@davemloft.net>2014-01-11 02:38:18 +0400
commit8a59359cb80f448923a7bc9f555d477e74547d7a (patch)
treead1477b1f569f43152869858ce17de3f8e15f33f /include/uapi/linux/tcp_metrics.h
parenta544302820db12660b15de185b9e67c781a6b74e (diff)
downloadlinux-8a59359cb80f448923a7bc9f555d477e74547d7a.tar.xz
tcp: metrics: New netlink attribute for src IP and dumped in netlink reply
This patch adds a new netlink attribute for the source-IP and appends it to the netlink reply. Now, iproute2 can have access to the source-IP. Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tcp_metrics.h')
-rw-r--r--include/uapi/linux/tcp_metrics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/tcp_metrics.h b/include/uapi/linux/tcp_metrics.h
index cb5157b55f32..54a37b13f2c4 100644
--- a/include/uapi/linux/tcp_metrics.h
+++ b/include/uapi/linux/tcp_metrics.h
@@ -35,6 +35,8 @@ enum {
TCP_METRICS_ATTR_FOPEN_SYN_DROPS, /* u16, count of drops */
TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
TCP_METRICS_ATTR_FOPEN_COOKIE, /* binary */
+ TCP_METRICS_ATTR_SADDR_IPV4, /* u32 */
+ TCP_METRICS_ATTR_SADDR_IPV6, /* binary */
__TCP_METRICS_ATTR_MAX,
};