29#define IEEE802_DSAP_SNAP_PACKET_UNNUMBERED (0xAA)
32#define IEEE802_SSAP_SNAP_PACKET_UNNUMBERED (0xAA)
35#define IEEE802_CONTROL_SNAP_PACKET_UNNUMBERED (0x03)
46#define IEEE802_OUI_ETHERNET_TYPE (0x00)
47#define IEEE801_OUI_DEC (0xF8)
50#define IEEE802_P80211_OUI_LEN (3)
65#define IEEE80211_TYPE_MANAGEMENT (0x0)
66#define IEEE80211_TYPE_CONTROL (0x1)
67#define IEEE80211_TYPE_DATA (0x2)
69#define IEEE80211_SUBTYPE_DATA (0x0)
70#define IEEE80211_SUBTYPE_NULL (0x4)
71#define IEEE80211_SUBTYPE_QOS (0x8)
87typedef struct _Ieee802_3_Header
89 MACADDRESS_48 destination;
91 beuint16_t typeOrLength;
93} __attribute__((packed)) Ieee802_3_Header;
106typedef struct _Ieee802_2_SnapHeader
114 uint8_t oui[IEEE802_P80211_OUI_LEN];
117 beuint16_t protocolType;
119} __attribute__((packed)) Ieee802_2_SnapHeader;
141typedef struct _FrameControl
148 uint16_t fragmented : 1;
151 uint16_t subType : 4;
153 uint16_t version : 2;
155} __attribute__((packed)) FrameControl;
178typedef struct _Ieee802_11_Header
180 FrameControl frameControl;
181 beuint16_t durationId;
182 MACADDRESS_48 address1;
183 MACADDRESS_48 address2;
184 MACADDRESS_48 address3;
187} __attribute__((packed)) Ieee802_11_Header;
NetBurner IPADDR4 Class. See the IPADDR4 Class page for complete documentation.