github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/tun/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.app.tun; 4 option csharp_namespace = "V2Ray.Core.App.Tun"; 5 option go_package = "github.com/v2fly/v2ray-core/v5/app/tun"; 6 option java_package = "com.v2ray.core.app.tun"; 7 option java_multiple_files = true; 8 9 import "app/proxyman/config.proto"; 10 import "app/router/routercommon/common.proto"; 11 import "common/protoext/extensions.proto"; 12 import "common/net/packetaddr/config.proto"; 13 import "transport/internet/config.proto"; 14 15 message Config { 16 option (v2ray.core.common.protoext.message_opt).type = "service"; 17 option (v2ray.core.common.protoext.message_opt).short_name = "tun"; 18 19 string name = 1; 20 uint32 mtu = 2; 21 uint32 user_level = 3; 22 v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 4; 23 string tag = 5; 24 repeated v2ray.core.app.router.routercommon.CIDR ips = 6; 25 repeated v2ray.core.app.router.routercommon.CIDR routes = 7; 26 bool enable_promiscuous_mode = 8; 27 bool enable_spoofing = 9; 28 v2ray.core.transport.internet.SocketConfig socket_settings = 10; 29 v2ray.core.app.proxyman.SniffingConfig sniffing_settings = 11; 30 }