mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Updated driver API for network talking
This commit is contained in:
parent
a9dacd1d21
commit
41f2221051
11
DAPI.hpp
11
DAPI.hpp
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user