capt_get_packet(): check for key press only every 20ms
[iptraf-ng.git] / src / serv.h
blobdde7c3ee7047667e90ccd0807ede3896b351ec30
1 #ifndef IPTRAF_NG_SERV_H
2 #define IPTRAF_NG_SERV_H
4 /***
6 serv.h - TCP/UDP port statistics header file
8 ***/
10 struct porttab {
11 in_port_t port_min;
12 in_port_t port_max;
13 struct porttab *prev_entry;
14 struct porttab *next_entry;
17 void addmoreports(struct porttab **table);
18 void loadaddports(struct porttab **table);
19 void destroyporttab(struct porttab *table);
20 void removeaport(struct porttab **table);
21 void servmon(char *iface, time_t facilitytime);
23 #endif /* IPTRAF_NG_SERV_H */