X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fvport-netdev.h;h=88a5f90f3ffc7018dcfb8e4625034fc34bd96639;hb=df2fa9b50e1c0e93c6be1d31a5d69eb4f077add3;hp=19f176cdaf37f1265d561de87254f14e3a7a4bed;hpb=f2459fe7d91c4c325dfaa3ed18f56200b63ae27e;p=openvswitch diff --git a/datapath/vport-netdev.h b/datapath/vport-netdev.h index 19f176cd..88a5f90f 100644 --- a/datapath/vport-netdev.h +++ b/datapath/vport-netdev.h @@ -29,8 +29,9 @@ int netdev_set_mtu(struct vport *, int mtu); int netdev_set_addr(struct vport *, const unsigned char *addr); const char *netdev_get_name(const struct vport *); const unsigned char *netdev_get_addr(const struct vport *); +const char *netdev_get_config(const struct vport *); struct kobject *netdev_get_kobj(const struct vport *); -int netdev_get_stats(const struct vport *, struct odp_vport_stats *); +int netdev_get_stats(const struct vport *, struct rtnl_link_stats64 *); unsigned netdev_get_dev_flags(const struct vport *); int netdev_is_running(const struct vport *); unsigned char netdev_get_operstate(const struct vport *);