refactor: add comments

This commit is contained in:
utox39
2025-05-10 23:02:05 +02:00
parent 06edcb123e
commit 551f452ffe
3 changed files with 9 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ const c_net_if = @cImport(@cInclude("net/if.h"));
const c_netinet_in = @cImport(@cInclude("netinet/in.h"));
const c_socket = @cImport(@cInclude("sys/socket.h"));
/// Struct representing Network informations (interface name - ipv4 address)
pub const NetInfo = struct {
interface_name: []u8,
ipv4_addr: []u8,