1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-05-18 19:41:16 +03:00

Solaris: use DLPI style 1 attachment and check for /dev/net used by Illumos and Solaris 10+.

This commit is contained in:
William Welliver
2018-07-26 03:20:47 +02:00
committed by Davide Beatrici
parent 65bda6a44d
commit e3e38873d1
2 changed files with 28 additions and 31 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ ETH *OpenEth(char *name, bool local, bool tapmode, char *tapaddr);
ETH *OpenEthLinux(char *name, bool local, bool tapmode, char *tapaddr);
ETH *OpenEthSolaris(char *name, bool local, bool tapmode, char *tapaddr);
ETH *OpenEthPcap(char *name, bool local, bool tapmode, char *tapaddr);
bool ParseUnixEthDeviceName(char *dst_devname, UINT dst_devname_size, UINT *dst_devid, char *src_name);
bool ParseUnixEthDeviceName(char *dst_devname, UINT dst_devname_size, char *src_name);
void CloseEth(ETH *e);
CANCEL *EthGetCancel(ETH *e);
UINT EthGetPacket(ETH *e, void **data);