github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/common/protocol/payload.go (about) 1 package protocol 2 3 type TransferType byte 4 5 const ( 6 TransferTypeStream TransferType = 0 7 TransferTypePacket TransferType = 1 8 ) 9 10 type AddressType byte 11 12 const ( 13 AddressTypeIPv4 AddressType = 1 14 AddressTypeDomain AddressType = 2 15 AddressTypeIPv6 AddressType = 3 16 )