3" 82 mm solvent waste fittings, commonly called 3" soil pipe
Outside of the pipe and inside of the fitting should be around 82 mm.
Designed to be used with solvent cement for a watertight seal.
Available in many different styles of fittings, please see picture and selection list