Network commands port to userspace

This commit is contained in:
boreddevnl
2026-02-27 23:24:43 +01:00
parent 304c2e1383
commit 8a6928b5c9
22 changed files with 680 additions and 69 deletions

10
src/kernel/icmp.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef ICMP_H
#define ICMP_H
#include <stdint.h>
#include "network.h"
void icmp_handle_packet(ipv4_address_t src, void *data, uint16_t len);
int cli_cmd_ping_syscall(ipv4_address_t *dest);
#endif