X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenvswitch%2Fdatapath-protocol.h;h=4b2168cbd7f4b29bbf97156542b1bb3453ccad22;hb=3c34dd48afdb134f74099c5b84fe5bdc33656023;hp=ff9291cab86b5a76d0faf4eea0f604a93f71126a;hpb=b90fa799b93b5cc10f57e714909fb35ad472772e;p=openvswitch diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index ff9291ca..4b2168cb 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -101,6 +101,7 @@ #define ODP_VPORT_ETHER_SET _IOW('O', 26, struct odp_vport_ether) #define ODP_VPORT_MTU_GET _IOWR('O', 27, struct odp_vport_mtu) #define ODP_VPORT_MTU_SET _IOW('O', 28, struct odp_vport_mtu) +#define ODP_VPORT_STATS_SET _IOWR('O', 29, struct odp_vport_stats_req) struct odp_stats { /* Flows. */ @@ -206,7 +207,7 @@ struct odp_port_group { struct odp_flow_stats { uint64_t n_packets; /* Number of matched packets. */ uint64_t n_bytes; /* Number of matched bytes. */ - uint64_t used_sec; /* Time last used. */ + uint64_t used_sec; /* Time last used, in system monotonic time. */ uint32_t used_nsec; uint8_t tcp_flags; uint8_t ip_tos;