github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/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  )