aboutsummaryrefslogtreecommitdiff
path: root/core/net/interface_darwin.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2023-03-03 14:15:15 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2023-03-03 14:15:15 +0100
commit5267a864db5717d61465d6bb73ee8005f3568c9f (patch)
treee41d3f0be186ed050da102f064ed545e73dc2047 /core/net/interface_darwin.odin
parentf02334237a055f8da5bb795032c872e555abaec7 (diff)
Coalesce more.
Diffstat (limited to 'core/net/interface_darwin.odin')
-rw-r--r--core/net/interface_darwin.odin15
1 files changed, 12 insertions, 3 deletions
diff --git a/core/net/interface_darwin.odin b/core/net/interface_darwin.odin
index a61d63377..90d996a4a 100644
--- a/core/net/interface_darwin.odin
+++ b/core/net/interface_darwin.odin
@@ -17,7 +17,16 @@ package net
Colin Davidson: Linux platform code, OSX platform code, Odin-native DNS resolver
Jeroen van Rijn: Cross platform unification, code style, documentation
-
- 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.
*/
+
+@(private)
+_enumerate_interfaces :: proc(allocator := context.allocator) -> (interfaces: []Network_Interface, err: Network_Error) {
+ context.allocator = allocator
+
+
+ // 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.
+
+ unimplemented()
+} \ No newline at end of file