Skip to content

Instantly share code, notes, and snippets.

View Peter-Dev08's full-sized avatar

Peter-Dev08 Peter-Dev08

  • Switzerland
  • 00:24 (UTC +02:00)
View GitHub Profile
// 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