2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

netdev: New functions for interpreting "enum ofp_port_features" bitmaps.

This commit is contained in:
Ben Pfaff
2009-12-21 16:27:55 -08:00
parent c72e245a0e
commit 622ee2cf64
2 changed files with 32 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ int netdev_get_carrier(const struct netdev *, bool *carrier);
int netdev_get_features(struct netdev *,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint64_t netdev_features_to_bps(uint32_t features);
bool netdev_features_is_full_duplex(uint32_t features);
int netdev_set_advertisements(struct netdev *, uint32_t advertise);
int netdev_get_in4(const struct netdev *, struct in_addr *address,