diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-01-07 16:22:34 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-01-12 15:50:20 -0800 |
commit | 6333182946ffd368eb7623d7408185a521058b46 (patch) | |
tree | 25f2cbd8b7641343d25a5e003b4f12d179d1f9c0 /lib/netdev.h | |
parent | d90611f14dfd9660e7f5eef5bf27a71003e61174 (diff) |
vswitchd: Add miimon support.
This commit allows users to check link status in bonded ports using
MII instead of carrier.
Diffstat (limited to 'lib/netdev.h')
-rw-r--r-- | lib/netdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev.h b/lib/netdev.h index 50ad5a3b..179628c6 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -126,6 +126,7 @@ int netdev_get_etheraddr(const struct netdev *, uint8_t mac[6]); /* PHY interface. */ bool netdev_get_carrier(const struct netdev *); +bool netdev_get_miimon(const struct netdev *); int netdev_get_features(struct netdev *, uint32_t *current, uint32_t *advertised, uint32_t *supported, uint32_t *peer); |