translate core and net in GetMask