limit marriage to members of the opposite sex.

Technically that would be exogamy. The objects of endo- or exo- are relative to the group that the marrier is a member of.

Same species:endo::different sex:exo