mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
vpnkit: Add a config to specify the socket
This commit is contained in:
committed by
Xiang Xiao
parent
12a97acaed
commit
702d82d052
@@ -11,6 +11,7 @@ Configuration
|
||||
CONFIG_SIM_NETDEV=y
|
||||
CONFIG_SIM_NETDEV_TAP is not set
|
||||
CONFIG_SIM_NETDEV_VPNKIT=y
|
||||
CONFIG_SIM_NETDEV_VPNKIT_PATH="/tmp/vpnkit-nuttx"
|
||||
|
||||
You can use the sim:vpnkit configuration, which includes the above
|
||||
settings.
|
||||
@@ -35,5 +36,5 @@ You can use it as the following:
|
||||
% vpnkit --ethernet /tmp/vpnkit-nuttx &
|
||||
% ./nuttx
|
||||
|
||||
NOTE: The unix domain socket path (/tmp/vpnkit-nuttx) is
|
||||
currently hardcoded in the code.
|
||||
NuttX's CONFIG_SIM_NETDEV_VPNKIT_PATH should match vpnkit's
|
||||
--ethernet option.
|
||||
|
||||
Reference in New Issue
Block a user