8.8. Windows TAP - emllTap
The parameters to the Windows TAP Real-time Ethernet Driver are setup-specific. The function CreateLinkParmsFromCmdLineTap() in EcSelectLinkLayer.cpp demonstrates how to initialize the Real-time Ethernet Driver instance.
-
struct EC_T_LINK_PARMS_TAP
Public Members
-
EC_T_LINK_PARMS linkParms
Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_TAP
-
EC_T_CHAR szAdapterName[EC_TAP_ADAPTER_NAME_SIZE]
Native tap device name, e.g. “tap0” (zero terminated)
-
EC_T_CHAR szAdapterGuid[EC_TAP_ADAPTER_GUID_SIZE]
GUID of virtual interface to connect (zero terminated)
-
EC_T_BYTE abyMac[6]
MAC address
-
EC_T_DWORD dwRxBufferCnt
Frame buffer count for IST
-
EC_T_LINK_PARMS linkParms
The adapter must be manually installed as described in the OpenVPN’s Windows TAP-driver manual, see https://community.openvpn.net/openvpn/wiki/GettingTapWindows .
While EC-Monitor is connected to the adapter using emllTap, the Master can use it with e.g. emllNdis.