Started adding changes to implement seperate structs for ipv4 and ipv6