Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tcp_metrics.h
Go to the documentation of this file.
1 /* tcp_metrics.h - TCP Metrics Interface */
2 
3 #ifndef _LINUX_TCP_METRICS_H
4 #define _LINUX_TCP_METRICS_H
5 
6 #include <linux/types.h>
7 
8 /* NETLINK_GENERIC related info
9  */
10 #define TCP_METRICS_GENL_NAME "tcp_metrics"
11 #define TCP_METRICS_GENL_VERSION 0x1
12 
19 
20  /* Always last. */
22 };
23 
24 #define TCP_METRIC_MAX (__TCP_METRIC_MAX - 1)
25 
26 enum {
30  TCP_METRICS_ATTR_AGE, /* msecs */
31  TCP_METRICS_ATTR_TW_TSVAL, /* u32, raw, rcv tsval */
32  TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */
33  TCP_METRICS_ATTR_VALS, /* nested +1, u32 */
35  TCP_METRICS_ATTR_FOPEN_SYN_DROPS, /* u16, count of drops */
38 
40 };
41 
42 #define TCP_METRICS_ATTR_MAX (__TCP_METRICS_ATTR_MAX - 1)
43 
44 enum {
48 
50 };
51 
52 #define TCP_METRICS_CMD_MAX (__TCP_METRICS_CMD_MAX - 1)
53 
54 #endif /* _LINUX_TCP_METRICS_H */