1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
8 Management interface for TCP metrics.
10 c-family-name: tcp-metrics-genl-name
11 c-version-name: tcp-metrics-genl-version
17 name: tcp-fastopen-cookie-max
24 name-prefix: tcp-metrics-attr-
29 byte-order: big-endian
36 byte-order: big-endian
52 nested-attributes: metrics
60 name: fopen-syn-drop-ts
66 min-len: tcp-fastopen-cookie-max
70 byte-order: big-endian
77 byte-order: big-endian
85 # Intentionally don't define the name-prefix, see below.
87 Attributes with metrics. Note that the values here do not match
88 the TCP_METRIC_* defines in the kernel, because kernel defines
89 are off-by one (e.g. rtt is defined as enum 0, while netlink carries
96 Round Trip Time (RTT), in msecs with 3 bits fractional
97 (left-shift by 3 to get the msec value).
102 Round Trip Time VARiance (RTT), in msecs with 2 bits fractional
103 (left-shift by 2 to get the msec value).
107 doc: Slow Start THRESHold.
111 doc: Congestion Window.
115 doc: Reodering metric.
120 Round Trip Time (RTT), in usecs, with 3 bits fractional
121 (left-shift by 3 to get the msec value).
126 Round Trip Time (RTT), in usecs, with 2 bits fractional
127 (left-shift by 3 to get the msec value).
133 doc: Retrieve metrics.
134 attribute-set: tcp-metrics
136 dont-validate: [ strict, dump ]
163 attribute-set: tcp-metrics
165 dont-validate: [ strict, dump ]
166 flags: [ admin-perm ]