checks.
change function names and ip header print
Print an IP header.