1 #ifndef IPTRAF_NG_COUNTERS_H
2 #define IPTRAF_NG_COUNTERS_H
5 unsigned long long pc_packets
;
6 unsigned long long pc_bytes
;
10 struct pkt_counter proto_total
;
11 struct pkt_counter proto_in
;
12 struct pkt_counter proto_out
;
15 void pkt_counter_update(struct pkt_counter
*count
, int bytes
);
16 void pkt_counter_reset(struct pkt_counter
*count
);
18 void proto_counter_update(struct proto_counter
*proto_counter
, int outgoing
,
20 void proto_counter_reset(struct proto_counter
*proto_counter
);
22 #endif /* IPTRAF_NG_COUNTERS_H */