diff --git a/versioned_docs/version-1.7/references/architecture.md b/versioned_docs/version-1.7/references/architecture.md index 790b7b5fb5..d1501340e8 100644 --- a/versioned_docs/version-1.7/references/architecture.md +++ b/versioned_docs/version-1.7/references/architecture.md @@ -47,6 +47,35 @@ flowchart TD end communication_layer --- WSL ``` + +## Networking Layer + +```mermaid +flowchart LR; + subgraph Host["HOST"] + subgraph hostSwitch["Host Switch"] + vsockHost["Host Daemon"] + Win32_API(("Win32 API")) + dhcp["DHCP"] + dns["DNS"] + api["API"] + portForwarding["Port Forwarding"] + vsockHost --system calls---- Win32_API + vsockHost ---- dhcp + vsockHost ---- dns + vsockHost ---- portForwarding + vsockHost ---- api + end + end + subgraph VM["VM"] + subgraph vmSwitch["VM Switch"] + vsockVM["VM Daemon"] + tapDevice("tap device") + tapDevice ---- vsockVM + end + end + vsockVM --- |AF_VSOCK| vsockHost +``` diff --git a/versioned_docs/version-1.8/references/architecture.md b/versioned_docs/version-1.8/references/architecture.md index be3b8d2711..490893900e 100644 --- a/versioned_docs/version-1.8/references/architecture.md +++ b/versioned_docs/version-1.8/references/architecture.md @@ -47,6 +47,35 @@ flowchart TD end communication_layer --- WSL ``` + +## Networking Layer + +```mermaid +flowchart LR; + subgraph Host["HOST"] + subgraph hostSwitch["Host Switch"] + vsockHost["Host Daemon"] + Win32_API(("Win32 API")) + dhcp["DHCP"] + dns["DNS"] + api["API"] + portForwarding["Port Forwarding"] + vsockHost --system calls---- Win32_API + vsockHost ---- dhcp + vsockHost ---- dns + vsockHost ---- portForwarding + vsockHost ---- api + end + end + subgraph VM["VM"] + subgraph vmSwitch["VM Switch"] + vsockVM["VM Daemon"] + tapDevice("tap device") + tapDevice ---- vsockVM + end + end + vsockVM --- |AF_VSOCK| vsockHost +``` diff --git a/versioned_docs/version-latest/references/architecture.md b/versioned_docs/version-latest/references/architecture.md index 5469801d30..212afb5b81 100644 --- a/versioned_docs/version-latest/references/architecture.md +++ b/versioned_docs/version-latest/references/architecture.md @@ -47,6 +47,36 @@ flowchart TD end communication_layer --- WSL ``` + +## Networking Layer + +```mermaid +flowchart LR; + subgraph Host["HOST"] + subgraph hostSwitch["Host Switch"] + vsockHost["Host Daemon"] + Win32_API(("Win32 API")) + dhcp["DHCP"] + dns["DNS"] + api["API"] + portForwarding["Port Forwarding"] + vsockHost --system calls---- Win32_API + vsockHost ---- dhcp + vsockHost ---- dns + vsockHost ---- portForwarding + vsockHost ---- api + end + end + subgraph VM["VM"] + subgraph vmSwitch["VM Switch"] + vsockVM["VM Daemon"] + tapDevice("tap device") + tapDevice ---- vsockVM + end + end + vsockVM --- |AF_VSOCK| vsockHost +``` +