Implementations shouldn't need to modify it.
The following people, in alphabetical order, have either authored or
signed off on commits in the Open vSwitch version control repository.
The following people, in alphabetical order, have either authored or
signed off on commits in the Open vSwitch version control repository.
+Andrew Evans aevans@nicira.com
Andrew Lambeth wal@nicira.com
Andy Southgate andy.southgate@citrix.com
Ben Pfaff blp@nicira.com
Andrew Lambeth wal@nicira.com
Andy Southgate andy.southgate@citrix.com
Ben Pfaff blp@nicira.com
* bitmap of "enum ofp_port_features" bits, in host byte order. Returns 0 if
* successful, otherwise a positive errno value. */
static int
* bitmap of "enum ofp_port_features" bits, in host byte order. Returns 0 if
* successful, otherwise a positive errno value. */
static int
-netdev_linux_get_features(struct netdev *netdev,
+netdev_linux_get_features(const struct netdev *netdev,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer)
{
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer)
{
*
* This function may be set to null if it would always return EOPNOTSUPP.
*/
*
* This function may be set to null if it would always return EOPNOTSUPP.
*/
- int (*get_features)(struct netdev *netdev,
+ int (*get_features)(const struct netdev *netdev,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
* Some network devices may not implement support for this function. In such
* cases this function will always return EOPNOTSUPP. */
int
* Some network devices may not implement support for this function. In such
* cases this function will always return EOPNOTSUPP. */
int
-netdev_get_features(struct netdev *netdev,
+netdev_get_features(const struct netdev *netdev,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer)
{
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer)
{
- int (*get_features)(struct netdev *netdev,
+ int (*get_features)(const struct netdev *netdev,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint32_t dummy[4];
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint32_t dummy[4];
/* PHY interface. */
bool netdev_get_carrier(const struct netdev *);
bool netdev_get_miimon(const struct netdev *);
/* PHY interface. */
bool netdev_get_carrier(const struct netdev *);
bool netdev_get_miimon(const struct netdev *);
-int netdev_get_features(struct netdev *,
+int netdev_get_features(const struct netdev *,
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint64_t netdev_features_to_bps(uint32_t features);
uint32_t *current, uint32_t *advertised,
uint32_t *supported, uint32_t *peer);
uint64_t netdev_features_to_bps(uint32_t features);