github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/common/net/address.proto (about) 1 syntax = "proto3"; 2 3 package xray.common.net; 4 option csharp_namespace = "Xray.Common.Net"; 5 option go_package = "github.com/xtls/xray-core/common/net"; 6 option java_package = "com.xray.common.net"; 7 option java_multiple_files = true; 8 9 // Address of a network host. It may be either an IP address or a domain 10 // address. 11 message IPOrDomain { 12 oneof address { 13 // IP address. Must by either 4 or 16 bytes. 14 bytes ip = 1; 15 16 // Domain address. 17 string domain = 2; 18 } 19 }