diff options
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r-- | src/transport/plugin_transport_wlan.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h index 2b70fc0f5..b7f22de71 100644 --- a/src/transport/plugin_transport_wlan.h +++ b/src/transport/plugin_transport_wlan.h | |||
@@ -80,6 +80,29 @@ struct GNUNET_TRANSPORT_WLAN_HelperControlMessage | |||
80 | struct GNUNET_TRANSPORT_WLAN_MacAddress mac; | 80 | struct GNUNET_TRANSPORT_WLAN_MacAddress mac; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | /** | ||
84 | * generic definitions for IEEE 802.3 frames | ||
85 | */ | ||
86 | struct GNUNET_TRANSPORT_WLAN_Ieee8023Frame | ||
87 | { | ||
88 | |||
89 | /** | ||
90 | * Address 1: destination address in ad-hoc mode or AP, BSSID if station, | ||
91 | */ | ||
92 | struct GNUNET_TRANSPORT_WLAN_MacAddress dst; | ||
93 | |||
94 | /** | ||
95 | * Address 2: source address if in ad-hoc-mode or station, BSSID if AP | ||
96 | */ | ||
97 | struct GNUNET_TRANSPORT_WLAN_MacAddress src; | ||
98 | |||
99 | /** | ||
100 | * Packet type ID. | ||
101 | */ | ||
102 | uint16_t type; | ||
103 | |||
104 | }; | ||
105 | |||
83 | 106 | ||
84 | /** | 107 | /** |
85 | * generic definitions for IEEE 802.11 frames | 108 | * generic definitions for IEEE 802.11 frames |