Extrinsic and intrinsic boundary dislocations