Exemplo n.º 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;
 }
Exemplo n.º 3
0
 /// <summary> Create a new IP packet.</summary>
 public IPv4Packet(int lLen, byte[] bytes, Timeval tv)
     : this(lLen, bytes)
 {
     this._timeval = tv;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 /// <summary> Create a new ARP packet.</summary>
 public ARPPacket(int lLen, byte[] bytes, Timeval tv)
     : base(lLen, bytes, tv)
 {
 }
Exemplo n.º 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;
 }