htop/NetworkIOMeter.h

25 lines
509 B
C

#ifndef HEADER_NetworkIOMeter
#define HEADER_NetworkIOMeter
/*
htop - NetworkIOMeter.h
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
#include <stdint.h>
#include "Meter.h"
typedef struct NetworkIOData_ {
uint64_t bytesReceived;
uint64_t packetsReceived;
uint64_t bytesTransmitted;
uint64_t packetsTransmitted;
} NetworkIOData;
extern const MeterClass NetworkIOMeter_class;
#endif /* HEADER_NetworkIOMeter */