Fixed writing over memory boundary
Initial ipv6 support: update gateway list, structs, routing header stub