patch-dumpfile_tuntap_h 541 B

123456789101112131415161718
  1. --- kismet-2013-03-R1b.orig/dumpfile_tuntap.h 2013-03-27 15:41:48.000000000 +0100
  2. +++ kismet-2013-03-R1b/dumpfile_tuntap.h 2014-01-02 20:53:21.000000000 +0100
  3. @@ -65,7 +65,15 @@
  4. #include "dumpfile.h"
  5. #ifdef SYS_LINUX
  6. +#if defined(__GLIBC__)
  7. #include <linux/if_tun.h>
  8. +#else
  9. +#define IFF_TUN 0x0001
  10. +#define IFF_TAP 0x0002
  11. +#define IFF_NO_PI 0x1000
  12. +#define TUNSETNOCSUM _IOW('T', 200, int)
  13. +#define TUNSETIFF _IOW('T', 202, int)
  14. +#endif
  15. // Linux IEEE80211 link typ to set
  16. #define LNX_LINKTYPE_80211 801