Please sign in to comment.
freebsd: add support for multi-af mode
multi-af mode is similar to the protocol info on linux. Force the BSD interface to be similar the linux interface: * if no options are passed to the tun device, protocol info is enabled * no_pi is a default option * flags is always 0 (FreeBSD and Mac OS X) * protocol is 4 bytes (2 bytes on Linux) * on FreeBSD, only tun devices support multi-af mode
- Loading branch information...
Showing with 39 additions and 10 deletions.