Added Tuan's code into ospfsmod.c, included the file that he gave me