Exemple #1
0
 public BpfHdr(Timeval32 Tstamp = default, uint Caplen = default, uint Datalen = default, ushort Hdrlen = default, array <byte> _ = default)
 {
     this.Tstamp  = Tstamp;
     this.Caplen  = Caplen;
     this.Datalen = Datalen;
     this.Hdrlen  = Hdrlen;
     this._       = _;
 }
 public IfData(byte Type = default, byte Addrlen = default, byte Hdrlen = default, array <byte> _ = default, uint Mtu = default, uint Metric = default, uint Baudrate = default, uint Ipackets = default, uint Ierrors = default, uint Opackets = default, uint Oerrors = default, uint Collisions = default, uint Ibytes = default, uint Obytes = default, uint Imcasts = default, uint Omcasts = default, uint Iqdrops = default, uint Noproto = default, Timeval32 Lastchange = default)
 {
     this.Type       = Type;
     this.Addrlen    = Addrlen;
     this.Hdrlen     = Hdrlen;
     this._          = _;
     this.Mtu        = Mtu;
     this.Metric     = Metric;
     this.Baudrate   = Baudrate;
     this.Ipackets   = Ipackets;
     this.Ierrors    = Ierrors;
     this.Opackets   = Opackets;
     this.Oerrors    = Oerrors;
     this.Collisions = Collisions;
     this.Ibytes     = Ibytes;
     this.Obytes     = Obytes;
     this.Imcasts    = Imcasts;
     this.Omcasts    = Omcasts;
     this.Iqdrops    = Iqdrops;
     this.Noproto    = Noproto;
     this.Lastchange = Lastchange;
 }
 public IfData(byte Type = default, byte Typelen = default, byte Physical = default, byte Addrlen = default, byte Hdrlen = default, byte Recvquota = default, byte Xmitquota = default, byte Unused1 = default, uint Mtu = default, uint Metric = default, uint Baudrate = default, uint Ipackets = default, uint Ierrors = default, uint Opackets = default, uint Oerrors = default, uint Collisions = default, uint Ibytes = default, uint Obytes = default, uint Imcasts = default, uint Omcasts = default, uint Iqdrops = default, uint Noproto = default, uint Recvtiming = default, uint Xmittiming = default, Timeval32 Lastchange = default, uint Unused2 = default, uint Hwassist = default, uint Reserved1 = default, uint Reserved2 = default)
 {
     this.Type       = Type;
     this.Typelen    = Typelen;
     this.Physical   = Physical;
     this.Addrlen    = Addrlen;
     this.Hdrlen     = Hdrlen;
     this.Recvquota  = Recvquota;
     this.Xmitquota  = Xmitquota;
     this.Unused1    = Unused1;
     this.Mtu        = Mtu;
     this.Metric     = Metric;
     this.Baudrate   = Baudrate;
     this.Ipackets   = Ipackets;
     this.Ierrors    = Ierrors;
     this.Opackets   = Opackets;
     this.Oerrors    = Oerrors;
     this.Collisions = Collisions;
     this.Ibytes     = Ibytes;
     this.Obytes     = Obytes;
     this.Imcasts    = Imcasts;
     this.Omcasts    = Omcasts;
     this.Iqdrops    = Iqdrops;
     this.Noproto    = Noproto;
     this.Recvtiming = Recvtiming;
     this.Xmittiming = Xmittiming;
     this.Lastchange = Lastchange;
     this.Unused2    = Unused2;
     this.Hwassist   = Hwassist;
     this.Reserved1  = Reserved1;
     this.Reserved2  = Reserved2;
 }