Commit 9443a5b3 authored by Brickner_cp's avatar Brickner_cp

--no commit message

--no commit message
parent fb4532d0
...@@ -8,26 +8,11 @@ ...@@ -8,26 +8,11 @@
#include "PacketTotalStatistics.h" #include "PacketTotalStatistics.h"
#include "PcapDataLink.h" #include "PcapDataLink.h"
#include "PacketSendQueue.h" #include "PacketSendQueue.h"
#include "PacketCommunicatorMode.h"
#include "PacketCommunicatorReceiveResult.h"
namespace PcapDotNet { namespace Core namespace PcapDotNet { namespace Core
{ {
public enum class PacketCommunicatorReceiveResult : int
{
Ok, // if the packet has been read without problems
Timeout, // if the timeout set with Open() has elapsed.
Eof, // if EOF was reached reading from an offline capture
BreakLoop, //
None
};
public enum class PacketCommunicatorMode : int
{
Capture = 0x0, // Capture working mode.
Statistics = 0x1, // Statistical working mode.
KernelMonitor = 0x2, // Kernel monitoring mode.
KernelDump = 0x10 // Kernel dump working mode.
};
public ref class PacketCommunicator abstract : System::IDisposable public ref class PacketCommunicator abstract : System::IDisposable
{ {
public: public:
......
#pragma once
namespace PcapDotNet { namespace Core
{
public enum class PacketCommunicatorMode : int
{
Capture = 0x0, // Capture working mode.
Statistics = 0x1, // Statistical working mode.
KernelMonitor = 0x2, // Kernel monitoring mode.
KernelDump = 0x10 // Kernel dump working mode.
};
}}
\ No newline at end of file
#pragma once
namespace PcapDotNet { namespace Core
{
public enum class PacketCommunicatorReceiveResult : int
{
Ok, // if the packet has been read without problems
Timeout, // if the timeout set with Open() has elapsed.
Eof, // if EOF was reached reading from an offline capture
BreakLoop, //
None
};
}}
\ No newline at end of file
...@@ -290,6 +290,14 @@ ...@@ -290,6 +290,14 @@
RelativePath=".\PacketCommunicator.h" RelativePath=".\PacketCommunicator.h"
> >
</File> </File>
<File
RelativePath=".\PacketCommunicatorMode.h"
>
</File>
<File
RelativePath=".\PacketCommunicatorReceiveResult.h"
>
</File>
</Filter> </Filter>
<Filter <Filter
Name="Marshaling" Name="Marshaling"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment