TImport of Toshiaki Hatano (haeena)'s vxlan branch.