mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
netdev: New function netdev_get_ifindex().
sFlow needs the ifindex of an interface, so this commit adds a function to retrieve it.
This commit is contained in:
@@ -90,6 +90,7 @@ int netdev_enumerate(struct svec *);
|
||||
|
||||
const char *netdev_get_name(const struct netdev *);
|
||||
int netdev_get_mtu(const struct netdev *, int *mtup);
|
||||
int netdev_get_ifindex(const struct netdev *);
|
||||
|
||||
int netdev_recv(struct netdev *, struct ofpbuf *);
|
||||
void netdev_recv_wait(struct netdev *);
|
||||
|
Reference in New Issue
Block a user