aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-16 16:59:44 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-16 16:59:44 +0000
commit8debfc71c227dbc3ffd2d6fa172ee25e525ea2df (patch)
treeab01ac11d4c6d6f7b6d36241c5b41e666cd451bc /src/transport/plugin_transport_wlan.h
parentdc36e0ca867b202351cf8a60a8a7d8323ebf1d5b (diff)
downloadgnunet-8debfc71c227dbc3ffd2d6fa172ee25e525ea2df.tar.gz
gnunet-8debfc71c227dbc3ffd2d6fa172ee25e525ea2df.zip
-trying to add 802.3-encoding support
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h23
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 */
86struct 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