github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/proxy/socks/simplified/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.proxy.socks.simplified; 4 option csharp_namespace = "V2Ray.Core.Proxy.Socks.Simplified"; 5 option go_package = "github.com/v2fly/v2ray-core/v5/proxy/socks/simplified"; 6 option java_package = "com.v2ray.core.proxy.socks.simplified"; 7 option java_multiple_files = true; 8 9 import "common/protoext/extensions.proto"; 10 import "common/net/address.proto"; 11 import "common/net/packetaddr/config.proto"; 12 13 message ServerConfig{ 14 option (v2ray.core.common.protoext.message_opt).type = "inbound"; 15 option (v2ray.core.common.protoext.message_opt).short_name = "socks"; 16 17 v2ray.core.common.net.IPOrDomain address = 3; 18 bool udp_enabled = 4; 19 v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 7; 20 } 21 22 message ClientConfig { 23 option (v2ray.core.common.protoext.message_opt).type = "outbound"; 24 option (v2ray.core.common.protoext.message_opt).short_name = "socks"; 25 26 v2ray.core.common.net.IPOrDomain address = 1; 27 uint32 port = 2; 28 }