C# Class SharpPcap.Packets.PacketFactory

This factory constructs high-level packet objects from captured data streams.
显示文件 Open project: Zepheus/Fiesta_Utils

Public Methods

Method Description
dataToPacket ( int linkType, byte bytes ) : Packet

Convert captured packet data into an object.

dataToPacket ( int linkType, byte bytes, SharpPcap.Packets.Util.Timeval tv ) : Packet

Convert captured packet data into an object.

Method Details

dataToPacket() public static method

Convert captured packet data into an object.
public static dataToPacket ( int linkType, byte bytes ) : Packet
linkType int
bytes byte
return Packet

dataToPacket() public static method

Convert captured packet data into an object.
public static dataToPacket ( int linkType, byte bytes, SharpPcap.Packets.Util.Timeval tv ) : Packet
linkType int
bytes byte
tv SharpPcap.Packets.Util.Timeval
return Packet