mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 16:41:30 +00:00
11 lines
307 B
Go
11 lines
307 B
Go
package tuic
|
|
|
|
import M "github.com/sagernet/sing/common/metadata"
|
|
|
|
var addressSerializer = M.NewSerializer(
|
|
M.AddressFamilyByte(0x00, M.AddressFamilyFqdn),
|
|
M.AddressFamilyByte(0x01, M.AddressFamilyIPv4),
|
|
M.AddressFamilyByte(0x02, M.AddressFamilyIPv6),
|
|
M.AddressFamilyByte(0xff, M.AddressFamilyEmpty),
|
|
)
|