What does "knocking" mean?

Knocking: A beating; a rap; a series of raps. The . . . repeated knockings of the head upon the ground by the Chinese worshiper. H. Spencer.

Sources