5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-12 23:40:26 +00:00

Update 2018-07-20-more-platforms.md

This commit is contained in:
Neil Alexander 2018-07-20 19:42:48 +01:00 committed by GitHub
parent eaf4b9151f
commit ec9e9cb4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ in the end, but did end up being really quite different from macOS.
Originally I anticipated that setting the interface address, prefix and MTU Originally I anticipated that setting the interface address, prefix and MTU
would be just like macOS too, but this turned out not to be the case. would be just like macOS too, but this turned out not to be the case.
Whereas macOS uses an `AF_SYSTEM` socket, BSD expects you to simplify perform Whereas macOS uses an `AF_SYSTEM` socket, BSD expects you to simply perform
syscalls directly onto the TUN/TAP device node. More code for BSD was born. syscalls directly onto the TUN/TAP device node. More code for BSD was born.
However, like all system calls, these are difficult to debug, and I haven't yet However, like all system calls, these are difficult to debug, and I haven't yet
figured out the secret formula to getting these `ioctl` calls to work right. I figured out the secret formula to getting these `ioctl` calls to work right. I