public RawPacket(LinkLayers LinkLayerType, Timeval Timeval, byte[] Data) { this.LinkLayerType = LinkLayerType; this.Timeval = Timeval; this.Data = Data; }
/// <summary> Construct a new ethernet packet, including the capture time.</summary> public EthernetPacket(int byteOffsetToEthernetPayload, byte[] bytes, Timeval tv) : this(byteOffsetToEthernetPayload, bytes) { this._timeval = tv; }
/// <summary> Create a new IP packet.</summary> public IPv4Packet(int lLen, byte[] bytes, Timeval tv) : this(lLen, bytes) { this._timeval = tv; }
/// <summary> Construct a new ethernet packet, including the capture time.</summary> public EthernetPacket(int lLen, byte[] bytes, Timeval tv) : this(lLen, bytes) { this._timeval = tv; }
/// <summary> Create a new ARP packet.</summary> public ARPPacket(int lLen, byte[] bytes, Timeval tv) : base(lLen, bytes, tv) { }