fc work
[my-code/hdw-sniff.git] / hdw-sniff.h
1 #include <linux/wireless.h>
2
3 /* the pcap_process callback function */
4 void pcap_process(u_char *count,const struct pcap_pkthdr *pcap_header,
5                         const u_char *package);
6
7 /* info struct */
8 struct info_struct {
9                 int count;      /* count packages */
10                 char dev[10];   /* device */
11                 char mmode;     /* monitor type ... and later more */
12                 int channel;    /* current freq channel */
13         };
14
15 /* hop_chanel function */
16 int hop_channel(struct info_struct *info,int foo_fd);
17