capt_get_packet(): check for key press only every 20ms
[iptraf-ng.git] / src / fltselect.h
bloba33ee68a562c77d807fb8da0957a90235f80a270
1 #ifndef IPTRAF_NG_FLTSELECT_H
2 #define IPTRAF_NG_FLTSELECT_H
4 /***
6 othfilter.h - declarations for the non-TCP filter module
8 ***/
10 #include "fltdefs.h"
12 struct filterstate {
13 char filename[FLT_FILENAME_MAX];
14 int filtercode;
15 struct filterlist fl;
17 unsigned int arp:1, rarp:1, nonip:1, padding:13;
20 extern struct filterstate ofilter;
22 void config_filters(void);
23 void loadfilters(void);
24 void savefilters(void);
25 int nonipfilter(unsigned int protocol);
27 #endif /* IPTRAF_NG_FLTSELECT_H */