public static bool Match( [NotNull] this IPAddress thisAddr, uint otherAddr, uint mask ) {
if( thisAddr == null ) throw new ArgumentNullException( "thisAddr" );
uint thisAsUInt = thisAddr.AsUInt();
return ( thisAsUInt & mask ) == ( otherAddr & mask );
}