Document CONFIG_SIM_NETDEV_VPNKIT

This commit is contained in:
YAMAMOTO Takashi 2020-03-19 21:17:01 +09:00 committed by Xiang Xiao
parent a5f8b20fcd
commit d93851148c
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
Network support with VPNKit
===========================
The simulation can be configured to use VPNKit to provide network support.
While this was developed for macOS, it should work on other platforms
as well.
Configuration
-------------
CONFIG_SIM_NETDEV=y
CONFIG_SIM_NETDEV_TAP is not set
CONFIG_SIM_NETDEV_VPNKIT=y
How to run
----------
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.