github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/transport/tuic/address.go (about) 1 package tuic 2 3 import M "github.com/sagernet/sing/common/metadata" 4 5 var addressSerializer = M.NewSerializer( 6 M.AddressFamilyByte(0x00, M.AddressFamilyFqdn), 7 M.AddressFamilyByte(0x01, M.AddressFamilyIPv4), 8 M.AddressFamilyByte(0x02, M.AddressFamilyIPv6), 9 M.AddressFamilyByte(0xff, M.AddressFamilyEmpty), 10 )