updated net structs header

ip addresses are now stored as a struct in_addr in struct ip_hdr