/// <summary> /// Check if this prefix contains a packet. /// </summary> /// <param name="ip">The ip.</param> /// <returns>Whether contained.</returns> public Zen <bool> Match(Zen <Ip> ip) { var mask = 0xFFFFFFFF << (32 - this.Length); return((ip.GetValue() & mask) == (this.Address & mask)); }