Skip to content

Instantly share code, notes, and snippets.

@Drup
Created September 12, 2015 20:17
Show Gist options
  • Save Drup/9db87514f7b978cbde62 to your computer and use it in GitHub Desktop.
Save Drup/9db87514f7b978cbde62 to your computer and use it in GitHub Desktop.
mirage socket stack, in utf8 art
bootvar ◀╴╴ main
╵ ╵
╵ ╵
▼ ▼
argv_unix ◀━━ If target f1 ─┐
│ │ │
│ │ │
▼ ▼ │
tcpv4_socket1 argv_xen ┌╴ stackv4_socket ╴┤╴╴╴╴╴▶ udpv4_socket1
╵ │
▲ ╵ │ │
╵╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┘ │ │
▼ │
┏━ If target ◀┘
┃ │
┃ │
┃ ▼
┃ console_xen_0
┗▶ console_unix_0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment