capt_get_packet(): check for key press only every 20ms
[iptraf-ng.git] / src / promisc.h
blob79587dc0dcfc63328dfe811970869f5b598b46af
1 #ifndef IPTRAF_NG_PROMISC_H
2 #define IPTRAF_NG_PROMISC_H
4 #include "list.h"
6 struct promisc_list {
7 struct list_head list;
8 char ifname[IFNAMSIZ];
9 };
11 void promisc_init(struct list_head *promisc, const char *device_name);
12 void promisc_destroy(struct list_head *promisc);
14 void promisc_set_list(struct list_head *promisc);
15 void promisc_restore_list(struct list_head *promisc);
17 #endif /* IPTRAF_NG_PROMISC_H */