Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
9443a5b3
Commit
9443a5b3
authored
Jul 04, 2009
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
fb4532d0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
17 deletions
+35
-17
PacketCommunicator.h
PcapDotNet/src/PcapDotNet.Core/PacketCommunicator.h
+2
-17
PacketCommunicatorMode.h
PcapDotNet/src/PcapDotNet.Core/PacketCommunicatorMode.h
+12
-0
PacketCommunicatorReceiveResult.h
...Net/src/PcapDotNet.Core/PacketCommunicatorReceiveResult.h
+13
-0
WinPCapDotNet.Core.vcproj
PcapDotNet/src/PcapDotNet.Core/WinPCapDotNet.Core.vcproj
+8
-0
No files found.
PcapDotNet/src/PcapDotNet.Core/PacketCommunicator.h
View file @
9443a5b3
...
@@ -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
:
...
...
PcapDotNet/src/PcapDotNet.Core/PacketCommunicatorMode.h
0 → 100644
View file @
9443a5b3
#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
PcapDotNet/src/PcapDotNet.Core/PacketCommunicatorReceiveResult.h
0 → 100644
View file @
9443a5b3
#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
PcapDotNet/src/PcapDotNet.Core/WinPCapDotNet.Core.vcproj
View file @
9443a5b3
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment