Updated driver API for network talking

This commit is contained in:
Alex 2022-12-24 04:08:55 +02:00
parent a9dacd1d21
commit 41f2221051
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -122,8 +122,17 @@ struct KernelCallback
/** @brief When the kernel wants to send a packet. */ /** @brief When the kernel wants to send a packet. */
struct struct
{ {
void *Data; struct
{
unsigned char *Data;
unsigned long Length; unsigned long Length;
} Send;
struct
{
char Name[128];
unsigned long MAC;
} Fetch;
} NetworkCallback; } NetworkCallback;
/** @brief When the kernel wants to write to disk. */ /** @brief When the kernel wants to write to disk. */