sing/common/uot/uot.go
2022-04-11 12:46:23 +08:00

13 lines
302 B
Go

package uot
import (
M "github.com/sagernet/sing/common/metadata"
)
const UOTMagicAddress = "sp.udp-over-tcp.arpa"
var AddrParser = M.NewSerializer(
M.AddressFamilyByte(0x00, M.AddressFamilyIPv4),
M.AddressFamilyByte(0x01, M.AddressFamilyIPv6),
M.AddressFamilyByte(0x02, M.AddressFamilyFqdn),
)