private bool EqualPayload(IcmpAddressMaskRequestLayer other)
 {
     if (other != null)
     {
         return(this.AddressMask.Equals(other.AddressMask));
     }
     return(false);
 }
        public override ILayer ExtractLayer()
        {
            IcmpAddressMaskRequestLayer maskRequestLayer = new IcmpAddressMaskRequestLayer();

            maskRequestLayer.Checksum       = new ushort?(this.Checksum);
            maskRequestLayer.Identifier     = this.Identifier;
            maskRequestLayer.SequenceNumber = this.SequenceNumber;
            maskRequestLayer.AddressMask    = this.AddressMask;
            return((ILayer)maskRequestLayer);
        }
 /// <summary>
 /// True iff the address mask is equal to the other address mask.
 /// </summary>
 private bool EqualPayload(IcmpAddressMaskRequestLayer other)
 {
     return(other != null && AddressMask.Equals(other.AddressMask));
 }
 /// <summary>
 /// True iff the address mask is equal to the other address mask.
 /// </summary>
 private bool EqualPayload(IcmpAddressMaskRequestLayer other)
 {
     return other != null && AddressMask.Equals(other.AddressMask);
 }