Пример #1
0
 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;
 }
Пример #3
0
 /// <summary> Create a new IP packet.</summary>
 public IPv4Packet(int lLen, byte[] bytes, Timeval tv)
     : this(lLen, bytes)
 {
     this._timeval = tv;
 }
Пример #4
0
 /// <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;
 }
Пример #5
0
 /// <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;
 }
Пример #6
0
 /// <summary> Create a new ARP packet.</summary>
 public ARPPacket(int lLen, byte[] bytes, Timeval tv)
     : base(lLen, bytes, tv)
 {
 }
Пример #7
0
 /// <summary> Create a new ARP packet.</summary>
 public ARPPacket(int lLen, byte[] bytes, Timeval tv)
     : base(lLen, bytes, tv)
 {
 }
 /// <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;
 }