Changeset 7068467 for lib/wag.h


Ignore:
Timestamp:
02/10/06 18:02:32 (16 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
6eb91ff
Parents:
7f32bb5
Message:

Major cleanup of libtrace3
Lots of documentation fixes
Lots of zerocopy fixes
Lots of config option fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/wag.h

    r9a36e6d r7068467  
    3131#define _WAG_H_
    3232
    33 // Generic field breakdowns
     33/* Generic field breakdowns */
    3434struct wag_frame_hdr {
    3535  uint16_t magic;
     
    4444};
    4545
    46 // Received packet frame fields
     46/* Received packet frame fields */
    4747struct wag_stream_info {
    4848  uint16_t unused_1;
     
    7373};
    7474
    75 // Transmit packet frame fields
     75/* Transmit packet frame fields */
    7676struct wag_txparams {
    7777  uint8_t         gain;
     
    9090
    9191struct ieee_802_11_header {
    92         uint8_t      protocol:2;
    93         uint8_t      type:2;
    94         uint8_t      subtype:4;
    95         uint8_t      to_ds:1;
    96         uint8_t      from_ds:1;
    97         uint8_t      more_frag:1;
    98         uint8_t      retry:1;
    99         uint8_t      power:1;
    100         uint8_t      more_data:1;
    101         uint8_t      wep:1;
    102         uint8_t      order:1;
     92        unsigned int protocol:2;
     93        unsigned int type:2;
     94        unsigned int subtype:4;
     95        unsigned int to_ds:1;
     96        unsigned int from_ds:1;
     97        unsigned int more_frag:1;
     98        unsigned int retry:1;
     99        unsigned int power:1;
     100        unsigned int more_data:1;
     101        unsigned int wep:1;
     102        unsigned int order:1;
    103103        uint16_t     duration;
    104104        uint8_t      mac1[6];
Note: See TracChangeset for help on using the changeset viewer.