I am trying to create a firewall, I have read that there are certain rules,first rule is About The inbound and outbound of the ICMP packet, can any one tell me actually how to check the inbound and outbound rule,how it works and implement the rule in firewall in c language.