summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-04-04 15:58:11 +0200
committerGitHub <noreply@github.com>2017-04-04 15:58:11 +0200
commit2e310ba9c3899eef7a7b1db78bb7fcde3741af57 (patch)
treef9d5c9d1e994c36f03d3642bceb7b27a130615fe /lib/if.h
parent3e11c0078956b1baa5d7c6cd1e65559c3f1793df (diff)
parent97d2cd8d0c54279407cef16f070231912ef85a00 (diff)
Merge pull request #321 from donaldsharp/speed
Speedy McSpeederson
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 */