Mutual masturbation. A common term among the gay community in Australia in the 60s and 70s.
There was no anal action, just a bit of plain sewing.