aboutsummaryrefslogtreecommitdiff
path: root/core/net/interface_darwin.odin
diff options
context:
space:
mode:
authorColin Davidson <colrdavidson@gmail.com>2023-03-01 07:58:30 -0800
committerColin Davidson <colrdavidson@gmail.com>2023-03-01 07:58:30 -0800
commit28f7f572473c4e97ccd6133bb4f5fa6f45505530 (patch)
tree0bd159c24c617df409f72b0ec75daa086372e94d /core/net/interface_darwin.odin
parent3567c006e6683d989805c078db48a95a901d9e72 (diff)
manually start merging core_net
Diffstat (limited to 'core/net/interface_darwin.odin')
-rw-r--r--core/net/interface_darwin.odin23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/net/interface_darwin.odin b/core/net/interface_darwin.odin
new file mode 100644
index 000000000..9a9bda5d3
--- /dev/null
+++ b/core/net/interface_darwin.odin
@@ -0,0 +1,23 @@
+//+build darwin
+/*
+ Copyright 2022 Tetralux <tetraluxonpc@gmail.com>
+ Copyright 2022 Colin Davidson <colrdavidson@gmail.com>
+ Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
+ Made available under Odin's BSD-3 license.
+
+ List of contributors:
+ Tetralux: Initial implementation
+ Colin Davidson: Linux platform code, OSX platform code, Odin-native DNS resolver
+ Jeroen van Rijn: Cross platform unification, code style, documentation
+*/
+
+/*
+ Package net implements cross-platform Berkeley Sockets, DNS resolution and associated procedures.
+ For other protocols and their features, see subdirectories of this package.
+*/
+package net
+
+/*
+ TODO: Implement. Can probably use the (current) Linux implementation,
+ which will itself be switched over to talking to the kernel via NETLINK protocol once we have raw sockets.
+*/