"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/wifipcap/radiotap.h" (19 Feb 2021, 1053 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "radiotap.h" see the Fossies "Dox" file reference documentation.

    1 
    2 #include "os.h"
    3 
    4 #ifdef _WIN32
    5 #pragma pack(push, 1)
    6 #endif
    7 struct radiotap_hdr {
    8     bool has_channel;
    9     int channel;
   10 
   11     bool has_fhss;
   12     int fhss_fhset;
   13     int fhss_fhpat;
   14 
   15     bool has_rate;
   16     int rate;
   17     
   18     bool has_signal_dbm;
   19     int signal_dbm;
   20 
   21     bool has_noise_dbm;
   22     int noise_dbm;
   23     
   24     bool has_signal_db;
   25     int signal_db;
   26 
   27     bool has_noise_db;
   28     int noise_db;
   29 
   30     bool has_quality;
   31     int quality;
   32 
   33     bool has_txattenuation;
   34     int txattenuation;
   35 
   36     bool has_txattenuation_db;
   37     int txattenuation_db;
   38 
   39     bool has_txpower_dbm;
   40     int txpower_dbm;
   41 
   42     bool has_flags;
   43     bool flags_cfp;
   44     bool flags_short_preamble;
   45     bool flags_wep;
   46     bool flags_fragmented;
   47     bool flags_badfcs;
   48 
   49     bool has_antenna;
   50     int antenna;
   51     
   52     bool has_tsft;
   53     u_int64_t tsft;
   54 
   55     bool has_rxflags;
   56     int rxflags;
   57 
   58     bool has_txflags;
   59     int txflags;
   60 
   61     bool has_rts_retries;
   62     int rts_retries;
   63 
   64     bool has_data_retries;
   65     int data_retries;
   66 } _PACKED_;
   67 #ifdef _WIN32
   68 #pragma pack(pop)
   69 #endif