refactor: add comments

This commit is contained in:
utox39
2025-05-10 23:03:01 +02:00
parent 551f452ffe
commit 2a3ba3e230
3 changed files with 7 additions and 1 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,