+/* info struct */
+struct info_struct {
+ int count; /* count packages */
+ char dev[10]; /* device */
+ char mmode; /* monitor type ... and later more */
+ int channel; /* current freq channel */
+ };
+
+/* hop_chanel function */
+int hop_channel(struct info_struct *info,int foo_fd);