summaryrefslogtreecommitdiff
path: root/src/platform/nm-platform.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-07-27 06:47:11 +0200
committerThomas Haller <thaller@redhat.com>2017-08-03 18:33:00 +0200
commitbf348cde694d87a2862abf52491e6df6718e8b42 (patch)
tree23275b3cb233e3ef96e251caa07a97c60bbfa914 /src/platform/nm-platform.h
parent8fc669c02ac3ec37161ba10b22eec8e3997ac501 (diff)
downloadNetworkManager-bf348cde694d87a2862abf52491e6df6718e8b42.tar.gz
platform: cleanup handling "window" for non-exclusive routes
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r--src/platform/nm-platform.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h
index 66c720aee1..4043029ee9 100644
--- a/src/platform/nm-platform.h
+++ b/src/platform/nm-platform.h
@@ -355,18 +355,27 @@ typedef union {
\
guint32 metric; \
\
- /* RTA_METRICS.RTAX_ADVMSS. For IPv4 routes, this is part of their
+ guint32 tos; \
+ \
+ \
+ /* RTA_METRICS:
+ *
+ * For IPv4 routes, these properties are part of their
* ID (meaning: you can add otherwise idential IPv4 routes that
- * only differ by mss). On the other hand, for IPv6 you cannot add two
- * IPv6 routes that only differ by mss.
+ * only differ by the metric property).
+ * On the other hand, for IPv6 you cannot add two IPv6 routes that only differ
+ * by an RTA_METRICS property.
*
- * When deleting a route, kernel seems to ignore RTA_METRICS.RTAX_ADVMSS.
- * Which is a problem for IPv4 because you cannot explicitly select which
- * route to delete. Kernel just picks the first. */ \
+ * When deleting a route, kernel seems to ignore the RTA_METRICS propeties.
+ * That is a problem/bug for IPv4 because you cannot explicitly select which
+ * route to delete. Kernel just picks the first. See rh#1475642. */ \
+ \
+ /* RTA_METRICS.RTAX_ADVMSS (iproute2: advmss) */ \
guint32 mss; \
\
- guint32 tos; \
+ /* RTA_METRICS.RTAX_WINDOW (iproute2: window) */ \
guint32 window; \
+ \
guint32 cwnd; \
guint32 initcwnd; \
guint32 initrwnd; \