Infosys interview question

OSI model, Asked to write algorithm of a problem.