From 98347089c7e4e2b306d25a0db77e00aa2ea50882 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 18 Mar 2024 20:01:38 +0100 Subject: unstable, secret: Very important changes done to the system API, add threading functions. Signed-off-by: Amlal El Mahrouss --- Private/NetworkKit/NetworkDevice.hpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'Private/NetworkKit/NetworkDevice.hpp') diff --git a/Private/NetworkKit/NetworkDevice.hpp b/Private/NetworkKit/NetworkDevice.hpp index 74b60068..d85cb939 100644 --- a/Private/NetworkKit/NetworkDevice.hpp +++ b/Private/NetworkKit/NetworkDevice.hpp @@ -4,8 +4,8 @@ ------------------------------------------- */ -#ifndef _INC_NETWORKDEVICE_HPP__ -#define _INC_NETWORKDEVICE_HPP__ +#ifndef __NETWORK_DEVICE__ +#define __NETWORK_DEVICE__ #include #include @@ -30,17 +30,18 @@ class NetworkDevice final : public DeviceInterface { NetworkDevice(const NetworkDevice &) = default; public: - const char *Name() const override { return "NetworkDevice"; } + const char *Name() const override; private: void (*fCleanup)(void); }; struct PACKED NetworkDeviceCommand final { - UInt32 Command; - UInt32 VLan; - UInt32 DmaLow; - UInt32 DmaHigh; + UInt32 CommandName; + UInt32 CommandType; + UInt32 CommandFlags; + VoidPtr CommandBuffer; + SizeT CommandSizeBuffer; }; /// @brief TCP device. @@ -58,4 +59,4 @@ using HPCNetworkDevice = NetworkDevice; #include -#endif // !_INC_NETWORKDEVICE_HPP__ +#endif // !__NETWORK_DEVICE__ -- cgit v1.2.3