capt_get_packet(): check for key press only every 20ms
[iptraf-ng.git] / src / landesc.h
blob078c4282beac842e512de7d314529a8787895c6c
1 #ifndef IPTRAF_NG_LANDESC_H
2 #define IPTRAF_NG_LANDESC_H
4 /***
6 ethdesc.c - Ethernet host description management module
8 ***/
10 #include "list.h"
12 #define WITHETCETHERS 1
13 #define WITHOUTETCETHERS 0
15 struct eth_desc {
16 struct list_head hd_list;
17 char hd_mac[18];
18 char *hd_desc;
21 struct eth_desc *load_eth_desc(unsigned link_type);
23 void free_eth_desc(struct eth_desc *hd);
25 void manage_eth_desc(unsigned int linktype);
27 #endif /* IPTRAF_NG_LANDESC_H */