Add IPv6 support

Add IPv6 function used in ocam-openflow