projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Improve comments on struct dp_stats_percpu.
[openvswitch]
/
lib
/
netdev.h
diff --git
a/lib/netdev.h
b/lib/netdev.h
index b8c7dfb494bf9679baefb547d76f7d1dc8f565a1..8060ddb9f0c52d4683d3ac2b368555c620e4f629 100644
(file)
--- a/
lib/netdev.h
+++ b/
lib/netdev.h
@@
-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);
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,
int netdev_set_advertisements(struct netdev *, uint32_t advertise);
int netdev_get_in4(const struct netdev *, struct in_addr *address,