changes for ipv6

changes for ipv6
The sender should not need this field.  One `sender` should allow sending both IPv4 and IPv6 packets.