Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/docs/wl_types.8') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/docs/wl_types.8 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/docs/wl_types.8 b/noncore/net/wellenreiter/libwellenreiter/docs/wl_types.8 new file mode 100644 index 0000000..d12f564 --- a/dev/null +++ b/noncore/net/wellenreiter/libwellenreiter/docs/wl_types.8 @@ -0,0 +1,25 @@ +wl_types.hh + +wl_types.hh contains the global buffers and type definitions. + +At the moment these are: + +/* Type definitions, to be continued */ +#define WL_NETFOUND 01 +#define WL_NETLOST 02 +#define WL_STARTSNIFF 98 +#define WL_STOPSNIFF 99 + +#define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */ + +/* WL network structure */ +typedef struct { + int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */ + int ssid_len; /* Length of SSID */ + int channel; /* Channel */ + int wep; /* 1 = WEP enabled ; 0 = disabled */ + char mac[64]; /* MAC address of Accesspoint */ + char bssid[128]; /* BSSID of Net */ +} wl_network_t; + +Will be filled up with other structs and size definitions asap. |