This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See the corresponding blog post for details: | |
// https://amodm.com/blog/2024/07/03/running-a-linux-router-on-macos | |
import Foundation | |
// xnu is a custom module that I created to expose the relevant C structs | |
// that the kernel expects, as those structs are not part of the userspace | |
// API. This module contains C-bridge headers if-fake.h and if-bridge.h | |
// which are also shown in this gist. | |
import xnu |