Unmodified upstream source from https://github.com/Raizo62/vwifi Commit: 4a9842e "CMakeLists.txt : VERSION = 7.0" Simulator of WiFi (802.11) interfaces to communicate between several Virtual Machines via mac80211_hwsim + TCP relay. License: Apache-2.0
34 lines
711 B
C
34 lines
711 B
C
#ifndef _CONFIG_H_
|
|
#define _CONFIG_H_
|
|
|
|
#include "types.h" // TIndex / TPort
|
|
|
|
#ifndef DISABLE_VHOST
|
|
#define ENABLE_VHOST
|
|
#endif
|
|
|
|
const TIndex WIFI_MAX_DECONNECTED_CLIENT = 15;
|
|
|
|
const bool LOST_PACKET_BY_DEFAULT=false;
|
|
|
|
const TPort DEFAULT_WIFI_CLIENT_PORT_VHOST = 8211;
|
|
const TPort DEFAULT_WIFI_CLIENT_PORT_INET = DEFAULT_WIFI_CLIENT_PORT_VHOST+1;
|
|
|
|
const TPort DEFAULT_WIFI_SPY_PORT = DEFAULT_WIFI_CLIENT_PORT_VHOST+2;
|
|
|
|
const TPort DEFAULT_CTRL_PORT = DEFAULT_WIFI_CLIENT_PORT_VHOST+3;
|
|
|
|
#define DEFAULT_ADDRESS_IP "127.0.0.1"
|
|
|
|
const int MAX_SIZE_NAME=12;
|
|
|
|
const int DEFAULT_NUMBER_WLAN_INTERFACE=0;
|
|
#define DEFAULT_MAC_PREFIX "74:F8:F6"
|
|
|
|
#ifdef _DEBUG
|
|
// #define _VERBOSE1
|
|
// #define _VERBOSE2
|
|
#endif
|
|
|
|
#endif
|