summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index 49f2a52478..e8e84ffc88 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -229,6 +229,9 @@ struct interface
/* Interface metric */
uint32_t metric;
+ /* Interface Speed in Mb/s */
+ uint32_t speed;
+
/* Interface MTU. */
unsigned int mtu; /* IPv4 MTU */
unsigned int mtu6; /* IPv6 MTU - probably, but not neccessarily same as mtu */